Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
RE: [opensuse-buildservice] %{?dist} in obs
  • From: <Michael_E_Brown@xxxxxxxx>
  • Date: Tue, 26 Jan 2010 09:07:05 -0600
  • Message-id: <F757EE5C3631ED4DBDFD7709119219FE012E10EC12@xxxxxxxxxxxxxxxxxxxxxxxxxx>
I assume you want to do something like this:

Release: <CI_CNT>.<B_CNT>%%{?dist}

Note the double %%, or else %{?dist} is expanded too early, resulting in a nil
string. This is how I have my projects configured.
--
Michael

________________________________________
From: Robert Xu [robxu9@xxxxxxxxx]
Sent: Tuesday, January 26, 2010 5:58 AM
To: opensuse-buildservice@xxxxxxxxxxxx
Subject: [opensuse-buildservice] %{?dist} in obs

Hello all,

As you know, the Fedora macros have a dist macro in the release of
their packages. So I set my own dist macro in the Project Config and
everytime it builds, it changes dist to a random number. Help?

Robert Xu
Ever tried Linux? :)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References