Remove the python2 package
This commit is contained in:
parent
4822e5ae25
commit
3be6fd4e69
@ -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 <dshea@redhat.com> - 2.1.1-7
|
||||
- Remove the python2 package
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user