[packages/php-phpqrcode] install only merged version

glen glen at pld-linux.org
Sat Mar 29 12:26:44 CET 2014


commit b8a2f4ae6b89dfb3ba332f40b6a3154a3f654795
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 29 13:26:24 2014 +0200

    install only merged version

 php-phpqrcode.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php-phpqrcode.spec b/php-phpqrcode.spec
index 5bc765e..a1159ed 100644
--- a/php-phpqrcode.spec
+++ b/php-phpqrcode.spec
@@ -49,7 +49,9 @@ mv index.php examples
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir},%{_cachedir}}
-cp -a *.php bindings $RPM_BUILD_ROOT%{_appdir}
+# NOTE:
+# phpqrcode.php is merged version of qr*.php files, see tools/merge.php
+cp -a phpqrcode.php bindings $RPM_BUILD_ROOT%{_appdir}
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpqrcode.git/commitdiff/b8a2f4ae6b89dfb3ba332f40b6a3154a3f654795



More information about the pld-cvs-commit mailing list