From 3e7b499f179f5176cbf95ad21c32f89556e6f0dd Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 21 Aug 2015 12:03:22 +0200 Subject: [PATCH] Use PYTHON=%{__python3} and require python3-devel the during build process - change /usr/bin/python to /usr/bin/python3 in scripts - HEAD 2c79e9c0543b94def94388e14ee0d71db240e7ca --- setroubleshoot-plugins.spec | 8 ++++---- sources | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec index 055e008..6305d82 100644 --- a/setroubleshoot-plugins.spec +++ b/setroubleshoot-plugins.spec @@ -21,7 +21,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl-XML-Parser -BuildRequires: intltool gettext python3 +BuildRequires: intltool gettext python3-devel Requires: setroubleshoot-server >= 3.1.16-1 %description @@ -34,12 +34,12 @@ to interpret SELinux AVC denials. %setup -q %build -%configure -make +%configure PYTHON=%{__python3} +make PYTHON=%{__python3} %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} pkgdocdir=%{_pkgdocdir} install +make DESTDIR=%{buildroot} PYTHON=%{__python3} pkgdocdir=%{_pkgdocdir} install %find_lang %{name} %clean diff --git a/sources b/sources index f396cd3..5542c26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3b3ccb2675290ddf793cf90f625f7df1 setroubleshoot-plugins-3.3.1.tar.gz +f1c402568e9ec615d149dd2597fccbef setroubleshoot-plugins-3.3.1.tar.gz