Subject: | Macros not found where expected |
Date: | Fri, 30 Nov 2012 15:58:42 -0800 |
To: | bug-RPM-Specfile [...] rt.cpan.org |
From: | PFudd <pfudd [...] mailinator.com> |
Hi again,
cpanflute2 was failing with an error about the source file not being found in
~/rpmbuild/SOURCES.
It turns out that rpmbuild ignores the line 'macrofiles:' in the rpmrc file
given on the command line (and probably elsewhere), but it honors the
--macros=..... parameter on the command line, although it clobbers the
existing list of macro files if you use that parameter.
Here then, is a patch to get cpanflute2 to work correctly with rpmbuild 4.8.0,
found in rpm-build-4.8.0-27.el6.x86_64.rpm from RHEL6.3/CENTOS6.3.
See also https://bugzilla.redhat.com/show_bug.cgi?id=129179#c1
See attached patch.
Thanks!
Message body is not shown because sender requested not to inline it.