3107147
%global srcname pid
3107147
3107147
Name:           python-%{srcname}
1062f84
Version:        2.1.1
0541ed1
Release:        9%{?dist}
3107147
Summary:        PID file management library
3107147
3107147
License:        ASL 2.0
3107147
URL:            https://pypi.python.org/pypi/%{srcname}
3107147
Source0:        https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
3107147
3107147
BuildArch:      noarch
3107147
3107147
%description
3107147
pid provides a PidFile class that manages PID files. PidFile features:
3107147
  - stale detection
3107147
  - locking using fcntl
3107147
  - chmod (default is 0o644)
3107147
  - chown
3107147
  - custom exceptions
3107147
3107147
PidFile can also be used as a context manager or a decorator.
3107147
3107147
%package -n python3-%{srcname}
3107147
Summary:        PID file management library
0eab078
0eab078
BuildRequires:  python3-devel
0eab078
BuildRequires:  python3-setuptools
0eab078
BuildRequires:  python3-nose
0eab078
3107147
%{?python_provide:%python_provide python3-%{srcname}}
3107147
3107147
%description -n python3-%{srcname}
3107147
pid provides a PidFile class that manages PID files. PidFile features:
3107147
  - stale detection
3107147
  - locking using fcntl
3107147
  - chmod (default is 0o644)
3107147
  - chown
3107147
  - custom exceptions
3107147
3107147
PidFile can also be used as a context manager or a decorator.
3107147
3107147
%prep
3107147
%autosetup -n %{srcname}-%{version}
3107147
rm -rf *.egg-info
3107147
3107147
%build
3107147
%py3_build
3107147
3107147
%install
3107147
%py3_install
3107147
3107147
%check
3107147
%{__python3} setup.py test
3107147
3107147
%files -n python3-%{srcname}
3107147
%license LICENSE
3107147
%doc AUTHORS CHANGELOG README.rst
3107147
%{python3_sitelib}/pid
3107147
%{python3_sitelib}/pid-*.egg-info
3107147
3107147
%changelog
0541ed1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-9
0541ed1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0541ed1
3a8684f
* Fri Jun 15 2018 Miro HronĨok <mhroncok@redhat.com> - 2.1.1-8
3a8684f
- Rebuilt for Python 3.7
3a8684f
3be6fd4
* Thu Mar 22 2018 David Shea <dshea@redhat.com> - 2.1.1-7
3be6fd4
- Remove the python2 package
3be6fd4
4822e5a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-6
4822e5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4822e5a
5931527
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.1.1-5
5931527
- Update Python 2 dependency declarations to new packaging standards
5931527
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
5931527
fc9939c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
fc9939c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fc9939c
13adda6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
13adda6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
13adda6
9348288
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 2.1.1-2
9348288
- Rebuild for Python 3.6
9348288
1062f84
* Tue Nov 29 2016 David Shea <dshea@redhat.com> - 2.1.1-1
1062f84
- Update to 2.1.1, which adds an optional allow_samepid parameter
1062f84
ddd7942
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-5
ddd7942
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ddd7942
af7914c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
af7914c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
af7914c
Robert Kuska 5803453
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 2.0.1-3
Robert Kuska 5803453
- Rebuilt for Python3.5 rebuild
Robert Kuska 5803453
3107147
* Wed Aug 05 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-2
3107147
- Update to modern python packaging guidelines
3107147
3107147
* Tue Aug  4 2015 David Shea <dshea@redhat.com> - 2.0.1-1
3107147
- Initial package