use python interpreter flags from rpm macros

This commit is contained in:
Eric Garver 2020-05-13 11:50:04 -04:00
parent 8aded3b5f9
commit 620cc8760b

View File

@ -1,7 +1,7 @@
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld
Version: 0.8.2
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.firewalld.org
License: GPLv2+
Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz
@ -103,7 +103,7 @@ firewalld.
%autosetup -p1
%build
%configure --enable-sysconfig --enable-rpmmacros PYTHON=%{__python3}
%configure --enable-sysconfig --enable-rpmmacros PYTHON="%{__python3} %{py3_shbang_opts}"
# Enable the make line if there are patches affecting man pages to
# regenerate them
make %{?_smp_mflags}
@ -277,6 +277,9 @@ fi
%{_mandir}/man1/firewall-config*.1*
%changelog
* Wed May 13 2020 Eric Garver <egarver@garver.life> - 0.8.2-3
- use python interpreter flags from rpm macros
* Tue Apr 14 2020 Tomas Popela <tpopela@redhat.com> - 0.8.2-2
- Let Silverblue follow the same rules as Workstation (after Silverblue started
to use fedora-release-silverblue instead of fedora-release-workstation)