From 4d0ffca79950e1be8fdfe2eeaab1b4a9141f7143 Mon Sep 17 00:00:00 2001 From: tomspur Date: Dec 28 2009 17:51:22 +0000 Subject: - Add missing BR: python-nose, minimock, lockfile (for testsuite) - also add lockfile as R (bug #513546) - update to 1.5.2 --- diff --git a/python-daemon.spec b/python-daemon.spec index ed9880f..5684b4c 100644 --- a/python-daemon.spec +++ b/python-daemon.spec @@ -1,19 +1,20 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-daemon -Version: 1.4.6 -Release: 2%{?dist} +Version: 1.5.2 +Release: 1%{?dist} Summary: Library to implement a well-behaved Unix daemon process Group: Development/Languages License: Python URL: http://pypi.python.org/pypi/python-daemon/ Source0: http://pypi.python.org/packages/source/p/python-daemon/%{name}-%{version}.tar.gz -Patch0: version_info_fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel, python-setuptools +BuildRequires: python-nose python-lockfile python-minimock +Requires: python-lockfile %description This library implements the well-behaved daemon specification of PEP 3143, @@ -22,8 +23,7 @@ This library implements the well-behaved daemon specification of PEP 3143, %prep %setup -q -%patch0 -p1 - +sed -i -e '/^#!\//, 1d' daemon/version/version_info.py %build @@ -34,17 +34,27 @@ This library implements the well-behaved daemon specification of PEP 3143, rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + +%check +PYTHONPATH=$(pwd) nosetests + + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc TODO LICENSE.PSF-2 +%doc LICENSE.PSF-2 %{python_sitelib}/* %changelog +* Mon Dec 28 2009 Thomas Spura - 1.5.2-1 +- Add missing BR: python-nose, minimock, lockfile (for testsuite) +- also add lockfile as R (bug #513546) +- update to 1.5.2 + * Sun Jul 26 2009 Fedora Release Engineering - 1.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 01aa081..2b4533f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f3a81fd573d3770f616515f39058e31f python-daemon-1.4.6.tar.gz +3c876e2bef46171d4cccf4f74823a638 python-daemon-1.5.2.tar.gz