[scl.org] perl dependency generation on CentOS 7
mstudd at recognia.com
Fri Aug 1 20:03:38 UTC 2014
On 08/01/2014 03:41 PM, Orion Poplawski wrote:
> On 08/01/2014 10:30 AM, Malcolm Studd wrote:
>> I followed SCL documentation for creating sofware collections and
>> adjusted some things in the perl518.spec to more closely match. There is
>> a /etc/rpm/macros.perl518-config with
>> %scl perl518
>> %__perl %_scl_root/usr/bin/perl
>> %__perl_provides /usr/lib/rpm/perl.perl518-prov
>> %__perl_requires /usr/lib/rpm/perl.perl518-req
>> in it.
> By chance do you have %__perl_provides being defined in multiple rpm
> macro files (i.e. multiple perl*-devel packages installed)?
I see two files in /etc/rpm:
/etc/rpm/macros.perl:%global __perl_provides /usr/lib/rpm/perl.prov
No files in /usr/lib/rpm.
The macros.perl file comes from perl-macros-5.16.3-283.el7.x86_64. If I
`echo %__perl_provides` in the %setup section, it prints
/usr/lib/rpm/perl.perl518-prov, so it looks like the right setup is
being picked up.
I've uninstall perl-macros and started the build to see if that helps at
Recognia – World Leaders in Technical Analysis [VIDEO]<http://www.recognia.com/movie>
This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.
To stop receiving communication from Recognia simply click on the email address below:
unsubscribe at recognia.com<mailto:unsubscribe at recognia.com>
More information about the SCLorg