rpms/tre/devel tre.spec,1.7,1.8

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Tue Jan 1 22:01:11 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/tre/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16217

Modified Files:
	tre.spec 
Log Message:
- fix build in rawhide (include python egg-info file)



Index: tre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tre/devel/tre.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- tre.spec	8 Nov 2007 17:16:28 -0000	1.7
+++ tre.spec	1 Jan 2008 22:00:21 -0000	1.8
@@ -1,8 +1,9 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name: tre
 Version: 0.7.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source0: http://laurikari.net/tre/%{name}-%{version}.tar.bz2
@@ -102,6 +103,9 @@
 
 %files -n python-%{name}
 %{python_sitearch}/tre.so
+%if 0%{?fedora} >= 9
+%{python_sitelib}/*.egg-info
+%endif
 
 %files -n agrep
 %defattr(644,root,root,755)
@@ -109,6 +113,9 @@
 %{_mandir}/man1/agrep.1*
 
 %changelog
+* Tue Jan 01 2008 Dominik Mierzejewski <rpm at greysector.net> 0.7.5-4
+- fix build in rawhide (include python egg-info file)
+
 * Wed Oct 31 2007 Dominik Mierzejewski <rpm at greysector.net> 0.7.5-3
 - include python bindings (bug #355241)
 - fix chicken-and-egg problem when building python bindings




More information about the fedora-extras-commits mailing list