summaryrefslogtreecommitdiffstats
path: root/php-pecl-sqlite.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-sqlite.spec')
-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