[packages/php/migrate] common do not pull php(common)

glen glen at pld-linux.org
Sat Oct 26 16:50:55 CEST 2013


commit f11491b35b72a5f5f35943e052b971078a00df0e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Oct 26 17:50:33 2013 +0300

    common do not pull php(common)

 php.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/php.spec b/php.spec
index 4d78140..d571f67 100644
--- a/php.spec
+++ b/php.spec
@@ -125,7 +125,9 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 # define subpackages
 %define	package(n:l:) \
 %%package %{!?-n:%1}%{?-n:-n %{-n*}} %{-l:-l %{-l*}} \
+%if %(echo "%{1}" | grep -qE 'common'; echo $?) \
 Requires: %{!?-n:php(%1)}%{?-n:%(echo %{-n*} | sed -e 's,%{php_suffix}$,,')} \
+%endif \
 \
 %{nil}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list