From 2a4cb8f55ff9aefd394a67efc5565083efd4939e Mon Sep 17 00:00:00 2001 From: Shawn Iwinski Date: Fri, 16 May 2014 12:09:00 -0400 Subject: [PATCH 01/41] Updated to 1.0.0-beta1 (BZ #1096697) --- .gitignore | 1 + php-PHPParser.spec | 47 ++++++++++++++++++++++++++-------------------- sources | 1 + 3 files changed, 29 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index d60fe47..1907de1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /v0.9.3.tar.gz /php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz +/php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index f261cf0..1049a1e 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,15 +1,17 @@ %global github_owner nikic %global github_name PHP-Parser -%global github_version 0.9.4 -%global github_commit 1e5e280ae88a27effa2ae4aa2bd088494ed8594f +%global github_version 1.0.0 +%global github_commit a6d46c17b10d89f35a92fa4b8fb5071615bfb36c +%global github_release .beta1 -%global lib_name PHPParser +%global lib_name PhpParser +%global lib_name_old PHPParser -%global php_min_ver 5.2.0 +%global php_min_ver 5.3 -Name: php-%{lib_name} +Name: php-%{lib_name_old} Version: %{github_version} -Release: 1%{?dist} +Release: 0.1%{?github_release}%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -20,27 +22,23 @@ Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{githu BuildArch: noarch # For tests BuildRequires: php(language) >= %{php_min_ver} -BuildRequires: php-pear(pear.phpunit.de/PHPUnit) -# For tests: phpcompatinfo + +BuildRequires: %{_bindir}/phpunit +# For tests: phpcompatinfo (computed from version 1.0.0-beta1) BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-tokenizer -BuildRequires: php-xmlreader -BuildRequires: php-xmlwriter +# composer.json Requires: php(language) >= %{php_min_ver} -# phpcompatinfo requires +Requires: php-tokenizer +# phpcompatinfo (computed from version 1.0.0-beta1) Requires: php-ctype Requires: php-filter Requires: php-pcre Requires: php-spl -Requires: php-tokenizer -Requires: php-xmlreader -Requires: php-xmlwriter - -Obsoletes: %{name}-test %description A PHP parser written in PHP to simplify static analysis and code manipulation. @@ -58,6 +56,11 @@ A PHP parser written in PHP to simplify static analysis and code manipulation. mkdir -p -m 755 %{buildroot}%{_datadir}/php cp -rp lib/%{lib_name} %{buildroot}%{_datadir}/php/ +# Compat with old version (< 1.0.0) +mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{lib_name_old} +ln -s ../%{lib_name}/Autoloader.php \ + %{buildroot}%{_datadir}/php/%{lib_name_old}/Autoloader.php + %check %{_bindir}/phpunit @@ -65,12 +68,16 @@ cp -rp lib/%{lib_name} %{buildroot}%{_datadir}/php/ %files %doc LICENSE *.md doc grammar composer.json +%{_datadir}/php/%{lib_name_old} %{_datadir}/php/%{lib_name} %changelog -* Fri Nov 15 2013 Shawn Iwinski 0.9.4-1 -- Updated to 0.9.4 +* Fri May 16 2014 Shawn Iwinski - 1.0.0-0.1.beta1 +- Updated to 1.0.0-beta1 (BZ #1096697) + +* Fri Nov 15 2013 Shawn Iwinski - 0.9.4-1 +- Updated to 0.9.4 (BZ #1001126) - Spec cleanup * Sun Aug 04 2013 Fedora Release Engineering - 0.9.3-4 @@ -79,9 +86,9 @@ cp -rp lib/%{lib_name} %{buildroot}%{_datadir}/php/ * Thu Feb 14 2013 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -* Mon Dec 31 2012 Shawn Iwinski 0.9.3-2 +* Mon Dec 31 2012 Shawn Iwinski - 0.9.3-2 - Added php_min_ver - Fixed requires for php_min_ver and non-Fedora -* Thu Dec 20 2012 Shawn Iwinski 0.9.3-1 +* Thu Dec 20 2012 Shawn Iwinski - 0.9.3-1 - Initial package diff --git a/sources b/sources index 4a689ef..dcc8e4f 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ 9823c79433a2d6dccb0d4a27c6d19829 v0.9.3.tar.gz bf1d7c80e57d97ae4ddfc26dd2f6d3aa php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz +4113bcd5a1836d97eedff0a8f589e03b php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz From a8a1bba9d7f4a4d4f59346ef437b28a806e2ba68 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 08:23:35 -0500 Subject: [PATCH 02/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 1049a1e..5f2834c 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -11,7 +11,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 0.1%{?github_release}%{?dist} +Release: 0.2%{?github_release}%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -73,6 +73,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.0-0.2.beta1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Fri May 16 2014 Shawn Iwinski - 1.0.0-0.1.beta1 - Updated to 1.0.0-beta1 (BZ #1096697) From 4e55f18777b94de43e8106a2ad5f4e8c2db28881 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Jul 2014 13:39:17 +0200 Subject: [PATCH 03/41] - provide php-composer(nikic/php-parser) - fix license handling --- php-PHPParser.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 5f2834c..80e3e7e 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -11,7 +11,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 0.2%{?github_release}%{?dist} +Release: 0.3%{?github_release}%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -40,6 +40,9 @@ Requires: php-filter Requires: php-pcre Requires: php-spl +Provides: php-composer(nikic/php-parser) = %{version} + + %description A PHP parser written in PHP to simplify static analysis and code manipulation. @@ -67,12 +70,18 @@ ln -s ../%{lib_name}/Autoloader.php \ %files -%doc LICENSE *.md doc grammar composer.json +%{!?_licensedir:%global license %%doc} +%license LICENSE +%doc *.md doc grammar composer.json %{_datadir}/php/%{lib_name_old} %{_datadir}/php/%{lib_name} %changelog +* Wed Jul 23 2014 Remi Collet 1.0.0-0.3.beta1 +- provide php-composer(nikic/php-parser) +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 1.0.0-0.2.beta1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From c4ff8a14581069e5046b49eb358844ec7bbe5abb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Sep 2014 15:46:48 +0200 Subject: [PATCH 04/41] update to 1.0.0 --- .gitignore | 1 + php-PHPParser.spec | 18 +++++++++++------- sources | 4 +--- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 1907de1..95ab038 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /v0.9.3.tar.gz /php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz /php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz +/php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 80e3e7e..07cd1a6 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,8 +1,7 @@ %global github_owner nikic %global github_name PHP-Parser %global github_version 1.0.0 -%global github_commit a6d46c17b10d89f35a92fa4b8fb5071615bfb36c -%global github_release .beta1 +%global github_commit 2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94 %global lib_name PhpParser %global lib_name_old PHPParser @@ -11,7 +10,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 0.3%{?github_release}%{?dist} +Release: 1%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -24,21 +23,23 @@ BuildArch: noarch BuildRequires: php(language) >= %{php_min_ver} BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.0.0-beta1) -BuildRequires: php-ctype +# For tests: phpcompatinfo (computed from version 1.0.0) BuildRequires: php-filter BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-tokenizer +Requires: php-xmlreader +Requires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.0.0-beta1) -Requires: php-ctype +# phpcompatinfo (computed from version 1.0.0) Requires: php-filter Requires: php-pcre Requires: php-spl +Requires: php-xmlreader +Requires: php-xmlwriter Provides: php-composer(nikic/php-parser) = %{version} @@ -78,6 +79,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Sep 12 2014 Remi Collet 1.0.0-1 +- Update to 1.0.0 + * Wed Jul 23 2014 Remi Collet 1.0.0-0.3.beta1 - provide php-composer(nikic/php-parser) - fix license handling diff --git a/sources b/sources index dcc8e4f..0641242 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -9823c79433a2d6dccb0d4a27c6d19829 v0.9.3.tar.gz -bf1d7c80e57d97ae4ddfc26dd2f6d3aa php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz -4113bcd5a1836d97eedff0a8f589e03b php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz +fb3e2296632e6d6131992bd24a17a5c4 php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz From c9adba24a4010dfc80c56d9f5cb06a77e13340e4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Sep 2014 16:10:22 +0200 Subject: [PATCH 05/41] fix typo --- php-PHPParser.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 07cd1a6..8e7ae50 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,8 +28,8 @@ BuildRequires: php-filter BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-tokenizer -Requires: php-xmlreader -Requires: php-xmlwriter +BuildRequires: php-xmlreader +BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} From e6beac04bec4b0fcc33fa51e0de579468786ed3d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Oct 2014 10:06:26 +0200 Subject: [PATCH 06/41] update to 1.0.1 --- .gitignore | 1 + php-PHPParser.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 95ab038..16d6e47 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz /php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz /php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz +/php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 8e7ae50..40efd6e 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,7 +1,7 @@ %global github_owner nikic %global github_name PHP-Parser -%global github_version 1.0.0 -%global github_commit 2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94 +%global github_version 1.0.1 +%global github_commit b9a60372f26356feb85b4b9ca50a395a5f0d7f34 %global lib_name PhpParser %global lib_name_old PHPParser @@ -79,6 +79,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Thu Oct 16 2014 Remi Collet 1.0.1-1 +- Update to 1.0.1 + * Fri Sep 12 2014 Remi Collet 1.0.0-1 - Update to 1.0.0 diff --git a/sources b/sources index 0641242..e827b8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fb3e2296632e6d6131992bd24a17a5c4 php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz +5cfbefbb48599d85982b49771be012fb php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz From b25613a2a3b00c9a9276d8b26a215bfbbf0789f8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Nov 2014 10:23:16 +0100 Subject: [PATCH 07/41] update to 1.0.2 --- .gitignore | 1 + php-PHPParser.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 16d6e47..8e9a39e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz /php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz /php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz +/php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 40efd6e..468eee1 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,7 +1,7 @@ %global github_owner nikic %global github_name PHP-Parser -%global github_version 1.0.1 -%global github_commit b9a60372f26356feb85b4b9ca50a395a5f0d7f34 +%global github_version 1.0.2 +%global github_commit a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1 %global lib_name PhpParser %global lib_name_old PHPParser @@ -21,9 +21,9 @@ Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{githu BuildArch: noarch # For tests BuildRequires: php(language) >= %{php_min_ver} - BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.0.0) +# For tests: phpcompatinfo (computed from version 1.0.2) +BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre BuildRequires: php-spl @@ -34,7 +34,7 @@ BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.0.0) +# phpcompatinfo (computed from version 1.0.2) Requires: php-filter Requires: php-pcre Requires: php-spl @@ -79,6 +79,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Wed Nov 5 2014 Remi Collet 1.0.2-1 +- Update to 1.0.2 + * Thu Oct 16 2014 Remi Collet 1.0.1-1 - Update to 1.0.1 diff --git a/sources b/sources index e827b8b..6b15f58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5cfbefbb48599d85982b49771be012fb php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz +939448c4ffe413b6d8ba488720e8599b php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz From 44a1f75f5d92e364e03ae3741fd0f3bea1cae9e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 26 Feb 2015 08:05:34 +0100 Subject: [PATCH 08/41] - provide php-composer(nikic/php-parser) - fix license handling --- .gitignore | 3 ++- makesrc.sh | 24 ++++++++++++++++++++++ php-PHPParser-command.patch | 13 ++++++++++++ php-PHPParser.spec | 40 +++++++++++++++++++++++++++++++------ sources | 2 +- 5 files changed, 74 insertions(+), 8 deletions(-) create mode 100755 makesrc.sh create mode 100644 php-PHPParser-command.patch diff --git a/.gitignore b/.gitignore index 8e9a39e..cd029e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ -/v0.9.3.tar.gz +clog /php-PHPParser-0.9.4-1e5e280ae88a27effa2ae4aa2bd088494ed8594f.tar.gz /php-PHPParser-1.0.0-a6d46c17b10d89f35a92fa4b8fb5071615bfb36c.tar.gz /php-PHPParser-1.0.0-2b96ab8edccd5a0d0e7a826a7dc53c421ae64f94.tar.gz /php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz /php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz +/php-PHPParser-1.1.0-ac05ef6.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..d78aad2 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +NAME=php-PHPParser +OWNER=nikic +PROJECT=PHP-Parser +VERSION=$(sed -n '/^%global github_version/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global github_commit/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} + +echo "Cloning..." +git clone https://github.com/nikic/PHP-Parser.git $PROJECT-$SHORT + +echo "Gettin commit..." +pushd $PROJECT-$SHORT +git checkout $COMMIT +popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$SHORT + +echo "Cleaning..." +rm -rf $PROJECT-$SHORT + +echo "Done." diff --git a/php-PHPParser-command.patch b/php-PHPParser-command.patch new file mode 100644 index 0000000..0a8cfd5 --- /dev/null +++ b/php-PHPParser-command.patch @@ -0,0 +1,13 @@ +diff -up bin/php-parse.php.rpm bin/php-parse.php +--- bin/php-parse.php.rpm 2015-02-25 17:52:01.000000000 +0100 ++++ bin/php-parse.php 2015-02-25 17:52:55.000000000 +0100 +@@ -1,6 +1,8 @@ ++#!/usr/bin/php + +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# + %global github_owner nikic %global github_name PHP-Parser -%global github_version 1.0.2 -%global github_commit a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1 +%global github_version 1.1.0 +%global github_commit ac05ef6f95bf8361549604b6031c115f92f39528 +%global github_short %(c=%{github_commit}; echo ${c:0:7}) %global lib_name PhpParser %global lib_name_old PHPParser @@ -16,13 +28,19 @@ Summary: A PHP parser written in PHP Group: Development/Libraries License: BSD URL: https://github.com/%{github_owner}/%{github_name} -Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +# Upstream tarball don't provide test suite +# Use mksrc.sh to generate a git snapshot tarball +Source0: %{name}-%{github_version}-%{github_short}.tgz +Source1: makesrc.sh + +# Patch for distribution +Patch0: %{name}-command.patch BuildArch: noarch # For tests BuildRequires: php(language) >= %{php_min_ver} BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.0.2) +# For tests: phpcompatinfo (computed from version 1.1.0) BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre @@ -34,7 +52,7 @@ BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.0.2) +# phpcompatinfo (computed from version 1.1.0) Requires: php-filter Requires: php-pcre Requires: php-spl @@ -49,7 +67,9 @@ A PHP parser written in PHP to simplify static analysis and code manipulation. %prep -%setup -q -n %{github_name}-%{github_commit} +%setup -q -n %{github_name}-%{github_short} + +%patch0 -p0 -b .rpm %build @@ -65,6 +85,8 @@ mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{lib_name_old} ln -s ../%{lib_name}/Autoloader.php \ %{buildroot}%{_datadir}/php/%{lib_name_old}/Autoloader.php +install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse + %check %{_bindir}/phpunit @@ -74,11 +96,17 @@ ln -s ../%{lib_name}/Autoloader.php \ %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md doc grammar composer.json +%{_bindir}/php-parse %{_datadir}/php/%{lib_name_old} %{_datadir}/php/%{lib_name} %changelog +* Wed Feb 25 2015 Remi Collet - 1.1.0-1 +- update to 1.1.0 +- use git snapshot as upstream tarball don't provide the test suite +- provide the php-parse command + * Wed Nov 5 2014 Remi Collet 1.0.2-1 - Update to 1.0.2 diff --git a/sources b/sources index 6b15f58..b097b27 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -939448c4ffe413b6d8ba488720e8599b php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz +fdf684710d3ed7b4be0c02d420df98be php-PHPParser-1.1.0-ac05ef6.tgz From 10ac48e48b11a9fd5b8d4df3c446bd8b7a6076f7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 May 2015 17:42:24 +0200 Subject: [PATCH 09/41] version 1.3.0 --- .gitignore | 1 + php-PHPParser-command.patch | 11 ++++++----- php-PHPParser.spec | 11 +++++++---- sources | 2 +- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index cd029e2..27a7622 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ clog /php-PHPParser-1.0.1-b9a60372f26356feb85b4b9ca50a395a5f0d7f34.tar.gz /php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz /php-PHPParser-1.1.0-ac05ef6.tgz +/php-PHPParser-1.3.0-dff2392.tgz diff --git a/php-PHPParser-command.patch b/php-PHPParser-command.patch index 0a8cfd5..58850fa 100644 --- a/php-PHPParser-command.patch +++ b/php-PHPParser-command.patch @@ -1,7 +1,8 @@ -diff -up bin/php-parse.php.rpm bin/php-parse.php ---- bin/php-parse.php.rpm 2015-02-25 17:52:01.000000000 +0100 -+++ bin/php-parse.php 2015-02-25 17:52:55.000000000 +0100 -@@ -1,6 +1,8 @@ +diff -up ./bin/php-parse.php.rpm ./bin/php-parse.php +--- ./bin/php-parse.php.rpm 2015-04-04 14:49:15.704865853 +0200 ++++ ./bin/php-parse.php 2015-04-04 14:50:15.625104006 +0200 +@@ -1,7 +1,8 @@ +-#!/usr/bin/env php +#!/usr/bin/php = %{php_min_ver} BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.1.0) +# For tests: phpcompatinfo (computed from version 1.3.0) BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre @@ -52,7 +52,7 @@ BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.1.0) +# phpcompatinfo (computed from version 1.3.0) Requires: php-filter Requires: php-pcre Requires: php-spl @@ -102,6 +102,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Fri May 20 2015 Remi Collet - 1.3.0-1 +- update to 1.3.0 + * Wed Feb 25 2015 Remi Collet - 1.1.0-1 - update to 1.1.0 - use git snapshot as upstream tarball don't provide the test suite diff --git a/sources b/sources index b097b27..ae2fb3c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fdf684710d3ed7b4be0c02d420df98be php-PHPParser-1.1.0-ac05ef6.tgz +ba283659cf636e5588435feae0330e43 php-PHPParser-1.3.0-dff2392.tgz From c21a594367be435b86ad1ad034e81ab6d04eb946 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 13:57:30 +0000 Subject: [PATCH 10/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 28e9543..5669d90 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -22,7 +22,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -102,6 +102,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Fri May 20 2015 Remi Collet - 1.3.0-1 - update to 1.3.0 From 7ee34e1c002b6cd2920725d078ee721e5a6b4b54 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 Aug 2015 18:52:26 +0200 Subject: [PATCH 11/41] - update to 1.4.0 - add a simple autoload.php --- php-PHPParser-command.patch | 22 +++++++++++++++------- php-PHPParser.spec | 23 ++++++++++++++++------- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/php-PHPParser-command.patch b/php-PHPParser-command.patch index 58850fa..703637f 100644 --- a/php-PHPParser-command.patch +++ b/php-PHPParser-command.patch @@ -1,14 +1,22 @@ diff -up ./bin/php-parse.php.rpm ./bin/php-parse.php ---- ./bin/php-parse.php.rpm 2015-04-04 14:49:15.704865853 +0200 -+++ ./bin/php-parse.php 2015-04-04 14:50:15.625104006 +0200 -@@ -1,7 +1,8 @@ --#!/usr/bin/env php -+#!/usr/bin/php +--- ./bin/php-parse.php.rpm 2015-08-09 18:15:56.693662775 +0200 ++++ ./bin/php-parse.php 2015-08-09 18:19:42.621773752 +0200 +@@ -1,7 +1,7 @@ + #!/usr/bin/env php = %{php_min_ver} BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.3.0) +# For tests: phpcompatinfo (computed from version 1.4.0) BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre @@ -52,10 +52,12 @@ BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.3.0) +# phpcompatinfo (computed from version 1.4.0) +Requires: php-cli Requires: php-filter Requires: php-pcre Requires: php-spl +Requires: php-tokenizer Requires: php-xmlreader Requires: php-xmlwriter @@ -70,6 +72,7 @@ A PHP parser written in PHP to simplify static analysis and code manipulation. %setup -q -n %{github_name}-%{github_short} %patch0 -p0 -b .rpm +rm lib/%{lib_name}/*rpm %build @@ -78,7 +81,7 @@ A PHP parser written in PHP to simplify static analysis and code manipulation. %install mkdir -p -m 755 %{buildroot}%{_datadir}/php -cp -rp lib/%{lib_name} %{buildroot}%{_datadir}/php/ +cp -rp lib/%{lib_name} %{buildroot}%{_datadir}/php/%{lib_name} # Compat with old version (< 1.0.0) mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{lib_name_old} @@ -89,7 +92,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %check -%{_bindir}/phpunit +%{_bindir}/phpunit \ + --bootstrap %{buildroot}%{_datadir}/php/%{lib_name}/autoload.php \ + --verbose %files @@ -102,6 +107,10 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Sun Aug 9 2015 Remi Collet - 1.4.0-1 +- update to 1.4.0 +- add a simple autoload.php + * Thu Jun 18 2015 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 25ddd3a4e215e0fbe307ae58a39686d8fb009871 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 Aug 2015 18:53:50 +0200 Subject: [PATCH 12/41] m fix date --- php-PHPParser.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 8ad470e..4c13c9c 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -114,7 +114,7 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse * Thu Jun 18 2015 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -* Fri May 20 2015 Remi Collet - 1.3.0-1 +* Wed May 20 2015 Remi Collet - 1.3.0-1 - update to 1.3.0 * Wed Feb 25 2015 Remi Collet - 1.1.0-1 From 2edfb310393fb4d29cb7c6a933a5afcd36bdf5be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 Aug 2015 18:58:24 +0200 Subject: [PATCH 13/41] 1.4.0 sources --- .gitignore | 1 + php-PHPParser.spec | 1 + sources | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 27a7622..5c8d6d0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ clog /php-PHPParser-1.0.2-a8ffc6fcfcbae268656c8acf1298e378ac1ee5f1.tar.gz /php-PHPParser-1.1.0-ac05ef6.tgz /php-PHPParser-1.3.0-dff2392.tgz +/php-PHPParser-1.4.0-196f177.tgz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 4c13c9c..8a8d7e4 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -106,6 +106,7 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %{_datadir}/php/%{lib_name} + %changelog * Sun Aug 9 2015 Remi Collet - 1.4.0-1 - update to 1.4.0 diff --git a/sources b/sources index ae2fb3c..27bd487 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba283659cf636e5588435feae0330e43 php-PHPParser-1.3.0-dff2392.tgz +738396e61388c03c467ff2ea1a19d623 php-PHPParser-1.4.0-196f177.tgz From 6abd965e020ffc2336e480869cdd9210520f5594 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 20 Sep 2015 18:02:32 +0200 Subject: [PATCH 14/41] v1.4.1 --- .gitignore | 1 + php-PHPParser.spec | 15 ++++++++++----- sources | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 5c8d6d0..8c51814 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ clog /php-PHPParser-1.1.0-ac05ef6.tgz /php-PHPParser-1.3.0-dff2392.tgz /php-PHPParser-1.4.0-196f177.tgz +/php-PHPParser-1.4.1-f78af2c.tgz diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 8a8d7e4..0848e6f 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -11,8 +11,8 @@ %global github_owner nikic %global github_name PHP-Parser -%global github_version 1.4.0 -%global github_commit 196f177cfefa0f1f7166c0a05d8255889be12418 +%global github_version 1.4.1 +%global github_commit f78af2c9c86107aa1a34cd1dbb5bbe9eeb0d9f51 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global lib_name PhpParser @@ -40,7 +40,7 @@ BuildArch: noarch # For tests BuildRequires: php(language) >= %{php_min_ver} BuildRequires: %{_bindir}/phpunit -# For tests: phpcompatinfo (computed from version 1.4.0) +# For tests: phpcompatinfo (computed from version 1.4.1) BuildRequires: php-ctype BuildRequires: php-filter BuildRequires: php-pcre @@ -52,12 +52,11 @@ BuildRequires: php-xmlwriter # composer.json Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer -# phpcompatinfo (computed from version 1.4.0) +# phpcompatinfo (computed from version 1.4.1) Requires: php-cli Requires: php-filter Requires: php-pcre Requires: php-spl -Requires: php-tokenizer Requires: php-xmlreader Requires: php-xmlwriter @@ -67,6 +66,9 @@ Provides: php-composer(nikic/php-parser) = %{version} %description A PHP parser written in PHP to simplify static analysis and code manipulation. +To use this library, you just have to add, in your project: + require_once '%{_datadir}/php/%{lib_name}/autoload.php'; + %prep %setup -q -n %{github_name}-%{github_short} @@ -108,6 +110,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Sun Sep 20 2015 Remi Collet - 1.4.1-1 +- update to 1.4.1 + * Sun Aug 9 2015 Remi Collet - 1.4.0-1 - update to 1.4.0 - add a simple autoload.php diff --git a/sources b/sources index 27bd487..2c1dbc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -738396e61388c03c467ff2ea1a19d623 php-PHPParser-1.4.0-196f177.tgz +010d27c4e36b4cf9ce295453d6cdecaf php-PHPParser-1.4.1-f78af2c.tgz From 3ac61b450a29f8ea18fa54cc5b862dd23e265e2f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 16:58:29 +0000 Subject: [PATCH 15/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 0848e6f..74e9993 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -22,7 +22,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -110,6 +110,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Sun Sep 20 2015 Remi Collet - 1.4.1-1 - update to 1.4.1 From 70eddac7990935b7fe9a4fdedc29d6920ab5419b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 May 2016 07:08:38 +0200 Subject: [PATCH 16/41] drop the php-parse command, provided by php-nikic-php-parser --- php-PHPParser.spec | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 74e9993..318fa2c 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -20,9 +20,15 @@ %global php_min_ver 5.3 +%if 0%{?fedora} < 24 +%global script 1 +%else +%global script 0 +%endif + Name: php-%{lib_name_old} Version: %{github_version} -Release: 2%{?dist} +Release: 4%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -53,21 +59,29 @@ BuildRequires: php-xmlwriter Requires: php(language) >= %{php_min_ver} Requires: php-tokenizer # phpcompatinfo (computed from version 1.4.1) -Requires: php-cli Requires: php-filter Requires: php-pcre Requires: php-spl Requires: php-xmlreader Requires: php-xmlwriter +%if %{script} +Requires: php-cli +%endif Provides: php-composer(nikic/php-parser) = %{version} %description A PHP parser written in PHP to simplify static analysis and code manipulation. - -To use this library, you just have to add, in your project: - require_once '%{_datadir}/php/%{lib_name}/autoload.php'; +%if %{script} +This package provides the library version 1 and the php-parse command. +The php-nikic-php-parser package provides the library version 2. +%else +This package provides the library version 1. +The php-nikic-php-parser package provides the library version 2 +and the php-parse command. +%endif +Autoloader: '%{_datadir}/php/%{lib_name}/autoload.php'; %prep @@ -90,7 +104,9 @@ mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{lib_name_old} ln -s ../%{lib_name}/Autoloader.php \ %{buildroot}%{_datadir}/php/%{lib_name_old}/Autoloader.php +%if %{script} install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse +%endif %check @@ -103,13 +119,18 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md doc grammar composer.json +%if %{script} %{_bindir}/php-parse +%endif %{_datadir}/php/%{lib_name_old} %{_datadir}/php/%{lib_name} %changelog +* Fri May 20 2016 Remi Collet - 1.4.1-3 +- drop the php-parse command, provided by php-nikic-php-parser + * Thu Feb 04 2016 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 292a1811b08f65e3939f7a7d3916506ffeece407 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 May 2016 07:13:11 +0200 Subject: [PATCH 17/41] fix changelog --- php-PHPParser.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 318fa2c..0fbb479 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -128,7 +128,7 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog -* Fri May 20 2016 Remi Collet - 1.4.1-3 +* Fri May 20 2016 Remi Collet - 1.4.1-4 - drop the php-parse command, provided by php-nikic-php-parser * Thu Feb 04 2016 Fedora Release Engineering - 1.4.1-2 From 63ea9c8ec3dd62f7adaaae078125d127aafc26f9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 06:22:28 +0000 Subject: [PATCH 18/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 0fbb479..acedb8a 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 4%{?dist} +Release: 5%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -128,6 +128,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri May 20 2016 Remi Collet - 1.4.1-4 - drop the php-parse command, provided by php-nikic-php-parser From 81e04ce32eea8d170155e123b4d8cf70e4103143 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 07:23:59 +0000 Subject: [PATCH 19/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index acedb8a..3113e10 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 5%{?dist} +Release: 6%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -128,6 +128,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 65f74d8f07004aa3f724dcbbac87e36705fc64aa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 02:59:54 +0000 Subject: [PATCH 20/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 3113e10..520a7b0 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 6%{?dist} +Release: 7%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -128,6 +128,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 26e4dc5c6699d82df79a0b2a63ced240c00fd9f1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 21:09:52 +0000 Subject: [PATCH 21/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 520a7b0..49060b6 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 7%{?dist} +Release: 8%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -128,6 +128,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From a82187b7f7b9cb470afb4da6ace72e9a5aa1b72a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:12 +0100 Subject: [PATCH 22/41] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- php-PHPParser.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 49060b6..bea9b28 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -31,7 +31,6 @@ Version: %{github_version} Release: 8%{?dist} Summary: A PHP parser written in PHP -Group: Development/Libraries License: BSD URL: https://github.com/%{github_owner}/%{github_name} # Upstream tarball don't provide test suite From cd7ece8bf6f62e50ea3d780c2a8fbbc4f6e59022 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 02:12:13 +0000 Subject: [PATCH 23/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index bea9b28..8b897b5 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 8%{?dist} +Release: 9%{?dist} Summary: A PHP parser written in PHP License: BSD @@ -127,6 +127,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.4.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 7cf9d2ad9d45a1742a92e765ce9710de68ba8be3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 08:40:02 +0000 Subject: [PATCH 24/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 8b897b5..a178250 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 9%{?dist} +Release: 10%{?dist} Summary: A PHP parser written in PHP License: BSD @@ -127,6 +127,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 1.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 970918074f7e35e3f10852ec3422a2b7becbf709 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 06:47:50 +0000 Subject: [PATCH 25/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index a178250..05f3760 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 10%{?dist} +Release: 11%{?dist} Summary: A PHP parser written in PHP License: BSD @@ -127,6 +127,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Jul 26 2019 Fedora Release Engineering - 1.4.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 6bf5eca490e3eb2f55c90ff2fd3a8960f8d5b252 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Feb 2020 15:02:11 +0100 Subject: [PATCH 26/41] skip 1 failed test with 7.4 --- php-PHPParser.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 05f3760..8cbb8a5 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,7 +1,7 @@ # # RPM spec file for php-PHPParser # -# Copyright (c) 2012-2015 Shawn Iwinski +# Copyright (c) 2012-2020 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -20,7 +20,7 @@ %global php_min_ver 5.3 -%if 0%{?fedora} < 24 +%if 0 %global script 1 %else %global script 0 @@ -29,7 +29,7 @@ Name: php-%{lib_name_old} Version: %{github_version} Release: 11%{?dist} -Summary: A PHP parser written in PHP +Summary: A PHP parser written in PHP - version 1 License: BSD URL: https://github.com/%{github_owner}/%{github_name} @@ -111,6 +111,7 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %check %{_bindir}/phpunit \ --bootstrap %{buildroot}%{_datadir}/php/%{lib_name}/autoload.php \ + --filter '^((?!(testResolveLocations)).)*$' \ --verbose @@ -125,8 +126,10 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %{_datadir}/php/%{lib_name} - %changelog +* Tue Feb 4 2020 Remi Collet - 1.4.1-11 +- skip 1 failed test with 7.4 + * Thu Jan 30 2020 Fedora Release Engineering - 1.4.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From dcf2e77e7e2f73729b9d067a5aa9972754487d5f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 20:38:22 +0000 Subject: [PATCH 27/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 8cbb8a5..9b7cc12 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 11%{?dist} +Release: 12%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -127,6 +127,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Feb 4 2020 Remi Collet - 1.4.1-11 - skip 1 failed test with 7.4 From 10e4d452aece8987b439fe49ad155ab4f38678c2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 06:21:22 +0000 Subject: [PATCH 28/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 9b7cc12..aef6ac0 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -28,7 +28,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 12%{?dist} +Release: 13%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -127,6 +127,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.4.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1b736628004d683c770467e25c437f1f5842169c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Mar 2021 10:25:16 +0200 Subject: [PATCH 29/41] outdated package, disable test suite --- php-PHPParser.spec | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index aef6ac0..0d4371d 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -1,7 +1,7 @@ # # RPM spec file for php-PHPParser # -# Copyright (c) 2012-2020 Shawn Iwinski +# Copyright (c) 2012-2021 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -9,6 +9,9 @@ # Please preserve changelog entries # +# Outdated, see php-nikic-php-parser4 +%bcond_with tests + %global github_owner nikic %global github_name PHP-Parser %global github_version 1.4.1 @@ -20,15 +23,9 @@ %global php_min_ver 5.3 -%if 0 -%global script 1 -%else -%global script 0 -%endif - Name: php-%{lib_name_old} Version: %{github_version} -Release: 13%{?dist} +Release: 14%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -44,7 +41,9 @@ Patch0: %{name}-command.patch BuildArch: noarch # For tests BuildRequires: php(language) >= %{php_min_ver} +%if %{with tests} BuildRequires: %{_bindir}/phpunit +%endif # For tests: phpcompatinfo (computed from version 1.4.1) BuildRequires: php-ctype BuildRequires: php-filter @@ -63,23 +62,17 @@ Requires: php-pcre Requires: php-spl Requires: php-xmlreader Requires: php-xmlwriter -%if %{script} -Requires: php-cli -%endif Provides: php-composer(nikic/php-parser) = %{version} %description A PHP parser written in PHP to simplify static analysis and code manipulation. -%if %{script} -This package provides the library version 1 and the php-parse command. -The php-nikic-php-parser package provides the library version 2. -%else + This package provides the library version 1. -The php-nikic-php-parser package provides the library version 2 -and the php-parse command. -%endif +The php-nikic-php-parser3 package provides the library version 3. +The php-nikic-php-parser4 package provides the library version 4. + Autoloader: '%{_datadir}/php/%{lib_name}/autoload.php'; @@ -103,30 +96,30 @@ mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{lib_name_old} ln -s ../%{lib_name}/Autoloader.php \ %{buildroot}%{_datadir}/php/%{lib_name_old}/Autoloader.php -%if %{script} -install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse -%endif - %check +%if %{with tests} %{_bindir}/phpunit \ --bootstrap %{buildroot}%{_datadir}/php/%{lib_name}/autoload.php \ --filter '^((?!(testResolveLocations)).)*$' \ --verbose +%else +: Test suite disabled +%endif %files %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md doc grammar composer.json -%if %{script} -%{_bindir}/php-parse -%endif %{_datadir}/php/%{lib_name_old} %{_datadir}/php/%{lib_name} %changelog +* Tue Mar 30 2021 Remi Collet - 1.4.1-14 +- outdated package, disable test suite + * Wed Jan 27 2021 Fedora Release Engineering - 1.4.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 0661ad9a20fb872cb601b8cdd8a2b2991b86da90 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 01:32:52 +0000 Subject: [PATCH 30/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 0d4371d..32c5999 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 14%{?dist} +Release: 15%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.4.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 30 2021 Remi Collet - 1.4.1-14 - outdated package, disable test suite From ecf435cb1d747098ff3cdfaf94fdb0a1c3b266e7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:15:50 +0000 Subject: [PATCH 31/41] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 32c5999..5c78d9c 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 15%{?dist} +Release: 16%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.4.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.4.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 79a47b061a9479ea1313541cecacf71e148394ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:09:43 +0000 Subject: [PATCH 32/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 5c78d9c..d313543 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 16%{?dist} +Release: 17%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.4.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 1.4.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 3e070e366b5893d5c96cadbbfe0eb24b72eeec62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:16:01 +0000 Subject: [PATCH 33/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index d313543..ede92e1 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 17%{?dist} +Release: 18%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.4.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 1.4.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 23a721c808606815a354eaa36c74d00366cc4ae4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:03:00 +0000 Subject: [PATCH 34/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index ede92e1..87d950c 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 18%{?dist} +Release: 19%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 1.4.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 1.4.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 4b34f51f1a2ce90d7330d39acc6a4fcb11e8094a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 20:41:14 +0000 Subject: [PATCH 35/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 87d950c..260684a 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 19%{?dist} +Release: 20%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.4.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 1.4.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From f7f2cd9d7f5109f15ed010e6d3901f59e29f9166 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:27:15 +0000 Subject: [PATCH 36/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 260684a..f6d28a0 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 20%{?dist} +Release: 21%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.4.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.4.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1046eb8ebf3402aa16d0c188db1eeba7411af47f Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 37/41] Eliminate use of obsolete %patchN syntax (#2283636) --- php-PHPParser.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index f6d28a0..be21524 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -79,7 +79,7 @@ Autoloader: '%{_datadir}/php/%{lib_name}/autoload.php'; %prep %setup -q -n %{github_name}-%{github_short} -%patch0 -p0 -b .rpm +%patch -P0 -p0 -b .rpm rm lib/%{lib_name}/*rpm From ba0dcc64d80b6d61668a616e1bb894ac1ad380e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:43:43 +0000 Subject: [PATCH 38/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index be21524..07f23a0 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 21%{?dist} +Release: 22%{?dist} Summary: A PHP parser written in PHP - version 1 License: BSD @@ -117,6 +117,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 1.4.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 06eeec8d9bd627f7be5245f81f305843fe52d5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 19:04:38 +0200 Subject: [PATCH 39/41] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- php-PHPParser.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 07f23a0..b48d3ea 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,10 +25,11 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 22%{?dist} +Release: 23%{?dist} Summary: A PHP parser written in PHP - version 1 -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD URL: https://github.com/%{github_owner}/%{github_name} # Upstream tarball don't provide test suite # Use mksrc.sh to generate a git snapshot tarball @@ -117,6 +118,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Wed Sep 4 2024 Miroslav Suchý - 1.4.1-23 +- convert license to SPDX + * Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 42b1f4cdf93bd179b5a5e8874203654b61a60e7e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 08:54:36 +0000 Subject: [PATCH 40/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index b48d3ea..7b4c293 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 23%{?dist} +Release: 24%{?dist} Summary: A PHP parser written in PHP - version 1 # Automatically converted from old format: BSD - review is highly recommended. @@ -118,6 +118,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 1.4.1-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 4 2024 Miroslav Suchý - 1.4.1-23 - convert license to SPDX From 4bd92b68441a252a090fa4a3e49fe86652725ada Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:08:46 +0000 Subject: [PATCH 41/41] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-PHPParser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-PHPParser.spec b/php-PHPParser.spec index 7b4c293..d7630df 100644 --- a/php-PHPParser.spec +++ b/php-PHPParser.spec @@ -25,7 +25,7 @@ Name: php-%{lib_name_old} Version: %{github_version} -Release: 24%{?dist} +Release: 25%{?dist} Summary: A PHP parser written in PHP - version 1 # Automatically converted from old format: BSD - review is highly recommended. @@ -118,6 +118,9 @@ ln -s ../%{lib_name}/Autoloader.php \ %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.4.1-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 1.4.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild