--On Monday, September 17, 2018 3:13 PM -0400 "Kevin A. McGrail" <kmcgr...@apache.org> wrote:

You can install the srpm and then in
/usr/src/RedHat you get various files like tar files and patches with a
spec file that says how to build it.

That path would be if you were building as root, which is not recommended. I suggest creating a user just for making RPMs. Switch to that user and run rpmdev-setuptree to set up your packaging environment under ~/rpmbuild.

Some initial help to get one started:

<https://www.g-loaded.eu/2006/04/05/how-to-build-rpm-packages-on-fedora/>

<http://www.city-fan.org/tips/CreateRPMBuildEnvironment>

Reply via email to