Define %%__perl, because in rpm 4.15 those are no longer defined

This commit is contained in:
Jitka Plesnikova 2019-06-12 11:15:44 +02:00
parent 83aefd6ec5
commit 1ee4d24d34
2 changed files with 6 additions and 1 deletions

View File

@ -15,3 +15,5 @@
# Usage: %%if !%%{defined perl_bootstrap} ... %%endif
#%%perl_bootstrap 1
# Perl macro, no longer part of rpm >= 4.15
%__perl %{_bindir}/perl

View File

@ -1,6 +1,6 @@
Name: perl-srpm-macros
Version: 1
Release: 31%{?dist}
Release: 32%{?dist}
Summary: RPM macros for building Perl source package from source repository
License: GPLv3+
Source0: macros.perl-srpm
@ -18,6 +18,9 @@ install -m 644 -D "%{SOURCE0}" \
%{_rpmconfigdir}/macros.d/macros.perl-srpm
%changelog
* Wed Jun 12 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.32
- Define %%__perl, because in rpm 4.15 those are no longer defined
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1-31
- Disable perl_bootstrap for perl 5.30 rebuild