public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php-sebastian-version6] f44: v6.0.1
@ 2026-10-06 6:50 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-10-06 6:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php-sebastian-version6
Branch : f44
Commit : 8adc325b8ef2e9b0d2d893e6223d4ac28f1266b0
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-10-06T08:50:36+02:00
Stats : +19/-26 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/php-sebastian-version6/c/8adc325b8ef2e9b0d2d893e6223d4ac28f1266b0?branch=f44
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 1959375..d53ea65 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: 3%{?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
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 6:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 6:50 [rpms/php-sebastian-version6] f44: v6.0.1 Remi Collet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox