summaryrefslogtreecommitdiffstats
path: root/php-pecl-krb5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-06-13 07:20:26 +0200
committerRemi Collet <remi@php.net>2024-06-13 07:20:26 +0200
commit26050e74288073d8fda3b3fb970fea205ab68a31 (patch)
treeec773d8c85a0bd54e3e7ad68541fb8f54bd668f1 /php-pecl-krb5.spec
parent9650fa7a516b711c54d51d766c0132eadcddf3cf (diff)
update to 1.2.2HEADmaster
raise dependency on PHP 7
Diffstat (limited to 'php-pecl-krb5.spec')
-rw-r--r--php-pecl-krb5.spec10
1 files changed, 6 insertions, 4 deletions
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