summaryrefslogtreecommitdiffstats
path: root/php-pecl-scream.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 15:18:32 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 15:18:32 +0100
commitdad2970211969617ffb6a05c4ede16ca0a017d91 (patch)
treedcc53f9020fe39ab7e75ad4e34a04baa7b0fced6 /php-pecl-scream.spec
parenta0dda41f40001a2d6faa5bb289710b09712642ec (diff)
cleanup for EL-8HEADmaster
Diffstat (limited to 'php-pecl-scream.spec')
-rw-r--r--php-pecl-scream.spec17
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