diff options
Diffstat (limited to 'php-pecl-krb5.spec')
-rw-r--r-- | php-pecl-krb5.spec | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec index 896c2b3..5a8e2ec 100644 --- a/php-pecl-krb5.spec +++ b/php-pecl-krb5.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-krb5 # -# Copyright (c) 2014-2023 Remi Collet +# Copyright (c) 2014-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -35,11 +35,12 @@ Summary: Kerberos authentification extension Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.1.5 -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.2.1 +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 @@ -47,6 +48,10 @@ BuildRequires: krb5-devel >= 1.8 BuildRequires: pkgconfig(com_err) BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear +%if 0%{?fedora} >= 40 +# TODO need investigation +BuildRequires: gmp +%endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -91,6 +96,7 @@ 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 @@ -221,6 +227,13 @@ fi %changelog +* Mon Jun 10 2024 Remi Collet <remi@remirepo.net> - 1.2.1-1 +- update to 1.2.1 +- fix missing channel.c in sources + https://github.com/php/pecl-authentication-krb5/pull/5 +- drop support for PHP 5 + https://github.com/php/pecl-authentication-krb5/issues/6 + * Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 1.1.5-3 - rebuild for PHP 8.3.0RC1 |