From 6b93ccb74ea0eeff7b343c5e7e58fe196465d2f7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 25 Mar 2026 11:33:39 +0100 Subject: alpha3 => alpha.3 --- makesrc.sh | 8 +++++++- pie.spec | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/makesrc.sh b/makesrc.sh index 80221de..59c1c6a 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -3,7 +3,13 @@ NAME=$(sed -n '/^Name:/{s/.* //;p}' *.spec) OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) -TAG=$(sed -n '/^%global gh_tag/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) +DATE=$(sed -n '/^%global gh_date/{s/.* //;p}' $NAME.spec) +PREVER=$(sed -n '/^%global upstream_prever/{s/.* //;p}' $NAME.spec) +if [ -z "$PREVER" ] +then TAG=$VERSION +else TAG=$VERSION-$PREVER +fi if [ -f $NAME-$TAG.tgz -a "$1" != "-f" ]; then echo skip $NAME-$TAG.tgz already here diff --git a/pie.spec b/pie.spec index ac8c23b..fd5a8fb 100644 --- a/pie.spec +++ b/pie.spec @@ -11,12 +11,12 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_tag 1.4.0-alpha.3 +%global gh_tag %{upstream_version}%{?upstream_prever:-%{upstream_prever}} %global gh_owner php %global gh_project pie %global upstream_version 1.4.0 -%global upstream_prever alpha3 +%global upstream_prever alpha.3 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null) %global bashcomproot %(dirname %{bashcompdir} 2>/dev/null) @@ -138,7 +138,7 @@ done %changelog -* Wed Mar 25 2026 Remi Collet - 1.4.0~alpha3-1 +* Wed Mar 25 2026 Remi Collet - 1.4.0~alpha.3-1 - update to 1.4.0-alpha.3 * Thu Mar 19 2026 Remi Collet - 1.4.0~alpha1-1 -- cgit