rpms/python-daemon/F-11 python-daemon.spec, 1.1, 1.2 sources, 1.2, 1.3 version_info_fix.patch, 1.1, NONE

tomspur tomspur at fedoraproject.org
Mon Dec 28 18:10:05 UTC 2009


Author: tomspur

Update of /cvs/pkgs/rpms/python-daemon/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20561

Modified Files:
	python-daemon.spec sources 
Removed Files:
	version_info_fix.patch 
Log Message:
- Add missing BR: python-nose, minimock, lockfile (for testsuite)
- also add lockfile as R (bug #513546)
- update to 1.5.2



Index: python-daemon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-daemon/F-11/python-daemon.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-daemon.spec	29 Jun 2009 05:55:31 -0000	1.1
+++ python-daemon.spec	28 Dec 2009 18:10:05 -0000	1.2
@@ -1,7 +1,7 @@
-%{!?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
+Version:        1.5.2
 Release:        1%{?dist}
 Summary:        Library to implement a well-behaved Unix daemon process
 
@@ -9,11 +9,12 @@ 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
 %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
 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
+* Wed Dec 23 2009 Thomas Spura <tomspur at fedoraproject.org> - 1.5.2-1
+- add missing BR: python-nose, minimock and lockfile
+- also add lockfile as R (bug #513546)
+- update to 1.5.2
+
 * Wed Jun 24 2009 Kushal Das <kushal at fedoraproject.org> 1.4.6-1
 - Initial release
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-daemon/F-11/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	29 Jun 2009 05:55:31 -0000	1.2
+++ sources	28 Dec 2009 18:10:05 -0000	1.3
@@ -1 +1 @@
-f3a81fd573d3770f616515f39058e31f  python-daemon-1.4.6.tar.gz
+3c876e2bef46171d4cccf4f74823a638  python-daemon-1.5.2.tar.gz


--- version_info_fix.patch DELETED ---




More information about the fedora-extras-commits mailing list