creating nrep version 3 rpm

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

creating nrep version 3 rpm

Post by vuduops »

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
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

Post by dwhitfield »

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
jfrickson

Re: creating nrep version 3 rpm

Post by jfrickson »

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.
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: creating nrep version 3 rpm

Post by vuduops »

Thank you. I tried creating as root after the confgure and it worked.

-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

Post by dwhitfield »

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: creating nrep version 3 rpm

Post by vuduops »

Yes please thank you
Locked