From 022c2b229c2e258bf774f3868998b77f55d75759 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 6 Sep 2022 09:13:34 +0200 Subject: [PATCH] remove a build system tweak related to Python 3 ... no longer needed --- units.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/units.spec b/units.spec index 1240257..67e7e27 100644 --- a/units.spec +++ b/units.spec @@ -1,11 +1,10 @@ Summary: A utility for converting amounts from one unit to another Name: units Version: 2.22 -Release: 2%{?dist} +Release: 3%{?dist} Source: https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz URL: https://www.gnu.org/software/units/units.html License: GPLv3+ -BuildRequires: automake BuildRequires: bison BuildRequires: gcc BuildRequires: make @@ -25,11 +24,6 @@ well as conversions such as Fahrenheit to Celsius. %prep %autosetup -p1 -# make units_cur use Python 3 -sed -e 's|^AC_PATH_PROG(PYTHON, .*$|PYTHON=%{__python3}\nAC_SUBST(PYTHON)|' \ - -i configure.ac -autoreconf -fiv - %build %configure %make_build @@ -58,6 +52,9 @@ make check %{_mandir}/man1/* %changelog +* Tue Sep 06 2022 Kamil Dudka - 2.22-3 +- remove a build system tweak related to Python 3 no longer needed + * Tue Sep 06 2022 Kamil Dudka - 2.22-2 - replace an absolute symlink by a relative symlink - use %%make_build and %%make_install RPM macros