Re: 'Requires' directive in spec file ignored?

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

 



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
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