public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-phpunit-php-text-template5] f44: v5.0.1
@ 2026-10-06 6:17 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-10-06 6:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php-phpunit-php-text-template5
Branch : f44
Commit : 04478e998ce5ba94800534bf2e084ae3781c8541
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-10-06T08:17:20+02:00
Stats : +22/-29 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/php-phpunit-php-text-template5/c/04478e998ce5ba94800534bf2e084ae3781c8541?branch=f44
Log:
v5.0.1
(cherry picked from commit 1ead51f43f63ee94b2a84bed40bb6b560355e3b7)
---
diff --git a/.gitignore b/.gitignore
index b0000ba..3bb2b2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/php-phpunit-php-text-template5-5.0.0-e1367a4.tgz
+/php-phpunit-php-text-template5-5.0.1.tgz
diff --git a/makesrc.sh b/makesrc.sh
index b959795..59cf430 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -1,35 +1,27 @@
#!/bin/bash
NAME=$(basename $PWD)
-DATE=$(sed -n '/^%global gh_date/{s/.* //;p}' $NAME.spec)
OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec)
PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec)
VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec)
-COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec)
-SHORT=${COMMIT:0:7}
-DATE=$(date -d "$DATE -4 days" +%Y-%m-%d)
-
-if [ -f $NAME-$VERSION-$SHORT.tgz ]; then
- echo "$NAME-$VERSION-$SHORT.tgz already there"
+if [ -f $NAME-$VERSION.tgz ]; then
+ echo "$NAME-$VERSION.tgz already there"
else
- echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Date=$DATE\n"
+ echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION \n"
echo "Cloning..."
- rm -rf $PROJECT-$COMMIT
- git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
+ rm -rf $PROJECT-$VERSION
+ git clone https://github.com/$OWNER/$PROJECT.git --depth 1 --branch $VERSION $PROJECT-$VERSION || exit 1
- echo "Getting commit..."
- pushd $PROJECT-$COMMIT
- git checkout $COMMIT || exit1
- cp composer.json ../composer.json
- popd
+ echo "Getting composer..."
+ cp $PROJECT-$VERSION/composer.json composer.json
echo "Archiving..."
- tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs --exclude tools $PROJECT-$COMMIT
+ tar czf $NAME-$VERSION.tgz --exclude-vcs --exclude tools $PROJECT-$VERSION
echo "Cleaning..."
- rm -rf $PROJECT-$COMMIT
+ rm -rf $PROJECT-$VERSION
echo "Done."
fi
diff --git a/php-phpunit-php-text-template5.spec b/php-phpunit-php-text-template5.spec
index 7f5d8ba..c5f8699 100644
--- a/php-phpunit-php-text-template5.spec
+++ b/php-phpunit-php-text-template5.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-phpunit-php-text-template5
#
-# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2010-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
@@ -9,11 +9,8 @@
%bcond_without tests
-%global gh_commit e1367a453f0eda562eedb4f659e13aa900d66c53
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-text-template
-%global gh_date 2025-02-07
# Packagist
%global pk_vendor phpunit
%global pk_project %{gh_project}
@@ -24,14 +21,14 @@
%global ver_major 5
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 5.0.0
-Release: 4%{?dist}
+Version: 5.0.1
+Release: 1%{?dist}
Summary: Simple template engine, version %{ver_major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
# run makesrc.sh to create a git snapshot with test suite
-Source0: %{name}-%{version}-%{gh_short}.tgz
+Source0: %{name}-%{version}.tgz
Source1: makesrc.sh
BuildArch: noarch
@@ -39,8 +36,8 @@ BuildRequires: php(language) >= 8.3
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# From composer.json, require-dev
-# "phpunit/phpunit": "^12.0"
-BuildRequires: phpunit12
+# "phpunit/phpunit": "^12.5.37"
+BuildRequires: phpunit12 >= 12.5.37
%endif
# From composer.json
@@ -60,7 +57,7 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
%build
@@ -81,7 +78,7 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php83 php84; do
+for cmd in php php83 php84 php85 php86; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
%{_bindir}/phpunit12 || ret=1
@@ -100,6 +97,9 @@ exit $ret
%changelog
+* Sun Oct 4 2026 Remi Collet <remi@remirepo.net> - 5.0.1-1
+- update to 5.0.1
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/sources b/sources
index f681ac0..eb1ea27 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-phpunit-php-text-template5-5.0.0-e1367a4.tgz) = c821203b7c72201bdfd2d36ee09c2148cec190d97b0489ae6bc3f2145a246689d105fb9356145746ec4687cb42bd87fa4a576383615ee5cf11eee6216dbc292b
+SHA512 (php-phpunit-php-text-template5-5.0.1.tgz) = 3cc5d9ff236dc688c75750305e5090f05fa778b73e07bfaa9b8676406ca58f35321584e95ed60a198074091adf1379cebc24098148e5c4d5484fc6ad335cdcf5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 6:17 [rpms/php-phpunit-php-text-template5] f44: v5.0.1 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox