public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-phpstan-phpdoc-parser] rawhide: v2.3.3
Date: Wed, 08 Jul 2026 08:57:25 GMT	[thread overview]
Message-ID: <178350104547.1.14384949321187660765.rpms-php-phpstan-phpdoc-parser-f78ccb20c8cd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php-phpstan-phpdoc-parser
Branch : rawhide
Commit : f78ccb20c8cdef180a5ffea056f44987d0383699
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-07-08T10:57:17+02:00
Stats  : +18/-23 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php-phpstan-phpdoc-parser/c/f78ccb20c8cdef180a5ffea056f44987d0383699?branch=rawhide

Log:
v2.3.3

---
diff --git a/.gitignore b/.gitignore
index b27f2c3..eb101c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /php-phpstan-phpdoc-parser-2.3.0-1e0cd53.tgz
 /php-phpstan-phpdoc-parser-2.3.1-16dbf99.tgz
 /php-phpstan-phpdoc-parser-2.3.2-a004701.tgz
+/php-phpstan-phpdoc-parser-2.3.3.tgz

diff --git a/makesrc.sh b/makesrc.sh
index a68df44..f2a2aed 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -4,31 +4,24 @@ 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}
 
-if [ -f $NAME-$VERSION-$SHORT.tgz ]; then
-	echo Skip $NAME-$VERSION-$SHORT.tgz
+if [ -f $NAME-$VERSION.tgz ]; then
+	echo "$NAME-$VERSION.tgz already there"
 else
-	echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n"
+	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
+	rm -rf $PROJECT-$VERSION
+	git clone https://github.com/$OWNER/$PROJECT.git --depth 1 --branch $VERSION $PROJECT-$VERSION || exit 1
 
-	echo "Getting commit..."
-	pushd $PROJECT-$COMMIT
-		git checkout $COMMIT || exit 1
-		cp composer.json ../composer.json
-		rm build-abnfgen.sh
-		rm tests/abnfgen-0.20.tar.gz
-	popd
+	echo "Getting composer..."
+	cp $PROJECT-$VERSION/composer.json composer.json
 
 	echo "Archiving..."
-	tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT
+	tar czf $NAME-$VERSION.tgz --exclude-vcs $PROJECT-$VERSION
 
 	echo "Cleaning..."
-	rm -rf $PROJECT-$COMMIT
+	rm -rf $PROJECT-$VERSION
 
 	echo "Done."
 fi

diff --git a/php-phpstan-phpdoc-parser.spec b/php-phpstan-phpdoc-parser.spec
index fb4a715..ff48da5 100644
--- a/php-phpstan-phpdoc-parser.spec
+++ b/php-phpstan-phpdoc-parser.spec
@@ -9,8 +9,6 @@
 
 %bcond_without       tests
 
-%global gh_commit    a004701b11273a26cd7955a61d67a7f1e525a45a
-%global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     phpstan
 %global gh_project   phpdoc-parser
 %global php_home     %{_datadir}/php
@@ -19,14 +17,14 @@
 %global major        %nil
 
 Name:           php-%{gh_owner}-%{gh_project}%{major}
-Version:        2.3.2
+Version:        2.3.3
 Release:        1%{?dist}
 Summary:        PHPDoc parser with support for nullable, intersection and generic types
 
 License:        MIT
 URL:            https://github.com/%{gh_owner}/%{gh_project}
 # git snapshot to retrieve test suite
-Source0:        %{name}-%{version}-%{gh_short}.tgz
+Source0:        %{name}-%{version}.tgz
 Source1:        makesrc.sh
 
 BuildArch:      noarch
@@ -69,7 +67,7 @@ Next generation phpDoc parser with support for intersection types and generics.
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
 
 
 %build
@@ -101,7 +99,7 @@ sed -e 's:exec://exec:' -i tests/bootstrap.php
 # use auto_prepend_file to ensure we use new version (not old one pulled by PHPUnit)
 # ignore test using doctrine/annotations
 ret=0
-for cmdarg in "php %{phpunit}" php82 php83 php84 php85; do
+for cmdarg in "php %{phpunit}" php82 php83 php84 php85 php86; do
   if which $cmdarg; then
     set $cmdarg
     $1 -d auto_prepend_file=vendor/autoload.php \
@@ -127,6 +125,9 @@ exit $ret
 
 
 %changelog
+* Wed Jul  8 2026 Remi Collet <remi@remirepo.net> - 2.3.3-1
+- update to 2.3.3
+
 * Mon Jan 26 2026 Remi Collet <remi@remirepo.net> - 2.3.2-1
 - update to 2.3.2
 

diff --git a/sources b/sources
index c5b38ac..992c9c7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-phpstan-phpdoc-parser-2.3.2-a004701.tgz) = 41c00e2910274b0f90845aa60c756698c0970363f8639ac2fc8567549acf200615384279193deeb3ff237de6bc4a505e81c51e9cc5bbd845c937d75689ea58ec
+SHA512 (php-phpstan-phpdoc-parser-2.3.3.tgz) = 3ac2fa43ded3990bbb0d1ae06d7222692f5f9250bdd936b18ca5c3d9ecdff178515fecef8131ecd4a7c19329c50f58142c52d4f7eb0e17a63756977d7e2aedf4

                 reply	other threads:[~2026-07-08  8:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178350104547.1.14384949321187660765.rpms-php-phpstan-phpdoc-parser-f78ccb20c8cd@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox