summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-selinux.spec37
3 files changed, 20 insertions, 21 deletions
diff --git a/PHPINFO b/PHPINFO
index 86c9187..7f6e1b5 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -1,4 +1,4 @@
selinux
-Version => 0.4.2
+Version => 0.5.0
diff --git a/REFLECTION b/REFLECTION
index 91fc015..a901467 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #135 selinux version 0.4.2 ] {
+Extension [ <persistent> extension #95 selinux version 0.5.0 ] {
- Functions {
Function [ <internal:selinux> function selinux_is_enabled ] {
diff --git a/php-pecl-selinux.spec b/php-pecl-selinux.spec
index f3a1b7b..b393ac8 100644
--- a/php-pecl-selinux.spec
+++ b/php-pecl-selinux.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-selinux
# adapted for SCL
#
-# Copyright (c) 2011-2018 Remi Collet
+# Copyright (c) 2011-2020 Remi Collet
#
# Fedora spec file for php-pecl-selinux
#
@@ -21,7 +21,7 @@
%scl_package php-pecl-selinux
%endif
-%define pecl_name selinux
+%global pecl_name selinux
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
%if "%{php_version}" < "5.6"
@@ -32,14 +32,14 @@
Summary: SELinux binding for PHP scripting language
Name: %{?sub_prefix}php-pecl-selinux
-Version: 0.4.2
+Version: 0.5.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
-URL: http://pecl.php.net/package/%{pecl_name}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+URL: https://pecl.php.net/package/%{pecl_name}
+Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: libselinux-devel >= 2.0.80
@@ -57,26 +57,18 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "5.6"
-Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.0"
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73-pecl-%{pecl_name} <= %{version}
Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-pecl-%{pecl_name} <= %{version}
+Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -231,6 +223,13 @@ fi
%changelog
+* Wed Apr 22 2020 Remi Collet <remi@remirepo.net> - 0.5.0-1
+- update to 0.5.0 (stable)
+- raise dependency on PHP 7
+
+* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 0.4.2-2
+- rebuild for 7.4.0RC1
+
* Mon Aug 20 2018 Remi Collet <remi@remirepo.net> - 0.4.2-1
- update to 0.4.2