From 6e53c9b5c3d4cd30713fdfde94254503006cf29b Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Oct 15 2021 14:19:59 +0000 Subject: Fix strictyaml.__version__ --- diff --git a/python-strictyaml.spec b/python-strictyaml.spec index d475f92..f2f8d93 100644 --- a/python-strictyaml.spec +++ b/python-strictyaml.spec @@ -5,7 +5,7 @@ Version: 1.1.1 %global forgeurl https://github.com/crdoconnor/%{srcname}/ %global tag %{version} %forgemeta -Release: 2%{?dist} +Release: 3%{?dist} Summary: Parses and validates a restricted subset of YAML License: MIT @@ -52,6 +52,9 @@ Summary: %{summary} %prep %forgesetup +# Upstream’s idiosyncratic build system normally handles this: +sed -r -i 's/(__version__ *= *")DEVELOPMENT_VERSION"/\1%{version}"/' \ + 'strictyaml/__init__.py' %build @@ -76,6 +79,9 @@ Summary: %{summary} %changelog +* Fri Oct 15 2021 Benjamin A. Beasley - 1.1.1-3 +- Fix strictyaml.__version__ + * Thu Nov 26 2020 Benjamin A. Beasley - 1.1.0-2 - Remove EPEL conditionals from Fedora spec file * Tue Nov 24 2020 Benjamin A. Beasley - 1.1.0-1