Comments (8)
Thank you! Unfortunately, I have neither a setup for building RPMs, nor access to the EPEL repos - not sure if they accept PRs, or how that works.
from boxes.
@tsjensen dnf is essentially the same as yum, just a rewrite. The RPM files are the same (in terms of format, not content - that depends on the distro). In dnf distros, yum is usually a symbolic link, and you can use dnf and yum synonymously.
The content of the RPM may need to be different from one distro to the next, because paths or APIs may be different. Copying an RPM from Fedora to CentOS Stream, or from there to RedHat, or even from RedHat 8 to RedHat 9, may or may not work. Or, worse, may seem to work and then cause subtle problems - which is why I didn't simply use the Fedora RPMs on our RedHat systems. You will probably need to build several separate RPMs. I believe that RPMs also somehow encode the distro they are designed for, but I'm not sure how that works.
The RHEL 8 and 9 ones will probably also work for the corresponding AlmaLinux and Rocky distros without recompiling (that is Alma's and Rocky's claim to fame, after all). RedHat also all but guarantees that an RPM that works with one minor version (say, 8.1) will continue to work with all future minor versions, but major versions will break existing RPMs.
Most likely, the changes to the build process will be small, probably a few if statements in the Makefile, the spec file, or both. But that's where my experience ends.
Another hint: opensuse operates a build service where you essentially submit source code, and their servers build the packages for a whole slew of distros from the same spec file. They build packages for recent versions of openSUSE, SLES, CentOS, Fedora, Red Hat Enterprise Linux, Ubuntu, Debian and Mandriva/Mageia
https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
Update: disregard the opensuse build service - it does not appear to support RedHat 8 or RedHat 9
from boxes.
Boxes available in Testing EPEL 9 repo now https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e4d266d623.
from boxes.
Boxes available in Testing EPEL 9 repo now
Nice! Thank you @tim77!
from boxes.
That's right, to my knowledge, we have Fedora, but not RHEL.
I added the distribution names where I know things work to the website, in hopes of making this clearer.
Can you help with publishing a package for RHEL, and yum? This would be very useful!
from boxes.
@tim77 Is there a way to make our Fedora package available to other distros which use dnf? Or would that mean to redo the work for their environments?
from boxes.
And now Boxes available on EPEL 8 (Testing repo currently). It will go into Stable repo after 7 days automatically, but you can speedup this process and test this build and then give a positive +1
karma in Bodhi service, see https://fedoramagazine.org/contributing-fedora-testing-packages/.
Enjoy Boxes on RHEL 8,9. 🎉
from boxes.
Wow, that was quick! Thank you! 😎👍
from boxes.
Related Issues (20)
- compilation option request (static binary) HOT 6
- Update project license to GPL-3 HOT 1
- Tests failing on x86_64-unknown-linux-musl HOT 28
- Portage reports build QA issues HOT 1
- Build fails with clang 16 HOT 2
- Clang support? HOT 5
- Error installing/building boxes 2.2.0 under brew HOT 8
- Add MacOS job to our GitHub Actions HOT 1
- Add Windows CI to our GitHub build workflow HOT 3
- v2.3.0 some tests not passed HOT 7
- Testsuite failing on i386 architecture? HOT 12
- Contact info for artist Joan Stark HOT 3
- How to align / center a box within the terminal window? HOT 7
- Allow blank boxes when specified via `-c " "` HOT 5
- shell-init: error HOT 4
- pcre2 HOT 8
- Update (Ubuntu) Packages to v2 HOT 14
- Question/Clarification on License (GPL-2 vs. GPL-2+) HOT 2
- Spacing for Unicode Block characters is off HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boxes.