Re: Creating an autoprovides files

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

 



On Thu, Sep 21, 2017 at 05:51:27PM +0200, nicolas.mailhot@xxxxxxxxxxx wrote:
> I seem to remember that there was a way in recent rpm to declare
> autoprovides without touching the rpm package itself.
> 
> ie drop a file somewhere that tells rpm to process some path patterns with
> a script that outputs provides strings
> 
> However, I don't seem to manage to find the feature documentation (too many
> hits explaining how to disable automatic dependency generation). Can anyone
> on the list point me the right Fedora way?
> 
See perl-generators package:

$ rpm -ql perl-generators
/usr/lib/rpm/fileattrs/perl.attr
/usr/lib/rpm/fileattrs/perllib.attr
/usr/lib/rpm/perl.prov
/usr/lib/rpm/perl.req
/usr/share/doc/perl-generators
/usr/share/doc/perl-generators/Changes
/usr/share/doc/perl-generators/TODO

The /usr/lib/rpm/fileattrs/* files pairs a file path or file type criterion to
a script to run on the matched files. The scripts are /usr/lib/rpm/perl.*.
They get list of files names to scan on standard input and thei print the
dependency symbol on standard output.

-- Petr

Attachment: signature.asc
Description: PGP signature

_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux