From a83817c556a6ef86e568f61075ae3f7baa7bb87e Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Jan 31 2018 14:11:44 +0000 Subject: Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657) Also fix release of previous changelog entry --- diff --git a/rpm.spec b/rpm.spec index f62716e..067ed0c 100644 --- a/rpm.spec +++ b/rpm.spec @@ -23,7 +23,7 @@ %global rpmver 4.14.1 #global snapver rc2 -%global rel 5 +%global rel 6 %global srcver %{version}%{?snapver:-%{snapver}} %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x} @@ -443,6 +443,9 @@ rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*} # Axe unused cruft rm -f $RPM_BUILD_ROOT/%{rpmhome}/{tcl.req,osgideps.pl} +# Avoid unnecessary dependency on /usr/bin/python +chmod a-x $RPM_BUILD_ROOT/%{rpmhome}/python-macro-helper + %if %{with check} %check make check || cat tests/rpmtests.log @@ -585,7 +588,11 @@ make check || cat tests/rpmtests.log %doc doc/librpm/html/* %changelog -* Tue Jan 30 2018 Tomas Orsava - 4.14.1-4 +* Wed Jan 31 2018 Panu Matilainen - 4.14.1-6 +- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657) +- Fix release of previous changelog entry + +* Tue Jan 30 2018 Tomas Orsava - 4.14.1-5 - Add envvar that will be present during RPM build, Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build" https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build