Mailinglist Archive: opensuse-packaging (48 mails)

< Previous Next >
[opensuse-packaging] Querying version of a package
  • From: Axel Braun <axel.braun@xxxxxx>
  • Date: Wed, 26 Dec 2018 20:11:30 +0100
  • Message-id: <2296945.aINJ9GG4ih@t520.axxite.internal>
Good evening,

I have a package foo, depending on package bar.
If I query the version of bar on the command line I get:
rpm -q --qf '%{VERSION}' bar -> 4.6.9 (correct result)

If I do the same in the build environment (specfile) I get the version of foo
instead (wrong result)

Any idea where this comes from, and how to fix?

Long version:

Have a good evening

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation