version depency determined at compile time?

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

 



Hi,

I want to put a package with version dependency in a spec file. But I have
not figue out how to do it.

The gnomesword package can be build against various versions of sword but
it will only run against the one it is compiled against.

To make this clear I want to put in a dependency at compile time.

So if I have sword-1.5.6 installed and build with my spec file I want a
dependency for sword = 1.5.6

But if I compile against sword 1.5.7 I want the requirement to be sword =
1.5.7

Is there a way to gain this information at build time?

Hugo.


-- 
 All email sent to me is bound to the rules described on my homepage.
    hvdkooij@xxxxxxxxxxxxxxx		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.


_______________________________________________
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