[packages/fedmsg] %py_postclean

glen glen at pld-linux.org
Sun Nov 23 02:14:25 CET 2014


commit d5a325060a5184befb0a4819ad812302d324a5db
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 23 03:14:20 2014 +0200

    %py_postclean

 fedmsg.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 1b41cc2..9777bdc 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -16,6 +16,7 @@ URL:		http://github.com/ralphbean/fedmsg
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 %if %{with tests}
 BuildRequires:	python-mock
 BuildRequires:	python-nose
@@ -166,6 +167,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/fedmsg/tests
 
+%py_postclean
+
 install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d},%{_sysconfdir}/fedmsg.d,%{systemdtmpfilesdir},%{systemdunitdir},/var/{run,log}/fedmsg}
 cp -p fedmsg.d/*.py $RPM_BUILD_ROOT%{_sysconfdir}/fedmsg.d
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fedmsg.git/commitdiff/d5a325060a5184befb0a4819ad812302d324a5db



More information about the pld-cvs-commit mailing list