diff options
| -rwxr-xr-x | makesrc.sh | 8 | ||||
| -rw-r--r-- | pie.spec | 6 |
2 files changed, 10 insertions, 4 deletions
@@ -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 @@ -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 <remi@remirepo.net> - 1.4.0~alpha3-1 +* Wed Mar 25 2026 Remi Collet <remi@remirepo.net> - 1.4.0~alpha.3-1 - update to 1.4.0-alpha.3 * Thu Mar 19 2026 Remi Collet <remi@remirepo.net> - 1.4.0~alpha1-1 |
