summaryrefslogtreecommitdiffstats
path: root/php-pecl-krb5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-krb5.spec')
-rw-r--r--php-pecl-krb5.spec20
1 files changed, 16 insertions, 4 deletions
diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec
index 222ca60..97f9ada 100644
--- a/php-pecl-krb5.spec
+++ b/php-pecl-krb5.spec
@@ -3,9 +3,9 @@
#
# Fedora spec file for php-pecl-krb5
#
-# Copyright (c) 2014-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -25,12 +25,14 @@
Summary: Kerberos authentification extension
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.2.2
+Version: 1.2.3
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
+Patch0: https://patch-diff.githubusercontent.com/raw/php/pecl-authentication-krb5/pull/11.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: krb5-devel >= 1.8
@@ -78,6 +80,8 @@ These are the files needed to compile programs using the Kerberos extension.
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd %{sources}
+%patch -P0 -p1 -b .pr11
+
# 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
@@ -191,6 +195,14 @@ done
%changelog
+* Mon Mar 3 2025 Remi Collet <remi@remirepo.net> - 1.2.3-1
+- update to 1.2.3
+- re-license spec file to CECILL-2.1
+- no support for PHP 7.x, reported as
+ https://github.com/php/pecl-authentication-krb5/issues/10
+- fix PHP 7 compatibility using patch from
+ https://github.com/php/pecl-authentication-krb5/pull/11
+
* Thu Jun 13 2024 Remi Collet <remi@remirepo.net> - 1.2.2-1
- update to 1.2.2
- raise dependency on PHP 7