]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- php-pear: remove tests already in %pear_package_install
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Nov 2010 15:03:54 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.593

rpm.macros

index 7b20b830a5960ea5bf62fc0a3dfa26a639684de6..a9f3817cd6100ea672293402e8faca14ac07ce2b 100644 (file)
@@ -1466,10 +1466,13 @@ cat %{-z:$_N/}.install.log | %__pear_install_log \
 %{!?_noautoprov:%global _noautoprov %{nil}}%{expand:%%global _noautoprov %{_noautoprov} 'pear(tests/.*)'} \
 %{nil}
 
-# Copies exctracted PEAR package structure and PEAR registry to buildroot.
+# Copies extracted PEAR package structure and PEAR registry to buildroot.
 # Author: Elan Ruusamäe <glen@pld-linux.org>
 %pear_package_install() \
 cp -a ./%{php_pear_dir}/{.registry,*} $RPM_BUILD_ROOT%{php_pear_dir} \
+# tests should not be packaged \
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests \
+# cleanup backups \
 find $RPM_BUILD_ROOT%{php_pear_dir} '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v \
 # help the developer out a little: \
 if [ -f _noautoreq ]; then \
This page took 0.043403 seconds and 4 git commands to generate.