diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-17 08:21:01 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-17 08:21:01 +0100 |
commit | 70c6e7f1e60836216937f8bacc9e4f23d9e74464 (patch) | |
tree | 6336a108cff153cb9451bb0888d4aa50e647da4f /php-pecl-dbase.spec | |
parent | c61ec5cc8c7e1d7e39b3e8ca3153ee1990cf6714 (diff) |
cleanup
Diffstat (limited to 'php-pecl-dbase.spec')
-rw-r--r-- | php-pecl-dbase.spec | 11 |
1 files changed, 1 insertions, 10 deletions
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 |