|
|
5fb322f |
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
5754a77 |
|
|
|
5754a77 |
Name: python-daemon
|
|
|
5fe46e8 |
Version: 1.6
|
|
Thomas Spura |
29997eb |
Release: 7%{?dist}
|
|
|
5754a77 |
Summary: Library to implement a well-behaved Unix daemon process
|
|
|
5754a77 |
|
|
|
5754a77 |
Group: Development/Languages
|
|
|
5754a77 |
License: Python
|
|
|
5754a77 |
URL: http://pypi.python.org/pypi/python-daemon/
|
|
|
5754a77 |
Source0: http://pypi.python.org/packages/source/p/python-daemon/%{name}-%{version}.tar.gz
|
|
|
5754a77 |
|
|
|
5754a77 |
BuildArch: noarch
|
|
|
5754a77 |
BuildRequires: python-devel, python-setuptools
|
|
Thomas Spura |
29997eb |
BuildRequires: python-nose
|
|
|
5fe46e8 |
BuildRequires: python-lockfile python-minimock
|
|
|
eccd1b7 |
Requires: python-lockfile
|
|
|
5754a77 |
|
|
|
5754a77 |
%description
|
|
|
5754a77 |
This library implements the well-behaved daemon specification of PEP 3143,
|
|
|
5754a77 |
"Standard daemon process library".
|
|
|
5754a77 |
|
|
|
5754a77 |
%prep
|
|
|
5754a77 |
%setup -q
|
|
|
5754a77 |
|
|
|
626942a |
sed -i -e '/^#!\//, 1d' daemon/version/version_info.py
|
|
|
5754a77 |
|
|
|
5754a77 |
|
|
|
5754a77 |
%build
|
|
|
5754a77 |
%{__python} setup.py build
|
|
|
5754a77 |
|
|
|
5754a77 |
|
|
|
5754a77 |
%install
|
|
|
5fb322f |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
5fb322f |
rm -fr %{buildroot}%{python_sitelib}/tests
|
|
|
5754a77 |
|
|
|
5754a77 |
|
|
|
5fb322f |
# Test suite requires minimock and lockfile
|
|
Thomas Spura |
29997eb |
%check
|
|
Thomas Spura |
29997eb |
PYTHONPATH=$(pwd) nosetests
|
|
|
5754a77 |
|
|
|
5754a77 |
%files
|
|
|
c617291 |
%doc LICENSE.PSF-2
|
|
|
5fb322f |
%{python_sitelib}/daemon/
|
|
|
5fb322f |
%{python_sitelib}/python_daemon-%{version}-py%{pyver}.egg-info/
|
|
|
5754a77 |
|
|
|
5754a77 |
%changelog
|
|
Thomas Spura |
29997eb |
* Mon Aug 4 2014 Thomas Spura <tomspur@fedoraproject.org> - 1.6-7
|
|
Thomas Spura |
29997eb |
- enable tests again as lockfile was fixed
|
|
Thomas Spura |
29997eb |
|
|
|
ad801a7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
|
|
|
ad801a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ad801a7 |
|
|
|
fd7b347 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
|
|
|
fd7b347 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fd7b347 |
|
|
|
ab18b5c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
ab18b5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ab18b5c |
|
|
|
f4a5fa5 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
f4a5fa5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f4a5fa5 |
|
|
|
eb98d2a |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
eb98d2a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
eb98d2a |
|
|
|
5fe46e8 |
* Thu Jul 14 2011 Kushal Das <kushal@fedoraproject.org> - 1.6-1
|
|
|
5fe46e8 |
- New release of source
|
|
|
5fe46e8 |
|
|
|
6673058 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
|
|
|
6673058 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6673058 |
|
|
|
a1ea778 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.2-2
|
|
|
a1ea778 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
a1ea778 |
|
|
|
e44690d |
* Wed Dec 23 2009 Thomas Spura <tomspur@fedoraproject.org> - 1.5.2-1
|
|
|
a66175e |
- add missing BR: python-nose
|
|
|
eccd1b7 |
- also add lockfile as R (bug #513546)
|
|
|
e44690d |
- update to 1.5.2
|
|
|
e44690d |
|
|
|
626942a |
* Wed Dec 23 2009 Thomas Spura <tomspur@fedoraproject.org> - 1.5.1-2
|
|
|
626942a |
- add missing BR: minimock and lockfile -> testsuite works again
|
|
|
626942a |
- remove patch, use sed instead
|
|
|
626942a |
|
|
|
5fb322f |
* Wed Oct 07 2009 Luke Macken <lmacken@redhat.com> - 1.5.1-1
|
|
|
5fb322f |
- Update to 1.5.1
|
|
|
5fb322f |
- Remove conflicting files (#512760)
|
|
|
5fb322f |
|
|
|
3918057 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2
|
|
|
3918057 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3918057 |
|
|
|
5754a77 |
* Wed Jun 24 2009 Kushal Das <kushal@fedoraproject.org> 1.4.6-1
|
|
|
5754a77 |
- Initial release
|
|
|
5754a77 |
|