How do I modify a .spec file

Tim Mooney Tim.Mooney at ndsu.edu
Sat Aug 22 19:07:35 UTC 2015


In regard to: How do I modify a .spec file, mario chiari said (at 2:29pm on...:

> I mean, I have a -.src.rpm package;
> it opens  as a -.src.tar.gz package and a -.spec file.
> I modify the .spec file (say, I  correct a path)
> Now, how do I recreate an updated .rpm package?

You probably want to search for the PDF for "Maximum RPM" online.  A few
sections are outdated, but it's a high-quality book that will introduce
you to how to build packages with RPM.

The basic answer to your question is that you run

 	rpmbuild -bb the_spec_file.spec

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


More information about the Rpm-list mailing list