From 1ee4d24d347cf3f64331f5f3f73783e844ba5a70 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 12 Jun 2019 11:15:44 +0200 Subject: [PATCH] Define %%__perl, because in rpm 4.15 those are no longer defined --- macros.perl-srpm | 2 ++ perl-srpm-macros.spec | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/macros.perl-srpm b/macros.perl-srpm index 114c422..7067731 100644 --- a/macros.perl-srpm +++ b/macros.perl-srpm @@ -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 diff --git a/perl-srpm-macros.spec b/perl-srpm-macros.spec index 96fdd95..1c7fc64 100644 --- a/perl-srpm-macros.spec +++ b/perl-srpm-macros.spec @@ -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 - 1.32 +- Define %%__perl, because in rpm 4.15 those are no longer defined + * Sun Jun 02 2019 Jitka Plesnikova - 1-31 - Disable perl_bootstrap for perl 5.30 rebuild