From 32984ae2343333b4baee8558903b9d6abc784c23 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 19 Jan 2024 13:12:56 +0100 Subject: [PATCH] Fix introduction of pre-release handling We need to release specfile to be able to handle the pre-release syntax. --- epel8/python-specfile.spec | 4 ++-- fedora/python-specfile.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/epel8/python-specfile.spec b/epel8/python-specfile.spec index 3f04aff..ccececd 100644 --- a/epel8/python-specfile.spec +++ b/epel8/python-specfile.spec @@ -4,10 +4,10 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.26.0 +%global base_version 0.27.0 #global prerelease rc1 -%global package_version 0.27.0 +%global package_version %{base_version}%{?prerelease:~%{prerelease}} %global pypi_version %{base_version}%{?prerelease} diff --git a/fedora/python-specfile.spec b/fedora/python-specfile.spec index 7bd981d..35e9ce3 100644 --- a/fedora/python-specfile.spec +++ b/fedora/python-specfile.spec @@ -7,10 +7,10 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.26.0 +%global base_version 0.27.0 #global prerelease rc1 -%global package_version 0.27.0 +%global package_version %{base_version}%{?prerelease:~%{prerelease}} %global pypi_version %{base_version}%{?prerelease}