[Bug 1532539] New: [PATCH] Invalid definitions in macros.perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: pmatilai@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: alexl@xxxxxxxxxx, caillon+fedoraproject@xxxxxxxxx,
                    iarnell@xxxxxxxxx, jplesnik@xxxxxxxxxx, kasal@xxxxxx,
                    mbarnes@xxxxxxxxxxxx, mmaslano@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rhughes@xxxxxxxxxx,
                    sandmann@xxxxxxxxxx, tcallawa@xxxxxxxxxx



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.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux