public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-zumba-json-serializer] f43: v3.2.5
@ 2026-10-28  7:01 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-10-28  7:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/php-zumba-json-serializer
            Branch : f43
            Commit : ab5c54d2da87a06a8b335b7a1ddefef23415cf38
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-10-28T08:01:31+01:00
            Stats  : +20/-23 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-zumba-json-serializer/c/ab5c54d2da87a06a8b335b7a1ddefef23415cf38?branch=f43

            Log:
            v3.2.5

(cherry picked from commit efadcf4033a5cec6d8652cd7b8ab0b75583a3883)
(cherry picked from commit 87713ca3a1024852ed449d0f55eb6f7c0bad3c04)

---
diff --git a/.gitignore b/.gitignore
index f0bcef1..6b60561 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /php-zumba-json-serializer-3.2.2-1b1b230.tgz
 /php-zumba-json-serializer-3.2.3-bf26227.tgz
 /php-zumba-json-serializer-3.2.4-fb113ca.tgz
+/php-zumba-json-serializer-3.2.5.tgz

diff --git a/makesrc.sh b/makesrc.sh
index 9f0c708..59cf430 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -4,29 +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 already here"
+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, Commit=$COMMIT\n"
+	echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION	\n"
 
 	echo "Cloning..."
-	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
-	popd
+	echo "Getting composer..."
+	cp $PROJECT-$VERSION/composer.json composer.json
 
 	echo "Archiving..."
-	tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT
+	tar czf $NAME-$VERSION.tgz --exclude-vcs --exclude tools $PROJECT-$VERSION
 
 	echo "Cleaning..."
-	rm -rf $PROJECT-$COMMIT
-fi
-
-echo "Done."
+	rm -rf $PROJECT-$VERSION
 
+	echo "Done."
+fi

diff --git a/php-zumba-json-serializer.spec b/php-zumba-json-serializer.spec
index ff11190..1688844 100644
--- a/php-zumba-json-serializer.spec
+++ b/php-zumba-json-serializer.spec
@@ -9,8 +9,6 @@
 
 %bcond_without       tests
 
-%global gh_commit    fb113cafb08cd6c70f8134db586bde166a7abae0
-%global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     zumba
 %global gh_project   json-serializer
 %global ns_vendor    Zumba
@@ -18,13 +16,13 @@
 %global major        %nil
 
 Name:           php-%{gh_owner}-%{gh_project}%{major}
-Version:        3.2.4
+Version:        3.2.5
 Release:        1%{?dist}
 Summary:        Serialize PHP variables
 
 License:        MIT
 URL:            https://github.com/%{gh_owner}/%{gh_project}
-Source0:        %{name}-%{version}-%{?gh_short}.tgz
+Source0:        %{name}-%{version}.tgz
 Source1:        makesrc.sh
 
 BuildArch:      noarch
@@ -71,7 +69,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload.php
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
 
 
 %build
@@ -96,7 +94,7 @@ EOF
 
 ret=0
 # ignore tests relying on SuperClosure (deprecated and removed from repo)
-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 ${2:-%{_bindir}/phpunit11} \
@@ -120,6 +118,9 @@ exit $ret
 
 
 %changelog
+* Tue Oct 27 2026 Remi Collet <remi@remirepo.net> - 3.2.5-1
+- update to 3.2.5
+
 * Tue Feb 24 2026 Remi Collet <remi@remirepo.net> - 3.2.4-1
 - update to 3.2.4
 

diff --git a/sources b/sources
index 58cf1fe..ba73561 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-zumba-json-serializer-3.2.4-fb113ca.tgz) = 9eb56dbb1f8d69906e41da26f8bdff56160cc316eacce06a036daa0b1f8d2f897e1d94a3f4a53fe3b47d9f53dc42ace807d7adbb076ea5002a49526132229af2
+SHA512 (php-zumba-json-serializer-3.2.5.tgz) = 0c42705c547da94d2c1581dbcd3494d782be0694935ad6d46fcf0da3a7a1a811dcdd029e5952e86260fbcf6d7c352b8af4126dca85e16adc2286b3af05c5ecd6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  7:01 [rpms/php-zumba-json-serializer] f43: v3.2.5 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox