Don't build the package as 1.1.4.dev0

This commit is contained in:
Miro Hrončok 2021-10-29 14:53:00 +02:00
parent 0a82fc2202
commit 8c761a1a45

View File

@ -1,6 +1,6 @@
Name: python-mako Name: python-mako
Version: 1.1.4 Version: 1.1.4
Release: 5%{?dist} Release: 6%{?dist}
BuildArch: noarch BuildArch: noarch
# Mostly MIT, but _ast_util.py is Python licensed. # Mostly MIT, but _ast_util.py is Python licensed.
@ -55,6 +55,9 @@ This package contains documentation in text and HTML formats.
%prep %prep
%autosetup -p1 -n mako-rel_%(echo %{version} | sed "s/\./_/g") %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 %build
%py3_build %py3_build
@ -89,6 +92,9 @@ pytest-3
%changelog %changelog
* Fri Oct 29 2021 Miro Hrončok <mhroncok@redhat.com> - 1.1.4-6
- Don't build the package as 1.1.4.dev0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild