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-phpunit-php-text-template5] f43: v5.0.1
Date: Tue, 06 Oct 2026 06:18:11 GMT	[thread overview]
Message-ID: <179126749112.1.2895558279230418085.rpms-php-phpunit-php-text-template5-86709d56751d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/php-phpunit-php-text-template5
            Branch : f43
            Commit : 86709d56751d30f1978162cae7f1b45ce456616e
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-10-06T08:18:02+02:00
            Stats  : +22/-29 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-phpunit-php-text-template5/c/86709d56751d30f1978162cae7f1b45ce456616e?branch=f43

            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 14c565f..8fc1bcb 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:        3%{?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
+
 * Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_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

                 reply	other threads:[~2026-10-06  6:18 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=179126749112.1.2895558279230418085.rpms-php-phpunit-php-text-template5-86709d56751d@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