SPECS: telepathy-butterfly.spec - package *.egg-info - use %py_pos...

megabajt megabajt at pld-linux.org
Tue Jun 12 21:25:03 CEST 2007


Author: megabajt                     Date: Tue Jun 12 19:25:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package *.egg-info
- use %py_postclean macro

---- Files affected:
SPECS:
   telepathy-butterfly.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/telepathy-butterfly.spec
diff -u SPECS/telepathy-butterfly.spec:1.3 SPECS/telepathy-butterfly.spec:1.4
--- SPECS/telepathy-butterfly.spec:1.3	Sat May 26 19:18:07 2007
+++ SPECS/telepathy-butterfly.spec	Tue Jun 12 21:24:58 2007
@@ -9,8 +9,9 @@
 Source0:	http://telepathy.freedesktop.org/releases/telepathy-butterfly/%{name}-%{version}.tar.gz
 # Source0-md5:	1f7cdbbdd45a85695931839b33bd6863
 URL:		http://telepathy.freedesktop.org/wiki/
-BuildRequires:	python
+BuildRequires:	python >= 1:2.5
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 Requires:	python-pymsn
 Requires:	python-telepathy
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,7 +35,7 @@
         --root=$RPM_BUILD_ROOT \
         --optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py | xargs rm -f
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,6 +48,7 @@
 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.butterfly.service
 %dir %{py_sitescriptdir}/TelepathyButterfly
 %{py_sitescriptdir}/TelepathyButterfly/*.py[co]
+%{py_sitescriptdir}/telepathy_butterfly-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +56,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/06/12 19:24:58  megabajt
+- package *.egg-info
+- use %py_postclean macro
+
 Revision 1.3  2007/05/26 17:18:07  qboosh
 - updated to python-telepathy package name
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/telepathy-butterfly.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list