Make it possible to build SRPM without python-devel installed

This commit is contained in:
Mikolaj Izdebski 2018-11-20 05:02:34 +00:00
parent 01ffe3a7e3
commit 6b17d310ad

View File

@ -13,10 +13,10 @@
%if 0%{?fedora} || 0%{?rhel} > 7
%global python_prefix python3
%global python_interpreter %{__python3}
%global python_interpreter %{?__python3}%{!?__python3:dummy}
%else
%global python_prefix python
%global python_interpreter %{__python2}
%global python_interpreter %{?__python2}%{!?__python2:dummy}
%global rpmmacrodir /etc/rpm
%endif
@ -25,7 +25,7 @@
Name: javapackages-tools
Version: 5.3.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Macros and scripts for Java packaging support
@ -204,6 +204,9 @@ rm -rf %{buildroot}%{_mandir}/man7/gradle_build.7
%license LICENSE
%changelog
* Tue Nov 20 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.3.0-3
- Make it possible to build SRPM without python-devel installed
* Thu Oct 4 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.3.0-2
- Make javapackages-local require Python interpreter executable path