Re: Perl RPM Requires/Provides

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

 



* Dave Cross [16/10/2009 22:04] :
>
> As I understand it, the current version of rpmbuild works generates the  
> Requires and Provides definitions for an RPM by parsing the Perl code  
> and working out which modules are used (for Requires) or defined (for  
> Provides).

Correct. Actually, it's not "the current version", it's been that way
for quite some time.

> Also, is there a way to provide my own replacement for these files  
> without just overwriting them. I'd rather not fiddle directly with  
> system supplied code.

You can actually disable this behaviour by adding one of the following
lines:

AutoReqProv: no
AutoReq:     no
AutoProv:    no

in your spec files. You can then use the Requires and Provides tags to
provide the ones of your choice.

Note that there's only the option of selectively removing the
automatically found values:
http://fedoraproject.org/wiki/Packaging:Perl#Filtering_Requires:_and_Provides

Emmanuel

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[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