I assume you want to do something like this:
Release: .%%{?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@gmail.com]
Sent: Tuesday, January 26, 2010 5:58 AM
To: opensuse-buildservice@opensuse.org
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@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org