diff options
author | Remi Collet <remi@remirepo.net> | 2019-01-21 16:10:01 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-01-21 16:10:01 +0100 |
commit | 12ba5085261212f9d48053924366c007faf52ca8 (patch) | |
tree | 04fe92ee45240e914a27186e05fe1a91eeb92d8d /php-pecl-yp.spec | |
parent | e15c570d77c0854a3f4a44020dea2bb72f9df18f (diff) |
Diffstat (limited to 'php-pecl-yp.spec')
-rw-r--r-- | php-pecl-yp.spec | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/php-pecl-yp.spec b/php-pecl-yp.spec index c255db8..c4f93bd 100644 --- a/php-pecl-yp.spec +++ b/php-pecl-yp.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-yp # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,13 +19,12 @@ Summary: YP/NIS functions Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.0.1 -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gcc BuildRequires: %{?scl_prefix}php-devel > 5.3 BuildRequires: %{?scl_prefix}php-pear @@ -120,8 +119,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS \ install INSTALL_ROOT=%{buildroot} @@ -144,7 +141,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -180,12 +177,7 @@ cd ../ZTS %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -200,6 +192,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 1.0.1-4 +- cleanup for EL-8 + * Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-3 - adapt for F24 - drop runtime dependency on pear, new scriptlets |