summaryrefslogtreecommitdiffstats
path: root/php-snuffleupagus.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-snuffleupagus.spec')
-rw-r--r--php-snuffleupagus.spec22
1 files changed, 12 insertions, 10 deletions
diff --git a/php-snuffleupagus.spec b/php-snuffleupagus.spec
index 3d313b0..c6af5eb 100644
--- a/php-snuffleupagus.spec
+++ b/php-snuffleupagus.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-snuffleupagus
#
-# Copyright (c) 2018 Remi Collet
+# Copyright (c) 2018-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -18,7 +18,7 @@
%global pkg_name %{name}
%endif
-%global gh_commit bdc2d866c1c55826383c0b203a0702bc58cefe76
+%global gh_commit 0410dd1ee69f5040e0a81d57d20d860139b0c32c
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nbs-system
%global gh_project snuffleupagus
@@ -29,9 +29,9 @@
%global with_zts 0
%global ini_name 40-%{pecl_name}.ini
-Summary: Security module for php7
+Summary: Security module for PHP
Name: %{?sub_prefix}php-snuffleupagus
-Version: 0.4.1
+Version: 0.5.0
%if 0%{?gh_date}
Release: 1%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
@@ -66,9 +66,13 @@ Obsoletes: php72u-%{pecl_name} <= %{version}
Obsoletes: php72w-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-%{pecl_name} <= %{version}
+Obsoletes: php73-%{pecl_name} <= %{version}
Obsoletes: php73w-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-%{pecl_name} <= %{version}
+Obsoletes: php74w-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -162,11 +166,6 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%check
-%if 0%{?rhel} == 6
-# TODO : need investigation
-rm src/tests/stream_wrapper.phpt
-%endif
-
sed -e 's:#!/usr/bin/env php:#!%{__php}:' -i scripts/upload_validation.php
cd src
@@ -216,6 +215,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Thu Jun 13 2019 Remi Collet <remi@remirepo.net> - 0.5.0-1
+- update to 0.5.0
+
* Fri Dec 21 2018 Remi Collet <remi@remirepo.net> - 0.4.1-1
- update to 0.4.1
- drop patches merged upstream