summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 15:47:33 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 15:47:33 +0100
commit52efe1fc394a75a6ce3c4988de7fd69de348aa8e (patch)
treee17884b41e7495945f76c02fddb9b46f3abc5fb2
parentd4334ffae718104d4cd85707edb07729f076934d (diff)
cleanup for EL-8php5
-rw-r--r--php-pecl-vld.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-vld.spec b/php-pecl-vld.spec
index b86085b..589949e 100644
--- a/php-pecl-vld.spec
+++ b/php-pecl-vld.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-vld
#
-# Copyright (c) 2013-2017 Remi Collet
+# Copyright (c) 2013-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -22,13 +22,12 @@
Summary: Dump the internal representation of PHP scripts
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.14.0
-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: 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: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
@@ -143,8 +142,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make -C NTS install INSTALL_ROOT=%{buildroot}
# install config file
@@ -167,7 +164,7 @@ done
%{!?_licensedir:install -Dpm 644 LICENSE %{buildroot}%{pecl_docdir}/%{pecl_name}/LICENSE}
-%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
@@ -201,12 +198,7 @@ fi
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -221,6 +213,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 0.14.0-3
+- cleanup for EL-8
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.14.0-2
- rebuild for PHP 7.2.0beta1 new API