diff options
author | Remi Collet <remi@remirepo.net> | 2019-01-21 14:32:22 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-01-21 14:32:22 +0100 |
commit | ff670a32b58a986def189d6770b84ce3c78f1f38 (patch) | |
tree | 2cf0ca08fcfa6a71690a43fc9e9f74ace1f169c0 | |
parent | ff932d957b0ba05df9db66cb23e9fbc85a50323a (diff) |
cleanup for EL-8
-rw-r--r-- | php-pecl-pcsc.spec | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-pcsc.spec b/php-pecl-pcsc.spec index 0f04958..1abd2ea 100644 --- a/php-pecl-pcsc.spec +++ b/php-pecl-pcsc.spec @@ -1,6 +1,6 @@ # spec file for php-pecl-pcsc # -# 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: An extension for PHP using the winscard PC/SC API Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 0.3.1 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD 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: pcsc-lite-devel BuildRequires: %{?scl_prefix}php-devel > 5.3 BuildRequires: %{?scl_prefix}php-pear @@ -128,8 +127,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS \ install INSTALL_ROOT=%{buildroot} @@ -152,7 +149,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 @@ -188,12 +185,7 @@ cd ../ZTS %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{?_licensedir:%license NTS/COPYING} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -216,6 +208,9 @@ rm -rf %{buildroot} %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 0.3.1-3 +- cleanup for EL-8 + * Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 0.3.1-2 - adapt for F24 - fix license management |