Make javapackages-local require %{python_interpreter}

macros.fjava in javapackages-local are calling Python interpreter
executable directly, therefore we require that executable path.
Package providing %{python_interpreter} may be called other than
%{python_prefix}.

Resolves: rhbz#1633715
This commit is contained in:
Mikolaj Izdebski 2018-10-04 11:29:01 +02:00
parent 72ad87aaeb
commit 01ffe3a7e3

View File

@ -25,7 +25,7 @@
Name: javapackages-tools
Version: 5.3.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Macros and scripts for Java packaging support
@ -146,7 +146,7 @@ Requires: xmvn-resolve
# Java build systems don't have hard requirement on java-devel, so it should be there
Requires: java-1.8.0-openjdk-devel
Requires: %{python_prefix}-javapackages = %{version}-%{release}
Requires: %{python_prefix}
Requires: %{python_interpreter}
%description -n javapackages-local
This package provides non-essential macros and scripts to support Java packaging.
@ -204,6 +204,9 @@ rm -rf %{buildroot}%{_mandir}/man7/gradle_build.7
%license LICENSE
%changelog
* Thu Oct 4 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.3.0-2
- Make javapackages-local require Python interpreter executable path
* Mon Aug 06 2018 Michael Simacek <msimacek@redhat.com> - 5.3.0-1
- Update to upstream version 5.3.0