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:
parent
f8d6dd0c07
commit
3e7b499f17
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user