Overview

Request 1078831 superseded

Drop update-alternative facility, ammend License tag, among other packaging improvements.


Dominique Leuenberger's avatar
+Requires:       (python310-tomli if python310-base)
+Requires:       (python39-tomli if python39-base)

I think I know what you mean - but it's technically wrong.

I can have python39-base PLUS python310-base installed - this does not make me need python39-tomli

Technically more correct would be:

Requires: (python3-tomli if ((python310-base with python3-base) or (python39-base with python3-base)))

Luciano Santos's avatar
author source maintainer

Hmm, the BRs I used probably wouldn't cause trouble, but the same thing for Reqs, indeed can misbehave. My confusion boils down to the wrong interpretation of previous error messages I got before and me misunderstanding the documentation about Boolean Dependencies.


Luciano Santos's avatar
author source maintainer

This worked (and now I actually chose to try installing the built RPM). Thank goodness you know what I meant. Cheers!


Luciano Santos's avatar
author source maintainer

We can all agree gi-docgen.pc doesn't need to split, right? Otherwise raise your hand :^p


Luciano Santos's avatar
author source maintainer

Using unless boolean dep wasn't the answer too. I went with:

BuildRequires:  (python39-tomli if python39-base)
BuildRequires:  (python310-tomli if python310-base)

And this is the last time I make this much change to a package at once. It's hard to review it. Better use iterations instead.


Luciano Santos's avatar
author source maintainer

Switching to Meson does more harm than good for us here. I'm gonna drop it.


Luciano Santos's avatar
author source maintainer

OK. I revised the changes I'm doing here and, as long as the package is named python-gi-docgen, it's best we keep the single-spec stuff (I misused the term multi-spec before).

Request History
Luciano Santos's avatar

luc14n0 created request

Drop update-alternative facility, ammend License tag, among other packaging improvements.


GNOME Review Bot's avatar

gnome-review-bot accepted review

Check script succeeded


GNOME Review Bot's avatar

gnome-review-bot approved review

Check script succeeded


Bjørn Lie's avatar

iznogood declined request

Nack ref comment

(mainly cause I want to see a clean slate in my tasks :P )


Luciano Santos's avatar

luc14n0 superseded request

superseded by 1080016

openSUSE Build Service is sponsored by