On May 6, 2012, at 10:12 PM, Richie wrote:
>> If you need a spec file, I can send you the spec file I have for EL5 which 
>> will build the RPMs for 5.8.11 for you.
> 
> Thanks for your kindness. I have not tried building RPM before, could you 
> include additional steps on how to grab the spec file and build the RPM.


Google "rpmbuild" and follow the instructions there for setting up rpmbuild.
   http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

I've included a good link, but it's best to read the other links and set them 
up to meet your own needs.  In particular, I use an option to keep the sources 
for each thing in their own subdirectory:
  %_sourcedir           %{_topdir}/SOURCES/%{name}

Then put all of the files from my site into SOURCES (or SOURCES/rsyslog/ if you 
do as I did) and the spec file in SPECS and run "rpmbuild -ba rsyslog.spec"

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.



_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to