Re: 'Requires' directive in spec file ignored?

"Jeff Johnson" <[email protected]> Mon, 7 Apr 2008 13:00:11 -0400
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
The spec file you posted has this:

Summary: mDNSResponder
Name: mDNSResponder
Version: %{version}
Release: %{release}

The "Version: %{version}" causes a macro recursion because
after Version: is parsed, one ends up defining version to itself.

Basically same as doing
    %define version %{version}
which can never be evaluated.

After commenting out all the elements in, I see dependencies:

$ rpm -qp mDNSResponder-1.2-3.*.rpm --requires
/bin/sh
/bin/sh
/bin/sh
/sbin/ldconfig
/sbin/ldconfig
executable(chkconfig)
executable(chkconfig)
executable(cp)
executable(cp)
executable(grep)
executable(sed)
executable(service)
executable(service)

73 de Jeff

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list