diff options
| -rw-r--r-- | php-pecl-leveldb.spec | 15 | 
1 files changed, 5 insertions, 10 deletions
diff --git a/php-pecl-leveldb.spec b/php-pecl-leveldb.spec index d37c948..e12bd6c 100644 --- a/php-pecl-leveldb.spec +++ b/php-pecl-leveldb.spec @@ -14,7 +14,7 @@  Summary:        LevelDB PHP bindings  Name:           %{?scl_prefix}php-pecl-%{pecl_name}  Version:        0.1.5 -Release:        2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release:        3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}  License:        BSD  Group:          Development/Languages  URL:            http://pecl.php.net/package/%{pecl_name} @@ -22,7 +22,6 @@ Source0:        http://pecl.php.net/get/%{pecl_name}-%{version}.tgz  # See : leveldb bug (assert enabeld in prod)  # https://bugzilla.redhat.com/show_bug.cgi?id=1000777 -BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRequires:  %{?scl_prefix}php-devel  BuildRequires:  %{?scl_prefix}php-pear  BuildRequires:  leveldb-devel @@ -121,8 +120,6 @@ make %{?_smp_mflags}  %install -rm -rf %{buildroot} -  make -C NTS install INSTALL_ROOT=%{buildroot}  # install config file @@ -142,7 +139,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i  done -%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 @@ -192,12 +189,7 @@ REPORT_EXIT_STATUS=0 \  %endif -%clean -rm -rf %{buildroot} - -  %files -%defattr(-,root,root,-)  %{?_licensedir:%license NTS/LICENSE}  %doc %{pecl_docdir}/%{pecl_name}  %{pecl_xmldir}/%{name}.xml @@ -212,6 +204,9 @@ rm -rf %{buildroot}  %changelog +* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 0.1.5-3 +- cleanup for EL-8 +  * Tue Mar  8 2016 Remi Collet <remi@fedoraproject.org> - 0.1.5-2  - adapt for F24  | 
