"make rpm" automation ?
Posted: Fri Mar 06, 2015 6:56 am
Current Makefile.in only support Solaris package making but not RPM.
I had to create my own makefile to automate rpm making process.
See below
Is there an interest to accept Makefile.ini pull request to support "make rpm" ?
I had to create my own makefile to automate rpm making process.
See below
Code: Select all
[nagios@fedora21 nagioscore]$ make -f Makefile.2nd rpm -n
rm -rf ~/rpmbuild && mkdir -p ~/rpmbuild/SOURCES ~/rpmbuild/RPMS ~/rpmbuild/BUILDROOT
cp -f ./nagios-4.1.0rc1.tar.gz ~/rpmbuild/SOURCES/nagios-4.1.0rc1.tar.gz
rpmbuild -v -ba --buildroot ~/rpmbuild/BUILDROOT ./nagios.spec
mv ~/rpmbuild/RPMS/x86_64/*.rpm .
[nagios@fedora21 nagioscore]$