]> git.pld-linux.org Git - packages/php.git/commitdiff
common do not pull php(common) migrate
authorElan Ruusamäe <glen@delfi.ee>
Sat, 26 Oct 2013 14:50:33 +0000 (17:50 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 26 Oct 2013 14:50:33 +0000 (17:50 +0300)
php.spec

index 4d781406bfe724ed44a2243d31e3f5ba352f0f1a..d571f6756d9f98d930555d69dc2822c065b231de 100644 (file)
--- 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}
 
This page took 0.048543 seconds and 4 git commands to generate.