diff options
author | Remi Collet <remi@remirepo.net> | 2019-05-23 14:45:00 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-05-23 14:45:00 +0200 |
commit | 001e1ad4eb2bca72fbd651b1b0de52a5f5f63355 (patch) | |
tree | 5a41860b1eb5da247c33ace8019bef9a2df019e9 | |
parent | 44999782fb75be12abf2884d0487ed16073110c4 (diff) |
cleanupphp5
-rw-r--r-- | php-pecl-yac.spec | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec index 4a148af..d9d1d01 100644 --- a/php-pecl-yac.spec +++ b/php-pecl-yac.spec @@ -3,19 +3,15 @@ # # Fedora spec file for php-pecl-yac (previously php-yac) # -# Copyright (c) 2013-2017 Remi Collet +# Copyright (c) 2013-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %if 0%{?scl:1} -%if "%{scl}" == "rh-php56" -%global sub_prefix more-php56- -%else %global sub_prefix %{scl_prefix} %endif -%endif %{?scl: %scl_package php-yac} @@ -32,14 +28,13 @@ Summary: Lockless user data cache Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 0.9.2 -Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 5%{?dist}%{!?scl:%{!?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}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gcc BuildRequires: %{?scl_prefix}php-devel > 5.2 BuildRequires: %{?scl_prefix}php-pear %if %{with_fastlz} @@ -161,7 +156,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} @@ -221,7 +215,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 @@ -241,12 +235,7 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -261,6 +250,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 0.9.2-5 +- cleanup for EL-8 + * Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 0.9.2-4 - adapt for F24 |