[scl.org] perl dependency generation on CentOS 7
Orion Poplawski
orion at cora.nwra.com
Fri Aug 1 19:41:13 UTC 2014
On 08/01/2014 10:30 AM, Malcolm Studd wrote:
> Hi,
>
> I'm having trouble building a perl 5.18/5.20 SCL on CentOS 7. I already
> built a perl 5.18 SCL on CentOS 6 based on the perl516 SCL, and it
> worked no problem. Moving to CentOS 7, though, all the requires/provides
> are "perl" instead of "perl518-perl"
>
> I followed SCL documentation[1] 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)?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the SCLorg
mailing list