[svn] r9782 - in /trunk/rpms/python-dulwich: ./ python-dulwich.spec

Steve Huff shuff at vecna.org
Thu Mar 24 21:52:20 CET 2011


Author: shuff
Date: Thu Mar 24 20:52:19 2011
New Revision: 9782

URL: http://svn.rpmforge.net/viewvc/rpmforge?rev=9782&view=rev
Log:
sitearch, not sitelib :( also added conditional BuildConflicts for pyrex/Pyrex

Modified:
    trunk/rpms/python-dulwich/   (props changed)
    trunk/rpms/python-dulwich/python-dulwich.spec

Propchange: trunk/rpms/python-dulwich/
------------------------------------------------------------------------------
    bzr:see-revprops = 9782

Modified: trunk/rpms/python-dulwich/python-dulwich.spec
URL: http://svn.rpmforge.net/viewvc/rpmforge/trunk/rpms/python-dulwich/python-dulwich.spec?rev=9782&r1=9781&r2=9782&view=diff
==============================================================================
--- trunk/rpms/python-dulwich/python-dulwich.spec (original)
+++ trunk/rpms/python-dulwich/python-dulwich.spec Thu Mar 24 20:52:19 2011
@@ -7,8 +7,12 @@
 
 %define real_name dulwich
 
+%{?el3:%define _conflict_pyrex 1}
+%{?el4:%define _conflict_pyrex 1}
+%{?el5:%define _conflict_pyrex 1}
+
 Name: python-dulwich
-Version: 0.6.2
+Version: 0.7.0
 Release: 1%{?dist}
 Summary: Pure-Python implementation of Git file formats and protocols
 
@@ -23,8 +27,9 @@
 
 BuildRequires: python-setuptools 
 
-# pyrex causes a build failure
-BuildConflicts: pyrex
+# pyrex sometimes causes a build failure
+%{?_conflict_pyrex:BuildConflicts: pyrex}
+%{?_conflict_pyrex:BuildConflicts: Pyrex}
 
 Provides: dulwich = %{version}-%{release}
 
@@ -55,8 +60,14 @@
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING HACKING NEWS README docs/*
 %{_bindir}/*
-%{python_sitelib}/*
+%{python_sitearch}/*
 
 %changelog
+* Thu Mar 24 2011 Steve Huff <shuff at vecna.org> - 0.7.0-1
+- D'oh, sitearch, not sitelib :(
+
+* Mon Jan 24 2011 Steve Huff <shuff at vecna.org> - 
+- Update to version 0.7.0.
+
 * Tue Nov 30 2010 Steve Huff <shuff at vecna.org> - 0.6.2-1
 - Initial package.




More information about the commits mailing list