RE: Building RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In regard to: RE: Building RPMs, Laughlin, Joseph V said (at 1:24pm on May...:

>That's what I figured.  Still kinda inconvient though.

If you're testing a new spec, and you have an error in %build or %install,
you can use --short-circuit to skip %prep and/or %build to continue
your compilation and installation testing.

However, you can't actually build an RPM using --short-circuit.  It's only
using for restarting the process when testing.  Once you have the problems
worked out and you're ready to build RPMs, you need to go through the full
process without trying to --short-circuit anything.

Tim

>> Subject: Building RPMs
>>
>> When I'm building an RPM with 'rpmbuild -ba <spec file>', if I mess up
>
>> on the spec file (say I forgot to add a file to the %files directive),
>
>> I have to recompile the whole software, which can be a little annoying
>
>> at times.  Is there anyway to avoid this?

-- 
Tim Mooney                              mooney@xxxxxxxxxxxxxxxxxxxxxxxxx
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux