https://bugzilla.redhat.com/show_bug.cgi?id=1532539
Bug ID: 1532539
Summary: [PATCH] Invalid definitions in macros.perl
Product: Fedora
Version: rawhide
Component: perl
Assignee: jplesnik(a)redhat.com
Reporter: pmatilai(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: alexl(a)redhat.com, caillon+fedoraproject(a)gmail.com,
iarnell(a)gmail.com, jplesnik(a)redhat.com, kasal(a)ucw.cz,
mbarnes(a)fastmail.com, mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rhughes(a)redhat.com,
sandmann(a)redhat.com, tcallawa(a)redhat.com
Created attachment 1378922
-->
https://bugzilla.redhat.com/attachment.cgi?id=1378922&action=edit
Remove invalid macro definitions
There are invalid definitions in perl.macros file:
%global __perl_provides /usr/lib/rpm/perl.prov
%global __perl_requires /usr/lib/rpm/perl.req
In the macro file context, that means it's trying to define two macros named
"global". Fortunately rpm doesn't let it override the builtin %global
directive... This has been hiding in there for a better part of a decade but
upstream rpm now warns about it:
error: Macro %global is a built-in (%define)
error: Macro %global is a built-in (%define)
warning: file /usr/lib/rpm/macros.d/macros.perl: 2 invalid macro definitions
Attached patch fixes it. Oh and don't as for a PR, I do not get along with
Pagure.
--
You are receiving this mail because:
You are on the CC list for the bug.