From 8c761a1a459372f50a625c0ef5c97e96d76cc628 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Oct 29 2021 12:53:00 +0000 Subject: Don't build the package as 1.1.4.dev0 --- diff --git a/python-mako.spec b/python-mako.spec index ec09d4b..cb787b7 100644 --- a/python-mako.spec +++ b/python-mako.spec @@ -1,6 +1,6 @@ Name: python-mako Version: 1.1.4 -Release: 5%{?dist} +Release: 6%{?dist} BuildArch: noarch # Mostly MIT, but _ast_util.py is Python licensed. @@ -55,6 +55,9 @@ This package contains documentation in text and HTML formats. %prep %autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g") +# the package ends up installed as %%{version}.dev0 otherwise: +sed -i '/tag_build = dev/d' setup.cfg + %build %py3_build @@ -89,6 +92,9 @@ pytest-3 %changelog +* Fri Oct 29 2021 Miro Hrončok - 1.1.4-6 +- Don't build the package as 1.1.4.dev0 + * Fri Jul 23 2021 Fedora Release Engineering - 1.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild