From 70c6e7f1e60836216937f8bacc9e4f23d9e74464 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 17 Feb 2018 08:21:01 +0100 Subject: cleanup --- php-pecl-dbase.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'php-pecl-dbase.spec') diff --git a/php-pecl-dbase.spec b/php-pecl-dbase.spec index 0233fb7..d1a4290 100644 --- a/php-pecl-dbase.spec +++ b/php-pecl-dbase.spec @@ -31,13 +31,11 @@ Name: %{?sub_prefix}php-pecl-dbase Version: 5.1.1 Release: 1%{?dist}%{!?scl:%{!?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 # Created from PHP 5.2.17 tarball Source1: http://pecl.php.net/get/%{pecl_name}-tests-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel < 7 BuildRequires: %{?scl_prefix}php-pear @@ -147,8 +145,6 @@ make %{?_smp_mflags} %install -rm -rf %{buildroot} - make -C NTS install INSTALL_ROOT=%{buildroot} # install config file @@ -169,7 +165,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 @@ -223,12 +219,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 -- cgit