summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-01-21 15:25:33 +0100
committerRemi Collet <remi@remirepo.net>2019-01-21 15:25:33 +0100
commit6eea1a55ad8b67a955293ee5540cf988b0c1e530 (patch)
treec5ba60daac8845e079d88c55c2b410c796d97c72
parent4c4f3d2f9682b8d670c5b12abcd884aeace1cbc9 (diff)
cleanup for EL-8HEADmaster
-rw-r--r--php-pecl-sqlite.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-pecl-sqlite.spec b/php-pecl-sqlite.spec
index 57a641f..49e8dd0 100644
--- a/php-pecl-sqlite.spec
+++ b/php-pecl-sqlite.spec
@@ -1,6 +1,6 @@
# spec file for php-pecl-sqlite
#
-# Copyright (c) 2011-2017 Remi Collet
+# Copyright (c) 2011-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -25,7 +25,7 @@
Summary: Extension for the SQLite V2 Embeddable SQL Database Engine
Name: %{?scl_prefix}php-pecl-sqlite
Version: 2.0.0
-Release: 0.9.svn%{svnver}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 0.10.svn%{svnver}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Group: Development/Languages
License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
@@ -37,8 +37,7 @@ Source0: sqlite-svn%{svnver}.tgz
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel < 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-pdo
BuildRequires: sqlite2-devel
@@ -160,7 +159,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
make install -C NTS INSTALL_ROOT=%{buildroot}
# Drop in the bit of configuration
@@ -231,11 +229,7 @@ NO_INTERACTION=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
-%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
@@ -256,7 +250,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pecl_docdir}/%{pecl_name}
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
@@ -269,6 +262,9 @@ fi
%changelog
+* Mon Jan 21 2019 Remi Collet <remi@remirepo.net> - 2.0.0-0.10.svn332053
+- cleanup for EL-8
+
* Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 2.0.0-0.9.svn332053
- adapt for F24
- drop runtime dependency on pear, new scriptlets