Mailinglist Archive: opensuse-buildservice (95 mails)

< Previous Next >
Re: [opensuse-buildservice] %dist rpm macro for Fedora 31 resolves to .fc30
On Tue, Jan 14, 2020 at 5:54 PM Fritz Elfert <fritz@xxxxxxxxxxxxxxx> wrote:

Subject says it all. Should resolve to .fc31


It's the result of a quirk with how OBS is set up for creating Fedora
buildroots. It uses the generic-release package instead of the
fedora-release package. Unfortunately, during the Fedora 31 release
development, bumping generic-release from 30 to 31 was missed. It was
fixed post-GA, but that doesn't help in the default case.

If you want the DistTag (%dist macro) to be the correct value without
pulling in updates, you can do the following:

%if 0%{?fedora} == 31
Substitute: generic-release fedora-release
%endif



--
真実はいつも一つ!/ Always, there's only one truth!
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References