Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] Release tagging
Thanks! I need to rebuild some packages and keep their release numbers similar
to original packages. So defining release macro in a .spec is a way to go.

27.06.2018, 13:06, "Scott Bahling" <sbahling@xxxxxxxx>:
On Wed, 2018-06-27 at 09:16 +0300, Mitya Ivanov wrote:
 Hi friends! I have a couple of packages in a project to build and i want
 to set their release tags according to those specified in .spec files. Is
 it possible to do this instead of define common "Release:" tag in prjconf?

Have you looked at:
https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#How_to_control_a_Release_number_of_resulted_packages

It's considered bad practice to not let the build service increment the
release numbers with each build (or not ensure that the numbers increment
with each release and build somehow), but if you just want to add a
prefix/suffix to what the build service generates, I find the following
method to work well.

  Release: <CI_CNT>.<B_CNT>.myrelease

Use this carefully, and ensure you understand how rpm version comparison
will work with regard to desired upgrade scenarios.

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

< Previous Next >