From daf5a9b6faf61256c03309fe827da83282b7751d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 May 2017 14:49:56 +0200 Subject: v1.6.6 --- .gitignore | 7 +++++++ php-pecl-lzf.spec | 22 +++++++++++++--------- 2 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 .gitignore 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 - 1.6.6-1 +- update to 1.6.6 (no change) + * Thu Dec 1 2016 Remi Collet - 1.6.5-3 - rebuild with PHP 7.1.0 GA -- cgit