xemu icon indicating copy to clipboard operation
xemu copied to clipboard

DEPLOY: consider using COPR service to build RPM packages

Open lgblgblgb opened this issue 2 years ago • 0 comments

As @dexterous noted on Discord (thanks!): COPR is a free service to build RPM packages, and can be integrated into github events (ie build on push etc). It would be useful to provide RPM packages of Xemu. So far, the only "official" RPM package I provide is a very awkward one: on building DEB package, I use the alien tool to convert the DEB into RPM. Technically the result is RPM indeed, however the problem that dependencies can be way off, probably not the same dependent library versions are used on a given RPM-based distro as on Ubuntu, so these "fake" RPM packages can be kinda useless in their current form and should be done the proper way instead.

I uploaded an updated rpm spec file to filehost for xemu (I called the package x-emulators as suggested). I also started a project in Fedora COPR to build RPMs for most modern RPM based distros (rhel, centos, fedora, mageia, oracle linux & opensuse leap). I added a link in the doco on filehost, but the repos can be found here; https://copr.fedorainfracloud.org/coprs/glbyers/x-emulators/

LGB , you could create your own COPR project and integrate your github project so that it automatically builds new RPMs on each commit.

Fedora COPR is a cloud service for building and hosting RPM packages. It is a free service and they even automatically create and host package repositories for your project. You basically register an account, select your build targets, then upload a SPEC file, a source RPM, or connect it to your version control system of choice. It seems to be a fantastic service and thought it may interest you, but understand it's not likely something you have the time or interest to do. I've already setup a project and am happy to run builds for many distros periodically.

lgblgblgb avatar Mar 21 '22 11:03 lgblgblgb