On Wed, 2019-08-28 at 11:59 +0200, Ludwig Nussel wrote:
The Fedora page I linked describes exactly that. So I suppose the work was done long ago.
I digged a little more. Indeed we used to have the dependency generator script "/usr/lib/rpm/postscriptdriver.prov" in the python-cups package. Therefore all printer drivers have had BuildRequires on python-pycups for a long time (https://bugzilla.novell.com/show_bug.cgi?id=735865). If all went well, the script would create automatic Provides: tags for printers from PPD or cups .drv files included in a package. Unfortunately, with the replacement of python-cups by python-pycups, this got forgotten, and the file is not provided any more. So we basically lost this functionality (the packaging part at least) with SLE/Leap 15. I've created sr#726827 to re-introduce this file. As a next step, printer drivers would need to BuildRequire the "cups-rpm-helper" package rather than python-cups. (I have tried to simply add the file to python3-cups, but I couldn't get it right, so I created a subpackage). Regards, Martin