summaryrefslogtreecommitdiffstats
path: root/php-pecl-yac-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-09-06 08:19:33 +0200
committerRemi Collet <fedora@famillecollet.com>2014-09-06 08:19:33 +0200
commitd99deb96db0db10ff040c7ad4fcabbf189bfe343 (patch)
treed927a9e6ac482d042adea629d02eb343c78d0f7b /php-pecl-yac-dev.spec
parent78dbe197268cf034dd269a9781e4fd92ebd4eb29 (diff)
php-pecl-yac: cleanup for review
Diffstat (limited to 'php-pecl-yac-dev.spec')
-rw-r--r--php-pecl-yac-dev.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/php-pecl-yac-dev.spec b/php-pecl-yac-dev.spec
index 736793a..0238364 100644
--- a/php-pecl-yac-dev.spec
+++ b/php-pecl-yac-dev.spec
@@ -11,13 +11,13 @@
%{!?__pecl: %global __pecl %{_bindir}/pecl}
%{!?__php: %global __php %{_bindir}/php}
-%global with_zts 0%{?__ztsphp:1}
-%global pecl_name yac
-%global with_tests %{!?_without_tests:1}%{?_without_tests:0}
+%global with_zts 0%{?__ztsphp:1}
+%global pecl_name yac
+%global with_tests %{!?_without_tests:1}%{?_without_tests:0}
%if "%{php_version}" < "5.6"
-%global ini_name %{pecl_name}.ini
+%global ini_name %{pecl_name}.ini
%else
-%global ini_name 40-%{pecl_name}.ini
+%global ini_name 40-%{pecl_name}.ini
%endif
%global with_fastlz 1
@@ -69,7 +69,7 @@ Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20
+%if 0%{?fedora} < 20 && 0%{?rhel} < 7
# Filter private shared object
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
@@ -91,7 +91,7 @@ that your product is not very sensitive to that.
%setup -qc
mv %{pecl_name}-%{version} NTS
-# Don't install the tests
+# Don't install (register) the tests
sed -e 's/role="test"/role="src"/' -i package.xml
cd NTS