Home » Repos » General chat » RPM Tips ?
RPM Tips ? [message #3979] Mon, 05 March 2018 23:58 Go to next message
ryan5122 is currently offline  ryan5122
Messages: 1
Registered: March 2018
Location: Australia
Junior Member

I'm currently training in redhat 7 and i was wondering if you had any tips on setting up a repo like you have done ?, id like to be able to build my own rpms make sure they have .desktop files when installed and pull in necessary dependencies.

Any advice would be appreciated

Kind Regards

Re: RPM Tips ? [message #3980 is a reply to message #3979] Tue, 06 March 2018 16:43 Go to previous message
nux is currently offline  nux
Messages: 1663
Registered: January 2012
Senior Member

Hi Ryan,

Not sure where to begin. RPM building is not a small subject and it takes a while to get a decent hang of it, but it's not too complicated.

There are plenty of resources online. I don't have time to go into details, but my main tips would be:
- use mock for building, see e.g. kages-with-mock/
- most software is already packaged, if not for CentOS 7, then for Fedora or other RPM based distros, use to search for them
- try to maintain compatilibity and not to overwrite existing repos as this will lead to head aches, particularly do not overwrite packages in the CentOS official repos and EPEL

- as an extra tip, look perhaps at building Flatpak apps rather than RPMs, seems like the way of the future.

Previous Topic: CentOS 7 httpd24 rpm
Next Topic: Stella 6.8 >> Stella 6.10
Goto Forum:

Current Time: Mon Apr 06 22:53:40 BST 2020

Total time taken to generate the page: 0.00912 seconds