summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-horde-lz4.spec18
1 files changed, 12 insertions, 6 deletions
diff --git a/php-horde-horde-lz4.spec b/php-horde-horde-lz4.spec
index 23be678..6e9fb7d 100644
--- a/php-horde-horde-lz4.spec
+++ b/php-horde-horde-lz4.spec
@@ -3,7 +3,7 @@
#
# Fedora spec file for php-horde-horde-lz4
#
-# Copyright (c) 2014-2018 Remi Collet
+# Copyright (c) 2014-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -15,7 +15,7 @@
%{?scl: %scl_package php-horde-horde-lz4}
-%global with_zts 0%{?__ztsphp:1}
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name horde_lz4
%global pecl_channel pear.horde.org
%if "%{php_version}" < "5.6"
@@ -33,9 +33,8 @@
Summary: Horde LZ4 Compression Extension
Name: %{?sub_prefix}php-horde-horde-lz4
Version: 1.0.10
-Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
-Group: Development/Languages
URL: http://www.horde.org
Source0: http://%{pecl_channel}/get/%{pecl_name}-%{version}.tgz
@@ -86,8 +85,12 @@ Obsoletes: php72u-horde-horde-lz4 <= %{version}
Obsoletes: php72w-horde-horde-lz4 <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-horde-horde-lz4 <= %{version}
-Obsoletes: php73w-horde-horde-lz4 <= %{version}
+Obsoletes: php73 php74-horde-horde-lz4 <= %{version}
+Obsoletes: php73 php74w-horde-horde-lz4 <= %{version}
+%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-horde-horde-lz4 <= %{version}
+Obsoletes: php74w-horde-horde-lz4 <= %{version}
%endif
%endif
@@ -247,6 +250,9 @@ cd ../ZTS
%changelog
+* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 1.0.10-7
+- rebuild for 7.4.0RC1
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 1.0.10-6
- rebuild for 7.3.0beta2 new ABI