diff options
author | Remi Collet <remi@remirepo.net> | 2019-01-21 13:21:48 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-01-21 13:21:48 +0100 |
commit | 214b451b3776ab6a0db56b848a89a3ea7480fa43 (patch) | |
tree | 36533950b639bc2d6dfce89488ee9d6ec3eacfca | |
parent | 63610ee187b9f2f6c254cefc588cd4dff9ad27cd (diff) |
cleanup for EL-8php5
-rw-r--r-- | php-pecl-msgpack.spec | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec index 620e4d7..2e59b72 100644 --- a/php-pecl-msgpack.spec +++ b/php-pecl-msgpack.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-msgpack # -# Copyright (c) 2012-2017 Remi Collet +# Copyright (c) 2012-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -36,13 +36,12 @@ Summary: API for communicating with MessagePack serialization Name: %{?sub_prefix}php-pecl-msgpack Version: 0.5.7 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/msgpack Source: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear %if %{with_msgpack} @@ -174,7 +173,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} # Install the NTS stuff make -C NTS install INSTALL_ROOT=%{buildroot} install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} @@ -231,7 +229,7 @@ REPORT_EXIT_STATUS=1 \ %endif -%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 @@ -251,12 +249,7 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -281,6 +274,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@fedoraproject.org> - 0.5.7-3 +- cleanup for EL-8 + * Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 0.5.7-2 - adapt for F24 - fix license management |