Re: Is it possible to manually insert shared library deps in an RPM?

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

 



On Fri, Feb 03, 2017 at 03:56:40PM +0000, David Howells wrote:
> Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> 
> > See the section "requires filtering"
> > 
> >   https://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies
> > 
> > instead of filtering you'd be augmenting, but that's fine.
> 
> This scriptlet would seem to be inconsistent with the way find-requires works:
> 
> 	$FINDREQ $* | sed -e '/libbadreq.so/d'
> 
> but find-requires seems to require the filenames to be piped in rather than
> passed on the command line.

IIRC about this stuff, the script has to be prepared to work both
ways.

You might be interested in looking at an example of a known working
depedency generator script:

$ rpm -ql supermin-devel
/usr/lib/rpm/fileattrs/supermin.attr
/usr/lib/rpm/supermin-find-requires

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux