What is the best way to share a printer driver RPM I built?

Hi,

I recently needed to install CUPS drivers for Xerox Phaser 3020 printer on an rpm-ostree system. The manufacturer provides the driver as a tar with pre-built binaries and install.sh script that throws files around the system, so it’s not compatible with an immutable distro.

I built an RPM for this driver for personal use and now I’m wondering what is the best way to share it to help others.

At first I thought about Copr, but looks like projects in Copr needs to have a compatible license, which this binary driver doesn’t seem to have.

Next I thought about RPM Fusion, but looks like it’s not suitable for newcomers who don’t have existing status in Fedora and don’t know someone who can sponsor them.

My default would be to put it on GitHub for people to build themselves, but I wondered if there’s a better way to make installation easier for people and keep it up-to-date with new Fedora versions.

What would you recommend?

While it is admirable that you want to help others, I suggest you look into the driver’s license terms and the topic of redistribution. Without having checked the terms, I would assume that Xerox grants users a license to use the driver but probably not to redistribute it.

You’re right, they don’t grant distribution license.

What is the RPM itself won’t contain the driver but will download, verify hash, and unpack it as part of a post-install scriptlet?

The driver name inside the linked archive matches an existing project:
Samsung Unified Linux Driver – Printers & Scanners – negativo17.org

You should consider opening a similar issue:
Add drivers for HP printers · Issue #1 · negativo17/uld · GitHub