Overview

Request 941798 accepted

- Rename %lang option to %released to pass Factory review

Loading...

Wolfgang Bauer's avatar
author source maintainer target maintainer

See SR#940979, apparently it won't get accepted to Factory otherwise.

Of course we'll also need to (un)set %released in the prjconf for KDE:Unstable:Extra then.


Luca Beltrame's avatar

Blah. What a waste of resources, although I guess this will need to be done.

Disgruntled +1.


Fabian Vogt's avatar

There was a quick discussion about that in IRC two days ago.

There are several options for KUF:

%_released 0
%_unreleased 1
%_without_released 0
%_with_unreleased 1

The first is annoying to use in .spec files, because RPM doesn't allow fallback values: %if %{!?released:1}%{?released}.

With %_unreleased it can be %if !0%{?_unreleased}.

With the bconds it can be either %if %{with released} or %if %{without unreleased} which are a bit weird to read, but have nicer syntax.


Luca Beltrame's avatar

I personally prefer the bconds.


Fabian Vogt's avatar

Me too. Also makes it easier to search/replace.

Request History
Wolfgang Bauer's avatar

wolfi323 created request

- Rename %lang option to %released to pass Factory review


Fabian Vogt's avatar

Vogtinator accepted request

Let's unblock the SR to oS:F, we can still discuss this later

openSUSE Build Service is sponsored by