diff --git a/.gitignore b/.gitignore index 6741e09..b78259f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,3 @@ /php-sabre-xml2-2.2.1-41c6ba1.tgz /php-sabre-xml2-2.2.3-c3b959f.tgz /php-sabre-xml2-2.2.5-a6af111.tgz -/php-sabre-xml2-2.2.6-9cde7cd.tgz -/php-sabre-xml2-2.2.7-f1d53d5.tgz -/php-sabre-xml2-2.2.8-1f89d65.tgz -/php-sabre-xml2-2.2.9-8828871.tgz -/php-sabre-xml2-2.2.10-0734b7a.tgz -/php-sabre-xml2-2.2.11-01a7927.tgz diff --git a/php-sabre-xml2.spec b/php-sabre-xml2.spec index 3fd3555..8bd41c2 100644 --- a/php-sabre-xml2.spec +++ b/php-sabre-xml2.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sabre-xml2 # -# Copyright (c) 2016-2024 Remi Collet -# License: CC-BY-SA-4.0 +# Copyright (c) 2016-2020 Remi Collet +# License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit 01a7927842abf3e10df3d9c2d9b0cc9d813a3fcc +%global gh_commit a6af111850e7536d200d9637c34885cd3c77a86c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sabre-io %global gh_project xml @@ -24,11 +24,11 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Summary: XML library that you may not hate -Version: 2.2.11 -Release: 3%{?dist} +Version: 2.2.5 +Release: 1%{?dist} URL: https://github.com/%{gh_owner}/%{gh_project} -License: BSD-3-Clause +License: BSD # Git snapshot with tests, because of .gitattributes Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh @@ -44,10 +44,10 @@ BuildRequires: php-libxml BuildRequires: php-pcre BuildRequires: php-spl # From composer.json, "require-dev": { -# "friendsofphp/php-cs-fixer": "~2.17.1||3.63.2", +# "friendsofphp/php-cs-fixer": "~2.17.1", # "phpstan/phpstan": "^0.12", -# "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6" -BuildRequires: phpunit9 >= 9.6 +# "phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0" +BuildRequires: phpunit9 %global phpunit %{_bindir}/phpunit9 %endif # Autoloader @@ -132,7 +132,7 @@ cd tests : Run upstream test suite against installed library ret=0 -for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do +for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} || ret=1 @@ -152,51 +152,6 @@ exit $ret %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 2.2.11-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jan 18 2025 Fedora Release Engineering - 2.2.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Sep 6 2024 Remi Collet - 2.2.11-1 -- update to 2.2.11 - -* Wed Aug 28 2024 Remi Collet - 2.2.10-1 -- update to 2.2.10 (no change, CS only) - -* Fri Jul 26 2024 Remi Collet - 2.2.9-1 -- update to 2.2.9 - -* Thu Jul 25 2024 Remi Collet - 2.2.8-1 -- update to 2.2.8 - -* Fri Jul 19 2024 Fedora Release Engineering - 2.2.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Apr 18 2024 Remi Collet - 2.2.7-1 -- update to 2.2.7 - -* Thu Jan 25 2024 Fedora Release Engineering - 2.2.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 2.2.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jul 21 2023 Fedora Release Engineering - 2.2.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Jun 28 2023 Remi Collet - 2.2.6-1 -- update to 2.2.6 - -* Fri Jan 20 2023 Fedora Release Engineering - 2.2.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 2.2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering - 2.2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - * Thu Nov 4 2021 Remi Collet - 2.2.5-1 - update to 2.2.5 diff --git a/sources b/sources index 069f1aa..49718ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sabre-xml2-2.2.11-01a7927.tgz) = fa699fba7851bcf430664880f0d89296dd2215a51d65726f06387d37e2fd04b53724f8290a0f3c444e975b9f0f2b696a87e8d59529660ca060264d709a9aab3c +SHA512 (php-sabre-xml2-2.2.5-a6af111.tgz) = 2139d9cbeb29f5d42603aff275cfe627eb9b8a73a8510661750278650a97361a47777b4324223aa3f52e8d5a0eea5843fba24bd0a39a85d85577d89fbe6183f2