summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-krb5.spec10
3 files changed, 8 insertions, 6 deletions
diff --git a/PHPINFO b/PHPINFO
index 0020bbc..d319da7 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
krb5
Kerberos 5 support => enabled
-Extension version => 1.2.1
+Extension version => 1.2.2
Library version => Kerberos 5 release 1.21.2
KADM5 support => yes
Import cred support => no
diff --git a/REFLECTION b/REFLECTION
index 9f8d360..69cea22 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #79 krb5 version 1.2.1 ] {
+Extension [ <persistent> extension #79 krb5 version 1.2.2 ] {
- Constants [14] {
Constant [ int GSS_C_DELEG_FLAG ] { 1 }
diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec
index 5a8e2ec..9d8b01b 100644
--- a/php-pecl-krb5.spec
+++ b/php-pecl-krb5.spec
@@ -35,18 +35,17 @@
Summary: Kerberos authentification extension
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.2.1
+Version: 1.2.2
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Source1: https://raw.githubusercontent.com/php/pecl-authentication-krb5/krb5-%{version}/channel.c
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: krb5-devel >= 1.8
BuildRequires: pkgconfig(com_err)
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel >= 7.0
BuildRequires: %{?scl_prefix}php-pear
%if 0%{?fedora} >= 40
# TODO need investigation
@@ -96,7 +95,6 @@ These are the files needed to compile programs using the Kerberos extension.
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
cd %{sources}
-cp %{SOURCE1} .
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_KRB5_VERSION/{s/.* "//;s/".*$//;p}' php_krb5.h)
if test "x${extver}" != "x%{version}"; then
@@ -227,6 +225,10 @@ fi
%changelog
+* Thu Jun 13 2024 Remi Collet <remi@remirepo.net> - 1.2.2-1
+- update to 1.2.2
+- raise dependency on PHP 7
+
* Mon Jun 10 2024 Remi Collet <remi@remirepo.net> - 1.2.1-1
- update to 1.2.1
- fix missing channel.c in sources