From a6b9ad58282a51ccdf127c025a9f2d7db8da3fc1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 07:31:59 +0000 Subject: [PATCH 01/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index b2af8ce..a9f0ef3 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -21,7 +21,7 @@ Name: php-doctrine-instantiator Version: 1.0.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Instantiate objects in PHP without invoking their constructors Group: Development/Libraries @@ -102,6 +102,9 @@ sed -e '/log/d' phpunit.xml.dist >phpunit.xml %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 073c97bcb30494987e1ce3bc76a44cd16369274d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Aug 2017 11:35:21 +0200 Subject: [PATCH 02/28] Update to 1.1.0 raise dependency on PHP 7.1 switch to phpunit6 use git snapshot for sources --- .gitignore | 1 + makesrc.sh | 28 ++++++++++++++ php-doctrine-instantiator.spec | 67 +++++++++++++++++++++------------- sources | 2 +- 4 files changed, 71 insertions(+), 27 deletions(-) create mode 100755 makesrc.sh diff --git a/.gitignore b/.gitignore index cbb1713..40352bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog /instantiator-1.0.4.tar.gz /instantiator-1.0.5-8e884e7.tar.gz +/php-doctrine-instantiator-1.1.0-185b886.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..87d223d --- /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 .git $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index a9f0ef3..555cc52 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2015 Remi Collet +# Copyright (c) 2014-2017 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,41 +9,46 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit 8e884e78f9f0eb1329e445619e04456e64d8051d +%global gh_commit 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator %if %{bootstrap} -%global with_tests %{?_with_tests:1}%{!?_with_tests:0} +%global with_tests 0%{?_with_tests:1} %else -%global with_tests %{?_without_tests:0}%{!?_without_tests:1} +%global with_tests 0%{!?_without_tests:1} %endif Name: php-doctrine-instantiator -Version: 1.0.5 -Release: 5%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors Group: Development/Libraries License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz +Source0: %{name}-%{version}-%{gh_short}.tgz +Source1: makesrc.sh BuildArch: noarch -BuildRequires: %{_bindir}/phpab +BuildRequires: php-fedora-autoloader-devel %if %{with_tests} -BuildRequires: php(language) >= 5.3 +BuildRequires: php(language) >= 7.1 BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection -BuildRequires: %{_bindir}/phpunit +BuildRequires: php-spl +BuildRequires: phpunit6 >= 6.2.3 %endif # From composer.json -# "php": ">=5.3,<8.0-DEV" -Requires: php(language) >= 5.3 -# From phpcompatinfo report for version 1.0.5 +# "php": "^7.1" +Requires: php(language) >= 7.1 +# From phpcompatinfo report for version 1.1.0 Requires: php-reflection +Requires: php-spl +# Autoloader +Requires: php-composer(fedora/autoloader) Provides: php-composer(doctrine/instantiator) = %{version} @@ -61,6 +66,7 @@ instantiating PHP classes. : Generate a simple autoloader %{_bindir}/phpab \ --output src/Doctrine/Instantiator/autoload.php \ + --template fedora \ src/Doctrine/Instantiator @@ -71,23 +77,26 @@ cp -pr src/* %{buildroot}%{_datadir}/php %check %if %{with_tests} -# "src" directory only needed for EPEL-6 : Generate autoloader +mkdir vendor %{_bindir}/phpab \ - --basedir $PWD \ - --output autoload.php \ - src tests + --output vendor/autoload.php \ + --template fedora \ + tests +cat << 'EOF' | tee -a vendor/autoload.php +require "%{buildroot}%{_datadir}/php/Doctrine/Instantiator/autoload.php"; +EOF -sed -e '/log/d' phpunit.xml.dist >phpunit.xml - -# "pear" directory only needed for EPEL-6 : Run test suite -%{_bindir}/php \ - -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/pear:%{_datadir}/php" \ - %{_bindir}/phpunit \ - --include-path=%{buildroot}%{_datadir}/php \ - --bootstrap autoload.php \ - --verbose +ret=0 +for cmd in php php71 php72; do + if which $cmd; then + $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ + %{_bindir}/phpunit6 \ + --verbose || ret=1 + fi +done +exit $ret %else : Test suite disabled %endif @@ -102,6 +111,12 @@ sed -e '/log/d' phpunit.xml.dist >phpunit.xml %changelog +* Fri Aug 4 2017 Remi Collet - 1.1.0-1 +- Update to 1.1.0 +- raise dependency on PHP 7.1 +- switch to phpunit6 +- use git snapshot for sources + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 7c3556b..e972867 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cfcd289485d451b696aa4799c38f7a1 instantiator-1.0.5-8e884e7.tar.gz +SHA512 (php-doctrine-instantiator-1.1.0-185b886.tgz) = e4870319af257742790c5d350cb8d1deff2f9260e35431f2c4b291ed13fe41aa232639a6ac1112c249ec8026980683b0aeff86f87c1e63b08ecf87f4be7348b6 From bd375b1bf3aa0ffdd3e692ba3927fe3ecad636d3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Aug 2017 11:35:21 +0200 Subject: [PATCH 03/28] Update to 1.1.0 raise dependency on PHP 7.1 switch to phpunit6 use git snapshot for sources (cherry picked from commit 073c97bcb30494987e1ce3bc76a44cd16369274d) --- .gitignore | 1 + makesrc.sh | 28 ++++++++++++++ php-doctrine-instantiator.spec | 69 +++++++++++++++++++++------------- sources | 2 +- 4 files changed, 72 insertions(+), 28 deletions(-) create mode 100755 makesrc.sh diff --git a/.gitignore b/.gitignore index cbb1713..40352bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog /instantiator-1.0.4.tar.gz /instantiator-1.0.5-8e884e7.tar.gz +/php-doctrine-instantiator-1.1.0-185b886.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..87d223d --- /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 .git $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index b2af8ce..be2fb43 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2015 Remi Collet +# Copyright (c) 2014-2017 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,41 +9,46 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit 8e884e78f9f0eb1329e445619e04456e64d8051d +%global gh_commit 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator %if %{bootstrap} -%global with_tests %{?_with_tests:1}%{!?_with_tests:0} +%global with_tests 0%{?_with_tests:1} %else -%global with_tests %{?_without_tests:0}%{!?_without_tests:1} +%global with_tests 0%{!?_without_tests:1} %endif Name: php-doctrine-instantiator -Version: 1.0.5 -Release: 4%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors Group: Development/Libraries License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz +Source0: %{name}-%{version}-%{gh_short}.tgz +Source1: makesrc.sh BuildArch: noarch -BuildRequires: %{_bindir}/phpab +BuildRequires: php-fedora-autoloader-devel %if %{with_tests} -BuildRequires: php(language) >= 5.3 +BuildRequires: php(language) >= 7.1 BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection -BuildRequires: %{_bindir}/phpunit +BuildRequires: php-spl +BuildRequires: phpunit6 >= 6.2.3 %endif # From composer.json -# "php": ">=5.3,<8.0-DEV" -Requires: php(language) >= 5.3 -# From phpcompatinfo report for version 1.0.5 +# "php": "^7.1" +Requires: php(language) >= 7.1 +# From phpcompatinfo report for version 1.1.0 Requires: php-reflection +Requires: php-spl +# Autoloader +Requires: php-composer(fedora/autoloader) Provides: php-composer(doctrine/instantiator) = %{version} @@ -61,6 +66,7 @@ instantiating PHP classes. : Generate a simple autoloader %{_bindir}/phpab \ --output src/Doctrine/Instantiator/autoload.php \ + --template fedora \ src/Doctrine/Instantiator @@ -71,23 +77,26 @@ cp -pr src/* %{buildroot}%{_datadir}/php %check %if %{with_tests} -# "src" directory only needed for EPEL-6 : Generate autoloader +mkdir vendor %{_bindir}/phpab \ - --basedir $PWD \ - --output autoload.php \ - src tests + --output vendor/autoload.php \ + --template fedora \ + tests +cat << 'EOF' | tee -a vendor/autoload.php +require "%{buildroot}%{_datadir}/php/Doctrine/Instantiator/autoload.php"; +EOF -sed -e '/log/d' phpunit.xml.dist >phpunit.xml - -# "pear" directory only needed for EPEL-6 : Run test suite -%{_bindir}/php \ - -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/pear:%{_datadir}/php" \ - %{_bindir}/phpunit \ - --include-path=%{buildroot}%{_datadir}/php \ - --bootstrap autoload.php \ - --verbose +ret=0 +for cmd in php php71 php72; do + if which $cmd; then + $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ + %{_bindir}/phpunit6 \ + --verbose || ret=1 + fi +done +exit $ret %else : Test suite disabled %endif @@ -102,6 +111,12 @@ sed -e '/log/d' phpunit.xml.dist >phpunit.xml %changelog +* Fri Aug 4 2017 Remi Collet - 1.1.0-1 +- Update to 1.1.0 +- raise dependency on PHP 7.1 +- switch to phpunit6 +- use git snapshot for sources + * Sat Feb 11 2017 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild @@ -123,4 +138,4 @@ sed -e '/log/d' phpunit.xml.dist >phpunit.xml - update to 1.0.3 * Mon Aug 25 2014 Remi Collet - 1.0.2-1 -- initial package, version 1.0.2 \ No newline at end of file +- initial package, version 1.0.2 diff --git a/sources b/sources index 7c3556b..e972867 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cfcd289485d451b696aa4799c38f7a1 instantiator-1.0.5-8e884e7.tar.gz +SHA512 (php-doctrine-instantiator-1.1.0-185b886.tgz) = e4870319af257742790c5d350cb8d1deff2f9260e35431f2c4b291ed13fe41aa232639a6ac1112c249ec8026980683b0aeff86f87c1e63b08ecf87f4be7348b6 From 9cdee2df455c4e3cecc6366bd147dfe2824c43bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 03:14:33 +0000 Subject: [PATCH 04/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 555cc52..a90c98f 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -21,7 +21,7 @@ Name: php-doctrine-instantiator Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instantiate objects in PHP without invoking their constructors Group: Development/Libraries @@ -111,6 +111,9 @@ exit $ret %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Aug 4 2017 Remi Collet - 1.1.0-1 - Update to 1.1.0 - raise dependency on PHP 7.1 From ff925edb42e2cd547b38bfa0cb02558fb4daf38e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 21:18:41 +0000 Subject: [PATCH 05/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index a90c98f..a4a20de 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -21,7 +21,7 @@ Name: php-doctrine-instantiator Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Instantiate objects in PHP without invoking their constructors Group: Development/Libraries @@ -111,6 +111,9 @@ exit $ret %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 69538def9683fe4912b3f97a7d1c6496885dbcf8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:10 +0100 Subject: [PATCH 06/28] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- php-doctrine-instantiator.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index a4a20de..3d3d5af 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -24,7 +24,6 @@ Version: 1.1.0 Release: 3%{?dist} Summary: Instantiate objects in PHP without invoking their constructors -Group: Development/Libraries License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{version}-%{gh_short}.tgz From d1e7a1f003f4037eac742a00cf2dda7447eef33a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 02:26:33 +0000 Subject: [PATCH 07/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 3d3d5af..7bd292c 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -21,7 +21,7 @@ Name: php-doctrine-instantiator Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -110,6 +110,9 @@ exit $ret %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From c936c7456729d951e95e6ee16d901b32d96cf92e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Mar 2019 12:32:22 +0100 Subject: [PATCH 08/28] v1.2.0 --- .gitignore | 1 + php-doctrine-instantiator.spec | 28 +++++++++++++++++----------- sources | 2 +- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 40352bd..37c5707 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ clog /instantiator-1.0.4.tar.gz /instantiator-1.0.5-8e884e7.tar.gz /php-doctrine-instantiator-1.1.0-185b886.tgz +/php-doctrine-instantiator-1.2.0-a2c5901.tgz diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 7bd292c..fcd40c8 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2017 Remi Collet +# Copyright (c) 2014-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit 185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda +%global gh_commit a2c590166b2133a4633738648b6b064edae0814a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -20,13 +20,15 @@ %endif Name: php-doctrine-instantiator -Version: 1.1.0 -Release: 4%{?dist} +Release: 1%{?dist} +%global major %nil +%else +Version: 1.2.0 Summary: Instantiate objects in PHP without invoking their constructors License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: %{name}-%{version}-%{gh_short}.tgz +Source0: php-%{gh_owner}-%{gh_project}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch @@ -37,7 +39,7 @@ BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection BuildRequires: php-spl -BuildRequires: phpunit6 >= 6.2.3 +BuildRequires: phpunit6 %endif # From composer.json @@ -49,6 +51,8 @@ Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) +Obsoletes: php-doctrine-instantiator11 < %{version}-%{release} +Provides: php-doctrine-instantiator11 = %{version}-%{release} Provides: php-composer(doctrine/instantiator) = %{version} @@ -70,8 +74,8 @@ instantiating PHP classes. %install -mkdir -p %{buildroot}%{_datadir}/php -cp -pr src/* %{buildroot}%{_datadir}/php +mkdir -p %{buildroot}%{_datadir}/php/Doctrine +cp -pr src/Doctrine/Instantiator %{buildroot}%{_datadir}/php/Doctrine/Instantiator%{major} %check @@ -88,7 +92,7 @@ EOF : Run test suite ret=0 -for cmd in php php71 php72; do +for cmd in php php71 php72 php73; do if which $cmd; then $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ %{_bindir}/phpunit6 \ @@ -102,14 +106,16 @@ exit $ret %files -%{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md composer.json %dir %{_datadir}/php/Doctrine - %{_datadir}/php/Doctrine/Instantiator + %{_datadir}/php/Doctrine/Instantiator%{major} %changelog +* Mon Mar 25 2019 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index e972867..33a3bfd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.1.0-185b886.tgz) = e4870319af257742790c5d350cb8d1deff2f9260e35431f2c4b291ed13fe41aa232639a6ac1112c249ec8026980683b0aeff86f87c1e63b08ecf87f4be7348b6 +SHA512 (php-doctrine-instantiator-1.2.0-a2c5901.tgz) = 572483eef61f914faa90ac987b917b4041b4c457bb83001b78487ad6e4f6180412d27890994f3d5a79cb8f4f9e4b7c30cbb8edfb9edddbe40d3a045f8a2601b1 From db795c8caa4d65d0aece1e3b411e06184e6461dc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Mar 2019 12:33:43 +0100 Subject: [PATCH 09/28] minor cleanup --- php-doctrine-instantiator.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index fcd40c8..94aca51 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,6 @@ Name: php-doctrine-instantiator Release: 1%{?dist} %global major %nil -%else Version: 1.2.0 Summary: Instantiate objects in PHP without invoking their constructors From d83901b2a4be35f9daf82e5e0b1ff208b894444c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 08:53:40 +0000 Subject: [PATCH 10/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 94aca51..ca6ab0f 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -20,7 +20,7 @@ %endif Name: php-doctrine-instantiator -Release: 1%{?dist} +Release: 2%{?dist} %global major %nil Version: 1.2.0 Summary: Instantiate objects in PHP without invoking their constructors @@ -112,6 +112,9 @@ exit $ret %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Mon Mar 25 2019 Remi Collet - 1.2.0-1 - update to 1.2.0 From beca566fb66aa2efa84cfdd3ae15a52b4236d21f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Nov 2019 16:28:10 +0100 Subject: [PATCH 11/28] v1.3.0 --- .gitignore | 1 + php-doctrine-instantiator.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 37c5707..ef2c6c0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ clog /instantiator-1.0.5-8e884e7.tar.gz /php-doctrine-instantiator-1.1.0-185b886.tgz /php-doctrine-instantiator-1.2.0-a2c5901.tgz +/php-doctrine-instantiator-1.3.0-ae466f7.tgz diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index ca6ab0f..2bc6656 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -9,7 +9,7 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit a2c590166b2133a4633738648b6b064edae0814a +%global gh_commit ae466f726242e637cebdd526a7d991b9433bacf1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -20,9 +20,9 @@ %endif Name: php-doctrine-instantiator -Release: 2%{?dist} +Release: 1%{?dist} %global major %nil -Version: 1.2.0 +Version: 1.3.0 Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -91,7 +91,7 @@ EOF : Run test suite ret=0 -for cmd in php php71 php72 php73; do +for cmd in php php71 php72 php73 php74; do if which $cmd; then $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ %{_bindir}/phpunit6 \ @@ -112,6 +112,9 @@ exit $ret %changelog +* Wed Nov 13 2019 Remi Collet - 1.3.0-1 +- update to 1.3.0 + * Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 33a3bfd..5469180 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.2.0-a2c5901.tgz) = 572483eef61f914faa90ac987b917b4041b4c457bb83001b78487ad6e4f6180412d27890994f3d5a79cb8f4f9e4b7c30cbb8edfb9edddbe40d3a045f8a2601b1 +SHA512 (php-doctrine-instantiator-1.3.0-ae466f7.tgz) = 880ae286ea0895f1ccc96f0fd8756f50bd8c4dfce35ec331aa3158250cd1168366e877dd32a8c849a0aeabc495465de1d8e5a880ba49f62811f21dd17f334424 From 7f1fd00279f0603906de1f5297e438d66ed9425f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 07:03:51 +0000 Subject: [PATCH 12/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 2bc6656..6ddbe32 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -20,7 +20,7 @@ %endif Name: php-doctrine-instantiator -Release: 1%{?dist} +Release: 2%{?dist} %global major %nil Version: 1.3.0 Summary: Instantiate objects in PHP without invoking their constructors @@ -112,6 +112,9 @@ exit $ret %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Nov 13 2019 Remi Collet - 1.3.0-1 - update to 1.3.0 From c229067104ef0e0d2c264409730c09fd34a51428 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jun 2020 08:39:39 +0200 Subject: [PATCH 13/28] update to 1.3.1 (no change) switch to phpunit8 --- .gitignore | 1 + php-doctrine-instantiator.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ef2c6c0..f34aa03 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ clog /php-doctrine-instantiator-1.1.0-185b886.tgz /php-doctrine-instantiator-1.2.0-a2c5901.tgz /php-doctrine-instantiator-1.3.0-ae466f7.tgz +/php-doctrine-instantiator-1.3.1-f350df0.tgz diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 6ddbe32..6148243 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2019 Remi Collet +# Copyright (c) 2014-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,10 +9,11 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit ae466f726242e637cebdd526a7d991b9433bacf1 +%global gh_commit f350df0268e904597e3bd9c4685c53e0e333feea %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator +%global major %nil %if %{bootstrap} %global with_tests 0%{?_with_tests:1} %else @@ -20,9 +21,8 @@ %endif Name: php-doctrine-instantiator -Release: 2%{?dist} -%global major %nil -Version: 1.3.0 +Version: 1.3.1 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -38,11 +38,11 @@ BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection BuildRequires: php-spl -BuildRequires: phpunit6 +BuildRequires: phpunit8 %endif # From composer.json -# "php": "^7.1" +# "php": "^7.1 || ^8.0" Requires: php(language) >= 7.1 # From phpcompatinfo report for version 1.1.0 Requires: php-reflection @@ -91,10 +91,10 @@ EOF : Run test suite ret=0 -for cmd in php php71 php72 php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ - %{_bindir}/phpunit6 \ + %{_bindir}/phpunit8 \ --verbose || ret=1 fi done @@ -112,6 +112,10 @@ exit $ret %changelog +* Tue Jun 2 2020 Remi Collet - 1.3.1-1 +- update to 1.3.1 (no change) +- switch to phpunit8 + * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 5469180..ef6ac57 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.3.0-ae466f7.tgz) = 880ae286ea0895f1ccc96f0fd8756f50bd8c4dfce35ec331aa3158250cd1168366e877dd32a8c849a0aeabc495465de1d8e5a880ba49f62811f21dd17f334424 +SHA512 (php-doctrine-instantiator-1.3.1-f350df0.tgz) = 27c7d77c3af4c03a8e9be93e3835baa2e3343d88ca1baedd44eba294725dcc69bf92a9b2b0013d9ccce75599302f2b698f2dac28beae86ba04215b37898ca2d0 From 35bc398b98afea530fe964c6791ec7f996c50af1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 20:51:04 +0000 Subject: [PATCH 14/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 6148243..390a1f2 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -112,6 +112,9 @@ exit $ret %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jun 2 2020 Remi Collet - 1.3.1-1 - update to 1.3.1 (no change) - switch to phpunit8 From fd23463df7b09a28a7525e19ddf5254a2554dae1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 12 Nov 2020 08:11:03 +0100 Subject: [PATCH 15/28] update to 1.4.0 (no change) switch to phpunit9 --- .gitignore | 1 + composer.json | 42 ++++++++++++++++++++++++++++++++++ php-doctrine-instantiator.spec | 26 ++++++++++++++------- sources | 2 +- 4 files changed, 62 insertions(+), 9 deletions(-) create mode 100644 composer.json diff --git a/.gitignore b/.gitignore index f34aa03..1141e21 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ clog /php-doctrine-instantiator-1.2.0-a2c5901.tgz /php-doctrine-instantiator-1.3.0-ae466f7.tgz /php-doctrine-instantiator-1.3.1-f350df0.tgz +/php-doctrine-instantiator-1.4.0-d56bf61.tgz diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..1ce3473 --- /dev/null +++ b/composer.json @@ -0,0 +1,42 @@ +{ + "name": "doctrine/instantiator", + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "type": "library", + "license": "MIT", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "instantiate", + "constructor" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "ext-phar": "*", + "ext-pdo": "*", + "doctrine/coding-standard": "^8.0", + "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "autoload-dev": { + "psr-0": { + "DoctrineTest\\InstantiatorPerformance\\": "tests", + "DoctrineTest\\InstantiatorTest\\": "tests", + "DoctrineTest\\InstantiatorTestAsset\\": "tests" + } + } +} diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 390a1f2..704e2fd 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -9,7 +9,7 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit f350df0268e904597e3bd9c4685c53e0e333feea +%global gh_commit d56bf6102915de5702778fe20f2de3b2fe570b5b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -21,8 +21,8 @@ %endif Name: php-doctrine-instantiator -Version: 1.3.1 -Release: 2%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -38,7 +38,12 @@ BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection BuildRequires: php-spl -BuildRequires: phpunit8 +%if 0%{?fedora} >=31 || 0%{?rhel} >= 9 +%global phpunit %{_bindir}/phpunit9 +%else +%global phpunit %{_bindir}/phpunit8 +%endif +BuildRequires: %{phpunit} %endif # From composer.json @@ -91,10 +96,11 @@ EOF : Run test suite ret=0 -for cmd in php php73 php74 php80; do - if which $cmd; then - $cmd -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ - %{_bindir}/phpunit8 \ +for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do + if which $cmdarg; then + set $cmdarg + $1 -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ + ${2:-%{_bindir}/phpunit9} \ --verbose || ret=1 fi done @@ -112,6 +118,10 @@ exit $ret %changelog +* Thu Nov 12 2020 Remi Collet - 1.4.0-1 +- update to 1.4.0 (no change) +- switch to phpunit9 + * Tue Jul 28 2020 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index ef6ac57..d4da5f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.3.1-f350df0.tgz) = 27c7d77c3af4c03a8e9be93e3835baa2e3343d88ca1baedd44eba294725dcc69bf92a9b2b0013d9ccce75599302f2b698f2dac28beae86ba04215b37898ca2d0 +SHA512 (php-doctrine-instantiator-1.4.0-d56bf61.tgz) = 76d6a0f4c07ca85271f21b675ba867fd3b17862e7f1ae351bb8f917a8f2ac5c66d5e3b6372535d41884680440fa8a4d0ad9a0d3fc34628a8220d360968da7ed9 From 51b0d445ea7dcb84eb4c7d6e9320661b25852bff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 06:33:19 +0000 Subject: [PATCH 16/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 704e2fd..8042a98 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -118,6 +118,9 @@ exit $ret %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Thu Nov 12 2020 Remi Collet - 1.4.0-1 - update to 1.4.0 (no change) - switch to phpunit9 From 287814a0f18d90b27c14a6eae0f8cf16fb1e40e4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 01:46:59 +0000 Subject: [PATCH 17/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 8042a98..376f4af 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -118,6 +118,9 @@ exit $ret %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From cfc2e3f235862ebb09202efb46ad253e5ceeacbd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:28:57 +0000 Subject: [PATCH 18/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 376f4af..6f32cd3 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -118,6 +118,9 @@ exit $ret %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From cf83f09549f19dcb2f053960f60cc0d294c5f8f1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Mar 2022 14:02:19 +0100 Subject: [PATCH 19/28] v1.4.1 --- .gitignore | 1 + php-doctrine-instantiator.spec | 22 ++++++++++++---------- sources | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 1141e21..ed1b6b5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ clog /php-doctrine-instantiator-1.3.0-ae466f7.tgz /php-doctrine-instantiator-1.3.1-f350df0.tgz /php-doctrine-instantiator-1.4.0-d56bf61.tgz +/php-doctrine-instantiator-1.4.1-10dcfce.tgz diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 6f32cd3..1c9e90d 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2020 Remi Collet +# Copyright (c) 2014-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit d56bf6102915de5702778fe20f2de3b2fe570b5b +%global gh_commit 10dcfce151b967d20fde1b34ae6640712c3891bc %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -21,8 +21,8 @@ %endif Name: php-doctrine-instantiator -Version: 1.4.0 -Release: 4%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -38,11 +38,7 @@ BuildRequires: php-phar BuildRequires: php-pdo BuildRequires: php-reflection BuildRequires: php-spl -%if 0%{?fedora} >=31 || 0%{?rhel} >= 9 %global phpunit %{_bindir}/phpunit9 -%else -%global phpunit %{_bindir}/phpunit8 -%endif BuildRequires: %{phpunit} %endif @@ -92,14 +88,17 @@ mkdir vendor tests cat << 'EOF' | tee -a vendor/autoload.php require "%{buildroot}%{_datadir}/php/Doctrine/Instantiator/autoload.php"; +Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorPerformance\\', dirname(__DIR__).'/tests'); +Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorTest\\', dirname(__DIR__).'/tests'); +Fedora\Autoloader\Autoload::addPsr0('DoctrineTest\\InstantiatorTestAsset\\', dirname(__DIR__).'/tests'); EOF : Run test suite ret=0 -for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php74 php80 php81; do if which $cmdarg; then set $cmdarg - $1 -d include_path=".:%{buildroot}%{_datadir}/php:%{_datadir}/php" \ + $1 -d auto_prepend_file=vendor/autoload.php \ ${2:-%{_bindir}/phpunit9} \ --verbose || ret=1 fi @@ -118,6 +117,9 @@ exit $ret %changelog +* Thu Mar 3 2022 Remi Collet - 1.4.1-1 +- update to 1.4.1 + * Fri Jan 21 2022 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index d4da5f2..44415b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.4.0-d56bf61.tgz) = 76d6a0f4c07ca85271f21b675ba867fd3b17862e7f1ae351bb8f917a8f2ac5c66d5e3b6372535d41884680440fa8a4d0ad9a0d3fc34628a8220d360968da7ed9 +SHA512 (php-doctrine-instantiator-1.4.1-10dcfce.tgz) = a05a1b58cca70030f85a1fdfc7403dea074aff5164545da398754cc66b488764e3ad455288463ec28663e5c92610b878d1d82c0c8e4b93c2119d55e8a7957069 From 23c313602b672ff994e4490e81d51d81298ea73d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:22:27 +0000 Subject: [PATCH 20/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 1c9e90d..fabf8b1 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Mar 3 2022 Remi Collet - 1.4.1-1 - update to 1.4.1 From 3e01ae8bcbf2bc2728450ce3f2d6cbe5c128ed14 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Jan 2023 11:11:50 +0100 Subject: [PATCH 21/28] v1.5.0 --- .gitignore | 1 + php-doctrine-instantiator.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index ed1b6b5..63f8369 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ clog /php-doctrine-instantiator-1.3.1-f350df0.tgz /php-doctrine-instantiator-1.4.0-d56bf61.tgz /php-doctrine-instantiator-1.4.1-10dcfce.tgz +/php-doctrine-instantiator-1.5.0-0a0fa97.tgz diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index fabf8b1..57bed82 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-doctrine-instantiator # -# Copyright (c) 2014-2022 Remi Collet +# Copyright (c) 2014-2023 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -9,7 +9,7 @@ # bootstrap needed when rebuilding PHPUnit for new major version %global bootstrap 0 -%global gh_commit 10dcfce151b967d20fde1b34ae6640712c3891bc +%global gh_commit 0a0fa9780f5d4e507415a065172d26a98d02047b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner doctrine %global gh_project instantiator @@ -21,8 +21,8 @@ %endif Name: php-doctrine-instantiator -Version: 1.4.1 -Release: 2%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -95,7 +95,7 @@ EOF : Run test suite ret=0 -for cmdarg in "php %{phpunit}" php74 php80 php81; do +for cmdarg in "php %{phpunit}" php80 php81 php82; do if which $cmdarg; then set $cmdarg $1 -d auto_prepend_file=vendor/autoload.php \ @@ -117,6 +117,9 @@ exit $ret %changelog +* Tue Jan 3 2023 Remi Collet - 1.5.0-1 +- update to 1.5.0 + * Fri Jul 22 2022 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 44415b5..32404d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-doctrine-instantiator-1.4.1-10dcfce.tgz) = a05a1b58cca70030f85a1fdfc7403dea074aff5164545da398754cc66b488764e3ad455288463ec28663e5c92610b878d1d82c0c8e4b93c2119d55e8a7957069 +SHA512 (php-doctrine-instantiator-1.5.0-0a0fa97.tgz) = 0ec9c5ea6a72fcbbd1752196de849c6530a09d95c7b86bed45b67639db39d1130f03c3bf6cfa373ed063298223c995a16fe219e09d849b5ce55a64ba7817062f From c23e2bca2118431f6219f97c7c5bfdb56be539dd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:24:56 +0000 Subject: [PATCH 22/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 57bed82..4292079 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 3 2023 Remi Collet - 1.5.0-1 - update to 1.5.0 From d9f14fd2181ecf660658216c2d30b5657f55a5c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:13:37 +0000 Subject: [PATCH 23/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 4292079..b04a780 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 00bf1c4325006abd89a8d329ae16d17e0d417aa0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 20:48:04 +0000 Subject: [PATCH 24/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index b04a780..8c8c152 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From d956f76a2125516fc5db1c1cae76f7d50a41a73e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:34:14 +0000 Subject: [PATCH 25/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 8c8c152..45be532 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 70a23a0020d556b6de1cc93b2ee597805a273c7d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:50:16 +0000 Subject: [PATCH 26/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 45be532..4c60790 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 1.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7e5d03e7c78c63b8446612f33fe6efa4c9681575 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:00:43 +0000 Subject: [PATCH 27/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 4c60790..6db570a 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 1.5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 1.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9a841058cf61e1ee5733a8ea744d0b19651d992d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:11:09 +0000 Subject: [PATCH 28/28] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-doctrine-instantiator.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec index 6db570a..cabacc6 100644 --- a/php-doctrine-instantiator.spec +++ b/php-doctrine-instantiator.spec @@ -22,7 +22,7 @@ Name: php-doctrine-instantiator Version: 1.5.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Instantiate objects in PHP without invoking their constructors License: MIT @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 1.5.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild