rpms/python-BeautifulSoup/devel python-BeautifulSoup.spec,1.2,1.3

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Tue Feb 5 18:45:30 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/python-BeautifulSoup/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26658

Modified Files:
	python-BeautifulSoup.spec 
Log Message:
- Handle egg info




Index: python-BeautifulSoup.spec
===================================================================
RCS file: /cvs/extras/rpms/python-BeautifulSoup/devel/python-BeautifulSoup.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-BeautifulSoup.spec	5 Feb 2008 18:30:57 -0000	1.2
+++ python-BeautifulSoup.spec	5 Feb 2008 18:44:54 -0000	1.3
@@ -1,4 +1,5 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
 
 %define oname   BeautifulSoup
 
@@ -64,11 +65,15 @@
 %doc COPYING
 %{python_sitelib}/%{oname}.py*
 %exclude %{python_sitelib}/%{oname}Tests.py*
+%if 0%{?fedora} >= 9
+%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
+%endif
 
 %changelog
 * Tue Feb  5 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.5-1
 - Update to 3.0.5
 - Minor tweaks to spec file
+- Handle egg info
 
 * Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 3.0.4-1
 - Update to 3.0.4




More information about the fedora-extras-commits mailing list