rpms/planet/devel planet.spec,1.6,1.7

Richard Dawe (richdawe) fedora-extras-commits at redhat.com
Mon Dec 11 21:23:17 UTC 2006


Author: richdawe

Update of /cvs/extras/rpms/planet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13087

Modified Files:
	planet.spec 
Log Message:
2.0-3: BuildRequires: python-devel; include dist tag in release.


Index: planet.spec
===================================================================
RCS file: /cvs/extras/rpms/planet/devel/planet.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- planet.spec	10 Dec 2006 13:09:36 -0000	1.6
+++ planet.spec	11 Dec 2006 21:22:47 -0000	1.7
@@ -2,7 +2,7 @@
 
 Name: planet
 Version: 2.0
-Release: 2
+Release: 3%{?dist}
 Summary: Flexible RDF/RSS/Atom feed aggregator
 
 Group: Applications/Internet
@@ -13,6 +13,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch: noarch
+BuildRequires: python-devel
 
 
 %description
@@ -34,12 +35,12 @@
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+%{__python} setup.py build
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 # Remove .py from install scripts, e.g. planet.py -> planet.
 REGEXP='s:%{_bindir}/\(.*\).py:%{_bindir}/\1:'
@@ -67,6 +68,10 @@
 
 
 %changelog
+* Mon Dec 11 2006 Richard Dawe <rich at phekda.gotadsl.co.uk> - 2.0-3
+- Bugfix: "BuildRequires: python-devel" is needed for python 2.5 update.
+- Include dist tag in release.
+
 * Sat Dec 09 2006 Richard Dawe <rich at phekda.gotadsl.co.uk> - 2.0-2
 - Bugfix: Don't include python version in %%exclude in specfile.
 - Bump version for python 2.5 update.




More information about the fedora-extras-commits mailing list