public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-pecl-krb5] epel10: v1.3.0
@ 2026-11-13 8:13 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-13 8:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php-pecl-krb5
Branch : epel10
Commit : 88b1788d3e09ced59d76aed373b8522a1e83cad8
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-11-13T09:13:08+01:00
Stats : +37/-34 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-pecl-krb5/c/88b1788d3e09ced59d76aed373b8522a1e83cad8?branch=epel10
Log:
v1.3.0
---
diff --git a/.gitignore b/.gitignore
index 8486809..d46b99e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ clog
/krb5-1.1.5.tgz
/krb5-1.2.2.tgz
/krb5-1.2.3.tgz
+/pecl-authentication-krb5-1.3.0.tar.gz
diff --git a/php-pecl-krb5.spec b/php-pecl-krb5.spec
index aa7342d..49b073a 100644
--- a/php-pecl-krb5.spec
+++ b/php-pecl-krb5.spec
@@ -1,6 +1,6 @@
# Fedora spec file for php-pecl-krb5
#
-# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2014-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
@@ -8,16 +8,24 @@
#
%global pecl_name krb5
+%global pie_vend pecl
+%global pie_proj %{pecl_name}
%global ini_name 40-%{pecl_name}.ini
-%global sources %{pecl_name}-%{version}
-Summary: Kerberos authentification extension
+# Github forge
+%global gh_vend php
+%global gh_proj pecl-authentication-krb5
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+%global tag v%{version}
+
Name: php-pecl-%{pecl_name}
-Version: 1.2.3
-Release: 1%{?dist}
+Summary: Kerberos authentification extension
License: MIT
-URL: https://pecl.php.net/package/%{pecl_name}
-Source0: https://pecl.php.net/get/%{sources}.tgz
+Version: 1.3.0
+Release: 1%{?dist}
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
ExcludeArch: %{ix86}
@@ -25,16 +33,20 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: krb5-devel >= 1.8
BuildRequires: pkgconfig(com_err)
-BuildRequires: php-devel >= 7.0
-BuildRequires: php-pear
+# Ensure default PHP 8.3 on EPEL-10
+BuildRequires: (php-devel >= 8.3 with php-devel < 8.4)
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
+# Extension
Provides: php-%{pecl_name} = %{version}
Provides: php-%{pecl_name}%{?_isa} = %{version}
+# PECL
Provides: php-pecl(%{pecl_name}) = %{version}
Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: php-pie(%{pie_vend}/%{pie_proj}) = %{version}
%description
@@ -56,18 +68,14 @@ These are the files needed to compile programs using the Kerberos extension.
%prep
-%setup -q -c
+%forgesetup
-sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
-
-cd %{sources}
# 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
: Error: Upstream extension version is ${extver}, expecting %{version}.
exit 1
fi
-cd ..
# Create configuration file
cat << 'EOF' | tee %{ini_name}
@@ -79,7 +87,6 @@ EOF
%build
export CFLAGS="%{optflags} $(pkg-config --cflags com_err)"
-cd %{sources}
%{__phpize}
sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
@@ -94,24 +101,11 @@ sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
%install
-cd %{sources}
-
: Install the extension
%make_install
: Install config file
-install -D -m 644 ../%{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
-
-: Install XML package description
-install -D -m 644 ../package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
-
-: Install Test and Documentation
-for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
-done
-for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
-done
+install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
%check
@@ -122,21 +116,29 @@ done
%files
-%license %{sources}/LICENSE
-%doc %{pecl_docdir}/%{pecl_name}
-%{pecl_xmldir}/%{name}.xml
+%license LICENSE
+%doc composer.json
+%doc CREDITS
+%doc README
+%doc examples
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
%files devel
-%doc %{pecl_testdir}/%{pecl_name}
+%doc tests
%{php_incldir}/ext/%{pecl_name}
%changelog
+* Wed Nov 11 2026 Remi Collet <remi@remirepo.net> - 1.3.0-1
+- update to 1.3.0
+- add pie virtual provides
+- drop pear/pecl dependency
+- sources from github
+
* 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
diff --git a/sources b/sources
index 116bec7..a373520 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (krb5-1.2.3.tgz) = 54eedf34150d93d7bf387c43e97e7094f2fb158b2c756ee4331928dba278c976005ab57fed43bfef8ba30f64e9bbf0bc8ecf8a756a48007ab2754bfb0660669a
+SHA512 (pecl-authentication-krb5-1.3.0.tar.gz) = 8e0c887a7e6982a54940a74e04ad7306e8095f68c118caa311c884fe2377c3bf7458e087d21c28a40e6b48e91000499d8411e9155af58932c2520f8bd546c644
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 8:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 8:13 [rpms/php-pecl-krb5] epel10: v1.3.0 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox