Re: 'Requires' directive in spec file ignored?
"Jeff Johnson" <[email protected]> Fri, 4 Apr 2008 19:02:53 -0400
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 4, 2008 at 6:36 PM, Brian Reichert <[email protected]> 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 [email protected] https://www.redhat.com/mailman/listinfo/rpm-list