Bug 1172407 - printer drivers missing BuildRequires cups-rpm-helper
printer drivers missing BuildRequires cups-rpm-helper
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Printing
Leap 15.2
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Johannes Meixner
Johannes Meixner
Depends on:
  Show dependency treegraph
Reported: 2020-06-02 14:37 UTC by Ludwig Nussel
Modified: 2021-01-19 09:20 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2020-06-02 14:37:54 UTC
python-cups was replaced python-pycups and at the same time the automatic provides generator was moved to a new subpackage "cups-rpm-helper". So now all printer drivers that previously pulled in python-cups in order to have model specific provides lack those. So either all printer driver packages that install ppd files need to pull in cups-rpm-helper or cups-devel itself needs to require that.

This affects both 15 as well as Tumbleweed
Comment 1 OBSbugzilla Bot 2020-06-02 15:10:07 UTC
This is an autogenerated message for OBS integration:
This bug (1172407) was mentioned in
https://build.opensuse.org/request/show/810863 Factory / printer-driver-brlaser
Comment 2 Andreas Schwab 2020-07-05 07:29:54 UTC
This creates a nasty build cycle between python-pycups and cups.

      nothing provides cups-rpm-helper needed by cups-devel
Comment 3 Ludwig Nussel 2020-07-06 08:29:44 UTC
hmm, I wonder why the cycle detector doesn't detect that
Comment 4 Dominique Leuenberger 2020-07-06 08:33:45 UTC
(In reply to Ludwig Nussel from comment #3)
> hmm, I wonder why the cycle detector doesn't detect that

It's a self-cycle: pycups needs pycups to be built to build pycups - OBS never shows those (and it's annoying)

The easiest way to avoid this is #!BuildIgnore: cups-rpm-helper in pycups.spec
Comment 5 Ludwig Nussel 2020-07-06 08:50:21 UTC
Comment 8 Johannes Meixner 2021-01-19 09:20:38 UTC
Seems to be done as far as I see in the spec files:

cups (cups-devel)
Requires:       cups-rpm-helper

BuildRequires:  cups-rpm-helper

BuildRequires:  cups-devel

BuildRequires:  cups-devel

BuildRequires:  cups-devel

BuildRequires:  cups-devel

BuildRequires:  cups-devel

BuildRequires:  cups-rpm-helper

BuildRequires:  cups-rpm-helper
BuildRequires:  cups-devel

BuildRequires:  cups-devel