I am trying to create an rpm for 3.0.1 version for nrpe using the tar.gz file. I am getting the below error. Is there a way to fix this issue ?
[XXXX SOURCES ]$ rpmbuild -ta 3.0.1.tar.gz
error: Failed to read spec file from 3.0.1.tar.gz
-Krishna
creating nrep version 3 rpm
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: creating nrep version 3 rpm
Creating RPMs is out of the scope of support. Fedora has very thorough documentation on the topic: https://fedoraproject.org/wiki/How_to_c ... PM_package
If you'd like, you can file a feature request on the NRPE github: https://github.com/NagiosEnterprises/nrpe/issues/new
If you'd like, you can file a feature request on the NRPE github: https://github.com/NagiosEnterprises/nrpe/issues/new
-
jfrickson
Re: creating nrep version 3 rpm
nrpe.spec is created from nrpe.spec.in during the ./configure process. So you need to run ./configure first, then re-tar and include the newly generated nrpe.spec file.
Re: creating nrep version 3 rpm
Thank you. I tried creating as root after the confgure and it worked.
-Krishna
-Krishna
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: creating nrep version 3 rpm
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: creating nrep version 3 rpm
Yes please thank you