public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-pecl-yac] epel10: v2.3.2
Date: Tue, 25 Aug 2026 07:53:58 GMT [thread overview]
Message-ID: <178764443863.1.13805189270320044896.rpms-php-pecl-yac-2280cdfcdbdd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php-pecl-yac
Branch : epel10
Commit : 2280cdfcdbddee8ae479c8ce4d01541a26e135cb
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-08-25T09:53:50+02:00
Stats : +43/-43 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/php-pecl-yac/c/2280cdfcdbddee8ae479c8ce4d01541a26e135cb?branch=epel10
Log:
v2.3.2
(cherry picked from commit 619ac61995494de0ef618dd142fef4ac68ec1a75)
---
diff --git a/.gitignore b/.gitignore
index 674b173..659c22c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
clog
/yac-2.3.0.tgz
/yac-2.3.1.tgz
+/yac-yac-2.3.1.tar.gz
+/yac-2.3.2.tar.gz
diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec
index f47c3ee..0bf1b9b 100644
--- a/php-pecl-yac.spec
+++ b/php-pecl-yac.spec
@@ -1,8 +1,8 @@
# Fedora spec file for php-pecl-yac (previously php-yac)
#
-# Copyright (c) 2013-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2013-2026 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -10,25 +10,32 @@
%bcond_without tests
%global pecl_name yac
+%global pie_vend laruence
+%global pie_proj %{pecl_name}
# after 40-igbinary and 40-msgpack
%global ini_name 50-%{pecl_name}.ini
-%global sources %{pecl_name}-%{version}
-Summary: Lockless user data cache
-Name: php-pecl-%{pecl_name}
-Version: 2.3.1
-Release: 14%{?dist}
+# Github forge
+%global gh_vend laruence
+%global gh_proj %{pecl_name}
+%global forgeurl https://github.com/%{gh_vend}/%{gh_proj}
+%global tag %{version}
+Name: php-pecl-%{pecl_name}
+Summary: Lockless user data cache
License: PHP-3.01
-URL: https://pecl.php.net/package/%{pecl_name}
-Source0: https://pecl.php.net/get/%{sources}.tgz
+Version: 2.3.2
+Release: 1%{?dist}
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
+
ExcludeArch: %{ix86}
BuildRequires: make
BuildRequires: gcc
BuildRequires: php-devel
-BuildRequires: php-pear
BuildRequires: php-pecl-msgpack-devel
BuildRequires: php-pecl-igbinary-devel
BuildRequires: fastlz-devel
@@ -39,11 +46,16 @@ Requires: php-igbinary%{?_isa}
Requires: php-msgpack%{?_isa}
# Package have be renamed
-Obsoletes: php-%{pecl_name} < %{version}
-Provides: php-%{pecl_name} = %{version}
-Provides: php-%{pecl_name}%{?_isa} = %{version}
-Provides: php-pecl(%{pecl_name}) = %{version}
-Provides: php-pecl(%{pecl_name})%{?_isa} = %{version}
+Obsoletes: php-%{pecl_name} < %{version}
+# 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}
+Provides: php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -58,16 +70,9 @@ that your product is not very sensitive to that.
%prep
-%setup -qc
-
-# Don't install (register) the tests
-sed -e 's/role="test"/role="src"/' \
- -e '/LICENSE/s/role="doc"/role="src"/' \
- -i package.xml
+%forgesetup
-cd %{sources}
# drop bundled fastlz to ensure it is not used
-sed -e '\:name="compressor/fastlz:d' -i ../package.xml
rm -r compressor/fastlz
# Check version as upstream often forget to update this
@@ -76,7 +81,6 @@ if test "x${extver}" != "x%{version}%{?prever}"; then
: Error: Upstream YAC version is ${extver}, expecting %{version}%{?prever}.
exit 1
fi
-cd ..
# Drop in the bit of configuration
cat > %{ini_name} << 'EOF'
@@ -94,7 +98,6 @@ EOF
%build
-cd %{sources}
%{__phpize}
sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
@@ -109,26 +112,14 @@ sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
%install
-cd %{sources}
-
: Install the extension
%make_install
: Install the configuration
-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="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
-cd %{sources}
-
OPTS="-n"
[ -f %{php_extdir}/igbinary.so ] && OPTS="$OPTS -d extension=igbinary.so"
[ -f %{php_extdir}/msgpack.so ] && OPTS="$OPTS -d extension=msgpack.so"
@@ -148,15 +139,22 @@ TEST_PHP_ARGS="$OPTS -d extension=$PWD/modules/%{pecl_name}.so" \
%files
-%license %{sources}/LICENSE
-%doc %{pecl_docdir}/%{pecl_name}
-%{pecl_xmldir}/%{name}.xml
+%license LICENSE
+%doc CREDITS
+%doc *.md
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
%changelog
+* Tue Aug 18 2026 Remi Collet <remi@remirepo.net> - 2.3.2-1
+- update to 2.3.2
+- add pie virtual provides
+- drop pear/pecl dependency
+- sources from github
+- re-license spec file to CECILL-2.1
+
* Tue Oct 29 2024 Remi Collet <remi@fedoraproject.org> - 2.3.1-14
- modernize the spec file
diff --git a/sources b/sources
index a5b25ca..eb22796 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (yac-2.3.1.tgz) = 2162cf6829d6715be751e4a8a12db76f33bf82d9444c4c720225582bc5fb78b7c0046e73ea91c564731aba02109512d2a2a9abb81b0d8c70a0b17e7007248b59
+SHA512 (yac-2.3.2.tar.gz) = 389a7de2aee3fe723b6eaa105a5131562415cc00196dc7f90b814e1fa61a5b2ebfa7fa51039e2680a6d09cd2498509c6f2b390669e76b0df6b3dd80f754b7df7
reply other threads:[~2026-08-25 7:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178764443863.1.13805189270320044896.rpms-php-pecl-yac-2280cdfcdbdd@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox