rpms/planet/EL-5 planet.spec,1.5,1.6

Richard Dawe (richdawe) fedora-extras-commits at redhat.com
Fri Jul 6 08:23:37 UTC 2007


Author: richdawe

Update of /cvs/extras/rpms/planet/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5803

Modified Files:
	planet.spec 
Log Message:
Sync EL-5 spec with F-7 spec


Index: planet.spec
===================================================================
RCS file: /cvs/extras/rpms/planet/EL-5/planet.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- planet.spec	14 Sep 2006 21:35:58 -0000	1.5
+++ planet.spec	6 Jul 2007 08:22:52 -0000	1.6
@@ -2,7 +2,7 @@
 
 Name: planet
 Version: 2.0
-Release: 1
+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:'
@@ -62,11 +63,19 @@
 %{python_sitelib}/planet/*.py*
 %dir %{python_sitelib}/planet/compat_logging
 %{python_sitelib}/planet/compat_logging/*.py*
-%exclude /usr/lib/python2.4/site-packages/planet/tests
-%exclude /usr/lib/python2.4/site-packages/planet/tests/*
+%exclude %{python_sitelib}/planet/tests
+%exclude %{python_sitelib}/planet/tests/*
 
 
 %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.
+
 * Thu Sep 14 2006 Richard Dawe <rich at phekda.gotadsl.co.uk> - 2.0-1
 - Update to official 2.0 release.
 - Include PKG-INFO in the documentation.




More information about the fedora-extras-commits mailing list