rpms/python-zc-lockfile/devel python-zc-lockfile.spec,1.1,1.2

Robin 'cheese' Lee cheeselee at fedoraproject.org
Wed Jun 16 18:28:14 UTC 2010


Author: cheeselee

Update of /cvs/pkgs/rpms/python-zc-lockfile/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv902

Modified Files:
	python-zc-lockfile.spec 
Log Message:
* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1.0.0-3
- Don't own %{python_sitelib}/zc/, which is provided by python-zope-filesystem
- Add python-zope-filesystem as requirement
- Include more documents



Index: python-zc-lockfile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-zc-lockfile/devel/python-zc-lockfile.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-zc-lockfile.spec	9 Aug 2009 05:28:16 -0000	1.1
+++ python-zc-lockfile.spec	16 Jun 2010 18:28:14 -0000	1.2
@@ -1,8 +1,10 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name:           python-zc-lockfile
 Version:        1.0.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Basic Inter-Process Locks
 Group:          Development/Languages
 License:        ZPLv2.1
@@ -14,6 +16,7 @@ BuildArch:      noarch
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-zope-testing
+Requires:       python-zope-filesystem
 
 
 %description
@@ -37,6 +40,7 @@ database files. The database files and l
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{python_sitelib}/zc/lockfile/*.txt
 
 
 %check
@@ -49,11 +53,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt
-%{python_sitelib}/*
+%doc src/zc/lockfile/*.txt
+%{python_sitelib}/zc.lockfile-*.egg-info
+%{python_sitelib}/zc.lockfile-*-nspkg.pth
+%{python_sitelib}/zc/lockfile/
 
 
 %changelog
+* Thu Jun 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1.0.0-3
+- Don't own %{python_sitelib}/zc/, which is provided by python-zope-filesystem
+- Add python-zope-filesystem as requirement
+- Include more documents
+
 * Sun Jul 5 2009 Conrad Meyer <konrad at tylerc.org> - 1.0.0-2
 - Add missing BR on python-setuptools.
 - Enable testing stuff as python-zope-testing is in devel.



More information about the scm-commits mailing list