From 3be6fd4e69241959dae9c0347e17c8e943f8f2b5 Mon Sep 17 00:00:00 2001 From: David Shea Date: Thu, 22 Mar 2018 13:11:51 -0400 Subject: [PATCH] Remove the python2 package --- python-pid.spec | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/python-pid.spec b/python-pid.spec index 7158752..2680f9d 100644 --- a/python-pid.spec +++ b/python-pid.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 2.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: PID file management library License: ASL 2.0 @@ -21,25 +21,6 @@ pid provides a PidFile class that manages PID files. PidFile features: PidFile can also be used as a context manager or a decorator. -%package -n python2-%{srcname} -Summary: PID file management library - -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose - -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -pid provides a PidFile class that manages PID files. PidFile features: - - stale detection - - locking using fcntl - - chmod (default is 0o644) - - chown - - custom exceptions - -PidFile can also be used as a context manager or a decorator. - %package -n python3-%{srcname} Summary: PID file management library @@ -64,23 +45,14 @@ PidFile can also be used as a context manager or a decorator. rm -rf *.egg-info %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{srcname} -%license LICENSE -%doc AUTHORS CHANGELOG README.rst -%{python2_sitelib}/pid -%{python2_sitelib}/pid-*.egg-info - %files -n python3-%{srcname} %license LICENSE %doc AUTHORS CHANGELOG README.rst @@ -88,6 +60,9 @@ rm -rf *.egg-info %{python3_sitelib}/pid-*.egg-info %changelog +* Thu Mar 22 2018 David Shea - 2.1.1-7 +- Remove the python2 package + * Fri Feb 09 2018 Fedora Release Engineering - 2.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild