diff --git a/.gitignore b/.gitignore index c61dcd2..c25fa68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /grabserial-1.8.1.tar.gz /v1.9.3.tar.gz +/v1.9.9.tar.gz diff --git a/python-grabserial.spec b/python-grabserial.spec index 03634ab..565e6e3 100644 --- a/python-grabserial.spec +++ b/python-grabserial.spec @@ -1,8 +1,8 @@ %global realname grabserial Name: python-grabserial -Version: 1.9.3 -Release: 8%{?dist} +Version: 1.9.9 +Release: 1%{?dist} Summary: Reads a serial port and writes data to standard output License: GPLv2 @@ -10,8 +10,8 @@ URL: http://elinux.org/Grabserial Source0: https://github.com/tbird20d/grabserial/archive/v%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-setuptools -BuildRequires: python2-devel +BuildRequires: python3-setuptools +BuildRequires: python3-devel %global _description\ Grabserial reads a serial port and writes the data to standard output.The main\ @@ -20,29 +20,33 @@ a target board running Linux, and save the messages on a host machine. %description %_description -%package -n python2-grabserial +%package -n python3-grabserial Summary: %summary -Requires: python2-pyserial -%{?python_provide:%python_provide python2-grabserial} +Requires: python3-pyserial +%{?python_provide:%python_provide python3-grabserial} -%description -n python2-grabserial %_description +%description -n python3-grabserial %_description %prep %setup -qn %{realname}-%{version} %build -%{__python2} setup.py build +%{__python3} setup.py build %install -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} -%files -n python2-grabserial -%doc README +%files -n python3-grabserial +%doc README.md %license LICENSE %{_bindir}/grabserial -%{python2_sitelib}/*.egg-info +%{python3_sitelib}/*.egg-info %changelog +* Fri Sep 06 2019 Sinny Kumari - 1.9.9-1 +- rhbz#1738113: Build python3-grabserial and drop python2-grabserial sub-package +- Update to upstream version v1.9.9 + * Fri Jul 26 2019 Fedora Release Engineering - 1.9.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index e109169..d08dc6b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v1.9.3.tar.gz) = df2c31e9565b4ed04039eee1e6cf3718c4ddca6de03a0a6535ab788d77ce5b2bafa46c5dea7cf8044fd7693b7e1ffb0e41a79a491a0eeff4b4ff38acb1c93390 +SHA512 (v1.9.9.tar.gz) = a4684e12854aa5260d5febace7958f8f431f2edf88be0ec5192f67541e143de93810c9f5a575a9ae47b6724d656898649dab5b9bb631a1ba0d0508c5295c7f44