From cc569fefdfbd4a889c807ac36fddb89c6e824077 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 08:24:21 +0000 Subject: [PATCH 01/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index e7787a8..00d373d 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PHP Utility class for timing License: BSD @@ -103,6 +103,9 @@ exit $ret %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 2.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From a081cc01d714de94f55962ebed0b1b0dfdd16ae7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 14:18:11 +0000 Subject: [PATCH 02/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index 00d373d..788c2f6 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: PHP Utility class for timing License: BSD @@ -103,6 +103,9 @@ exit $ret %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 2.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 2.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From e7908d923eea3ea0ee94ecddf7c12ee677e746bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 09:15:35 +0000 Subject: [PATCH 03/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index 788c2f6..7fb461d 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: PHP Utility class for timing License: BSD @@ -103,6 +103,9 @@ exit $ret %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 2.1.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 2.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 5966f6f86c0f3abff8fd44afaf9b62158244b903 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Apr 2023 16:07:24 +0200 Subject: [PATCH 04/11] use SPDX license ID --- php-phpunit-php-timer2.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index 7fb461d..eb2de9f 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunit-php-timer2 # -# Copyright (c) 2010-2019 Christof Damian, Remi Collet +# Copyright (c) 2010-2023 Christof Damian, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -29,10 +29,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: PHP Utility class for timing -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz @@ -84,7 +84,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php72 php73 php74 php80; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php \ %{_bindir}/phpunit8 --verbose || ret=1 @@ -103,6 +103,9 @@ exit $ret %changelog +* Thu Apr 20 2023 Remi Collet - 2.1.3-7 +- use SPDX license ID + * Fri Jan 20 2023 Fedora Release Engineering - 2.1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 542f2256603bc4621b46a637e6a12ff5e8242a09 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 05:03:16 +0000 Subject: [PATCH 05/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index eb2de9f..db58141 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -103,6 +103,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 2.1.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Apr 20 2023 Remi Collet - 2.1.3-7 - use SPDX license ID From 8ed9dbb03252c751ca9629a5f9db922641bda08e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:19:31 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index db58141..f4367a9 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -103,6 +103,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.1.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 2.1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From b7d3af0219c6934ca96b3a6a21937f69bcab2123 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 23:07:01 +0000 Subject: [PATCH 07/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index f4367a9..c729dc6 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -103,6 +103,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2.1.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 14c5cec605b9686be24b7c69562b8d6a27edb912 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Mar 2024 11:09:18 +0100 Subject: [PATCH 08/11] update to 2.1.4 (no change) sources from git snapshot --- .gitignore | 1 + makesrc.sh | 28 ++++++++++++++++++++++++++++ php-phpunit-php-timer2.spec | 17 +++++++++++------ sources | 2 +- 4 files changed, 41 insertions(+), 7 deletions(-) create mode 100755 makesrc.sh diff --git a/.gitignore b/.gitignore index 3f91d21..7118e2f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /php-phpunit-php-timer2-2.1.1-8b389ae.tar.gz /php-phpunit-php-timer2-2.1.2-1038454.tar.gz /php-phpunit-php-timer2-2.1.3-2454ae1.tar.gz +/php-phpunit-php-timer2-2.1.4-a691211.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..3d8028d --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +NAME=$(basename $PWD) +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} + +echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" + +echo "Cloning..." +rm -rf $PROJECT-$COMMIT +git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + +echo "Getting commit..." +pushd $PROJECT-$COMMIT +git checkout $COMMIT +cp composer.json ../composer.json +popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs --exclude tools $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index c729dc6..f02f130 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunit-php-timer2 # -# Copyright (c) 2010-2023 Christof Damian, Remi Collet +# Copyright (c) 2010-2024 Christof Damian, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -8,7 +8,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 2454ae1765516d20c4ffe103d85a58a9a3bd5662 +%global gh_commit a691211e94ff39a34811abd521c31bd5b305b0bb %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-timer @@ -28,13 +28,14 @@ %endif Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.1.3 -Release: 10%{?dist} +Version: 2.1.4 +Release: 1%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz +Source0: %{name}-%{version}-%{gh_short}.tgz +Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.2 @@ -84,7 +85,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php80 php81 php82; do +for cmd in php php81 php82 php83; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php \ %{_bindir}/phpunit8 --verbose || ret=1 @@ -103,6 +104,10 @@ exit $ret %changelog +* Fri Mar 1 2024 Remi Collet - 2.1.4-1 +- update to 2.1.4 (no change) +- sources from git snapshot + * Thu Jan 25 2024 Fedora Release Engineering - 2.1.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 5071c43..dd2633f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpunit-php-timer2-2.1.3-2454ae1.tar.gz) = ee750b5d57eca9af8a327f50d557d16feae29c487dc6420caf2127e2e6b486010bab95e455bb9da7e487b5d9e2a7cd2d4d2aa19622429cc08d907e0263c2fdd4 +SHA512 (php-phpunit-php-timer2-2.1.4-a691211.tgz) = 0ea06d2db0eb91fe5a8bed06425b79ee43397b9c018a444a8aeaeadfdc721295aa2f525e6a3e67d9e53919073c9f91470a0cab1a43b2040b10e60a412e9b9250 From 2b3e67ccd51872a3d56e4db87232eba6db30be76 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:21:11 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index f02f130..8713cf3 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -104,6 +104,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 2.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Mar 1 2024 Remi Collet - 2.1.4-1 - update to 2.1.4 (no change) - sources from git snapshot From 11811abcca84070cc169545add520c217e9a13cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:36:00 +0000 Subject: [PATCH 10/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index 8713cf3..69b0524 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -104,6 +104,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 2.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 2.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 6c93a5611e7e385aa8bdf05ad6d6d43eaa384e14 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:28:31 +0000 Subject: [PATCH 11/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-phpunit-php-timer2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec index 69b0524..c2d5d68 100644 --- a/php-phpunit-php-timer2.spec +++ b/php-phpunit-php-timer2.spec @@ -29,7 +29,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PHP Utility class for timing License: BSD-3-Clause @@ -104,6 +104,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 2.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild