diff options
Diffstat (limited to 'php-pecl-scream.spec')
-rw-r--r-- | php-pecl-scream.spec | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-scream.spec b/php-pecl-scream.spec index 4948422..31b06fd 100644 --- a/php-pecl-scream.spec +++ b/php-pecl-scream.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-scream # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,7 +19,7 @@ Summary: Break the silence operator Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 0.1.0 -Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -29,7 +29,6 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz # Link from the headers Source1: http://www.php.net/license/3_01.txt -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -134,8 +133,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -157,7 +154,7 @@ done %{!?_licensedir:install -Dpm 644 NTS/LICENSE %{buildroot}%{pecl_docdir}/%{pecl_name}/LICENSE} -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 7 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -207,12 +204,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} #doc %%{pecl_docdir}/%%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -226,6 +218,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 0.1.0-6 +- cleanup for EL-8 + * Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 0.1.0-5 - adapt for F24 - drop runtime dependency on pear, new scriptlets |