diff --git python-grabserial/python-grabserial.spec python-grabserial/python-grabserial.spec.tmp index b7bb7ebd51..56e9124818 100644 --- python-grabserial/python-grabserial.spec +++ python-grabserial/python-grabserial.spec.tmp @@ -2,7 +2,7 @@ Name: python-grabserial Version: 1.9.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Reads a serial port and writes data to standard output License: GPLv2 @@ -12,13 +12,21 @@ Source0: https://github.com/tbird20d/grabserial/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: python-setuptools BuildRequires: python2-devel -Requires: pyserial -%description -Grabserial reads a serial port and writes the data to standard output.The main -purpose of this tool is to collect messages written to the serial console from +%global _description\ +Grabserial reads a serial port and writes the data to standard output.The main\ +purpose of this tool is to collect messages written to the serial console from\ a target board running Linux, and save the messages on a host machine. +%description %_description + +%package -n python2-grabserial +Summary: %summary +Requires: pyserial +%{?python_provide:%python_provide python2-grabserial} + +%description -n python2-grabserial %_description + %prep %setup -qn %{realname}-%{version} @@ -28,13 +36,17 @@ a target board running Linux, and save the messages on a host machine. %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-grabserial %doc README %license LICENSE %{_bindir}/grabserial %{python2_sitelib}/*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.9.3-3 +- Python 2 binary package renamed to python2-grabserial + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild