Use PYTHON=%{__python3} and require python3-devel the during build process

- change /usr/bin/python to /usr/bin/python3 in scripts
- HEAD 2c79e9c0543b94def94388e14ee0d71db240e7ca
This commit is contained in:
Petr Lautrbach 2015-08-21 12:03:22 +02:00
parent f8d6dd0c07
commit 3e7b499f17
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -1 +1 @@
3b3ccb2675290ddf793cf90f625f7df1 setroubleshoot-plugins-3.3.1.tar.gz
f1c402568e9ec615d149dd2597fccbef setroubleshoot-plugins-3.3.1.tar.gz