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

Re: 'Requires' directive in spec file ignored?





On Fri, Apr 4, 2008 at 6:36 PM, Brian Reichert <reichert numachi com> 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 

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