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 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld Name: firewalld
Version: 0.8.2 Version: 0.8.2
Release: 2%{?dist} Release: 3%{?dist}
URL: http://www.firewalld.org URL: http://www.firewalld.org
License: GPLv2+ License: GPLv2+
Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/firewalld-%{version}.tar.gz
@ -103,7 +103,7 @@ firewalld.
%autosetup -p1 %autosetup -p1
%build %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 # Enable the make line if there are patches affecting man pages to
# regenerate them # regenerate them
make %{?_smp_mflags} make %{?_smp_mflags}
@ -277,6 +277,9 @@ fi
%{_mandir}/man1/firewall-config*.1* %{_mandir}/man1/firewall-config*.1*
%changelog %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 * Tue Apr 14 2020 Tomas Popela <tpopela@redhat.com> - 0.8.2-2
- Let Silverblue follow the same rules as Workstation (after Silverblue started - Let Silverblue follow the same rules as Workstation (after Silverblue started
to use fedora-release-silverblue instead of fedora-release-workstation) to use fedora-release-silverblue instead of fedora-release-workstation)