Re: 'Requires' directive in spec file ignored?

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

 





On Fri, Apr 4, 2008 at 6:36 PM, Brian Reichert <reichert@xxxxxxxxxxx> wrote:
I've never seen this one before:

I'm developing an RPM, with a %post scriptlet that invokes some
classic UNIX commands (grep, sed, etc.).

I can build my RPM, but I found that the commands in my %post
scriptlet weren't showing up as automatically-found dependancies
for my RPM.  (rpm -q --requires -p foo-1-1.i386.rpm)

So, I went ahead and expressly added them as requirements:

 Requires: /sbin/chkconfig
 Requires: /bin/cp
 Requires: /bin/grep
 Requires: /sbin/service
 Requires: /sbin/ldconfig

Smells like a goofy spec file syntax problem, like unclosed macro, or Requires:
oddly placed.

Post a link to your spec file, perhaps I can spot the problem.

73 de Jeff 
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux