summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 15:01:24 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 15:01:24 +0100
commit44d625d60bf7b1cace122bfe439fdf318fc8d0ac (patch)
treeb3d2a5f62af8435bab6b5dafb594d599e8f7381e
parent825584bbd4e665ff1c336371c9d3d154e375367c (diff)
cleanup for EL-8php5
-rw-r--r--php-pecl-radius.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-radius.spec b/php-pecl-radius.spec
index 4809ec9..7686ff1 100644
--- a/php-pecl-radius.spec
+++ b/php-pecl-radius.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-pecl-radius
#
-# Copyright (c) 2009-2018 Remi Collet
+# Copyright (c) 2009-2019 Remi Collet
# Copyright (c) 2006-2009 Christopher Stone
#
# License: MIT
@@ -31,7 +31,7 @@
Name: %{?sub_prefix}php-pecl-radius
Version: 1.3.0
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: Radius client library
License: BSD
@@ -39,7 +39,6 @@ Group: Development/Languages
URL: http://pecl.php.net/package/radius
Source0: http://pecl.php.net/get/radius-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
# Used by test suite
@@ -134,8 +133,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make -C NTS install INSTALL_ROOT=%{buildroot}
# Install XML package description
@@ -195,7 +192,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
@@ -215,12 +212,7 @@ fi
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -235,6 +227,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 1.3.0-2
+- cleanup for EL-8
+
* Mon Feb 15 2016 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
- Update to 1.3.0 (stable)