summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-29 14:49:56 +0200
committerRemi Collet <remi@remirepo.net>2017-05-29 14:49:56 +0200
commitdaf5a9b6faf61256c03309fe827da83282b7751d (patch)
treef296c5c4d6298108151d816d976538d4134f0787
parentd54835cce087d2c8781d8961371e7a3a14f9571c (diff)
v1.6.6
-rw-r--r--.gitignore7
-rw-r--r--php-pecl-lzf.spec22
2 files changed, 20 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-pecl-lzf.spec b/php-pecl-lzf.spec
index bf6f01c..1a34367 100644
--- a/php-pecl-lzf.spec
+++ b/php-pecl-lzf.spec
@@ -23,15 +23,14 @@
%endif
Name: %{?sub_prefix}php-pecl-lzf
-Version: 1.6.5
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.6.6
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: Extension to handle LZF de/compression
Group: Development/Languages
License: PHP
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: liblzf-devel
@@ -71,6 +70,10 @@ Obsoletes: php70w-pecl-%{ext_name} <= %{version}
Obsoletes: php71u-pecl-%{ext_name} <= %{version}
Obsoletes: php71w-pecl-%{ext_name} <= %{version}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{ext_name} <= %{version}
+Obsoletes: php72w-pecl-%{ext_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -123,6 +126,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure \
@@ -143,7 +148,8 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+%{?dtsenable}
+
make install -C NTS INSTALL_ROOT=%{buildroot}
# Drop in the bit of configuration
@@ -194,10 +200,6 @@ NO_INTERACTION=1 \
-d extension=%{buildroot}%{php_ztsextdir}/%{ext_name}.so
%endif
-%clean
-rm -rf %{buildroot}
-
-
%if 0%{?fedora} < 24
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
@@ -219,7 +221,6 @@ fi
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -234,6 +235,9 @@ fi
%changelog
+* Mon May 29 2017 Remi Collet <remi@fedoraproject.org> - 1.6.6-1
+- update to 1.6.6 (no change)
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 1.6.5-3
- rebuild with PHP 7.1.0 GA