rpms/python-daemon/F-12 python-daemon.spec,1.2,1.3 sources,1.2,1.3

tomspur tomspur at fedoraproject.org
Mon Dec 28 17:51:22 UTC 2009


Author: tomspur

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

Modified Files:
	python-daemon.spec sources 
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-12/python-daemon.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- python-daemon.spec	26 Jul 2009 20:16:56 -0000	1.2
+++ python-daemon.spec	28 Dec 2009 17:51:21 -0000	1.3
@@ -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
 %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
+* Mon Dec 28 2009 Thomas Spura <tomspur at fedoraproject.org> - 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 <rel-eng at lists.fedoraproject.org> - 1.4.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-daemon/F-12/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	29 Jun 2009 05:36:49 -0000	1.2
+++ sources	28 Dec 2009 17:51:22 -0000	1.3
@@ -1 +1 @@
-f3a81fd573d3770f616515f39058e31f  python-daemon-1.4.6.tar.gz
+3c876e2bef46171d4cccf4f74823a638  python-daemon-1.5.2.tar.gz




More information about the fedora-extras-commits mailing list