From 44d625d60bf7b1cace122bfe439fdf318fc8d0ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Jan 2019 15:01:24 +0100 Subject: cleanup for EL-8 --- php-pecl-radius.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'php-pecl-radius.spec') 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 - 1.3.0-2 +- cleanup for EL-8 + * Mon Feb 15 2016 Remi Collet - 1.3.0-1 - Update to 1.3.0 (stable) -- cgit