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-sebastian-version6] f43: v6.0.1
Date: Tue, 06 Oct 2026 06:51:45 GMT	[thread overview]
Message-ID: <179126950527.1.2613396793990818312.rpms-php-sebastian-version6-ad47cfc7093f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/php-sebastian-version6
            Branch : f43
            Commit : ad47cfc7093f79d7312a8854f620a9442dfeede3
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-10-06T08:51:33+02:00
            Stats  : +19/-26 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/php-sebastian-version6/c/ad47cfc7093f79d7312a8854f620a9442dfeede3?branch=f43

            Log:
            v6.0.1

(cherry picked from commit c8936e45b9283d0c5e8be5babf3c5a3f3d7c7f8c)

---
diff --git a/.gitignore b/.gitignore
index 6cb8f6e..be679c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /php-sebastian-version6-6.0.0-3e6ccf7.tgz
+/php-sebastian-version6-6.0.1.tgz

diff --git a/makesrc.sh b/makesrc.sh
index b959795..59cf430 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -1,35 +1,27 @@
 #!/bin/bash
 
 NAME=$(basename $PWD)
-DATE=$(sed    -n '/^%global gh_date/{s/.* //;p}'    $NAME.spec)
 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}
 
-DATE=$(date -d "$DATE -4 days" +%Y-%m-%d)
-
-if [ -f $NAME-$VERSION-$SHORT.tgz ]; then
-	echo "$NAME-$VERSION-$SHORT.tgz already there"
+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, Date=$DATE\n"
+	echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION	\n"
 
 	echo "Cloning..."
-	rm -rf $PROJECT-$COMMIT
-	git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
+	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 || exit1
-		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 --exclude tools $PROJECT-$COMMIT
+	tar czf $NAME-$VERSION.tgz --exclude-vcs --exclude tools $PROJECT-$VERSION
 
 	echo "Cleaning..."
-	rm -rf $PROJECT-$COMMIT
+	rm -rf $PROJECT-$VERSION
 
 	echo "Done."
 fi

diff --git a/php-sebastian-version6.spec b/php-sebastian-version6.spec
index fb45a1c..7383e7e 100644
--- a/php-sebastian-version6.spec
+++ b/php-sebastian-version6.spec
@@ -1,16 +1,13 @@
 # remirepo/fedora spec file for php-sebastian-version6
 #
-# SPDX-FileCopyrightText:  Copyright 2013-2025 Remi Collet
+# SPDX-FileCopyrightText:  Copyright 2013-2026 Remi Collet
 # SPDX-License-Identifier: CECILL-2.1
 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 #
 # Please, preserve the changelog entries
 #
-%global gh_commit    3e6ccf7657d4f0a59200564b08cead899313b53c
-%global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     sebastianbergmann
 %global gh_project   version
-%global gh_date      2025-02-07
 # Packagist
 %global pk_vendor    sebastian
 %global pk_project   %{gh_project}
@@ -21,14 +18,14 @@
 %global php_home     %{_datadir}/php
 
 Name:           php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version:        6.0.0
-Release:        2%{?dist}
+Version:        6.0.1
+Release:        1%{?dist}
 Summary:        Managing the version number of Git-hosted PHP projects, version %{ver_major}
 
 License:        BSD-3-Clause
 URL:            https://github.com/%{gh_owner}/%{gh_project}
 # run makesrc.sh to create a git snapshot with test suite
-Source0:        %{name}-%{version}-%{gh_short}.tgz
+Source0:        %{name}-%{version}.tgz
 Source1:        makesrc.sh
 
 BuildArch:      noarch
@@ -56,7 +53,7 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
 
 
 %build
@@ -87,6 +84,9 @@ exit (class_exists("%{ns_vendor}\\%{ns_project}") ? 0 : 1);
 
 
 %changelog
+* Mon Oct  5 2026 Remi Collet <remi@remirepo.net> - 6.0.1-1
+- update to 6.0.1
+
 * Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
 

diff --git a/sources b/sources
index c84ec44..e672d10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (php-sebastian-version6-6.0.0-3e6ccf7.tgz) = 27ecdb9cbb97d776fa0ec51d059d642999465f6131eb6ff2c83589848afd92bc47046f920aa1df4bdbcb471541a085c512d7481969980a72613c3a1fb2f06c5e
+SHA512 (php-sebastian-version6-6.0.1.tgz) = 69785ccdbcd7e4eb86f954b0dfee893315ae354726e32d64a1679936fc8cf44929fe346d313fcca1caeb340ffcd06de4faa8787655b51e86df32e453f854c379

                 reply	other threads:[~2026-10-06  6:51 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=179126950527.1.2613396793990818312.rpms-php-sebastian-version6-ad47cfc7093f@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