<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Thanks for the advice - that's an angle I hadn't considered. &nbsp;Should work just fine.</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Stuart D. Gathman &lt;stuart@bmsi.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> General discussion about the RPM package manager &lt;rpm-list@lists.rpm.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Tue, February 22, 2011 10:56:40 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Bypassing source checks in rpmbuild -bc<br></font><br>
On Tue, 22 Feb 2011, Maule Mark wrote:<br><br>&gt; We are using a hybrid development&nbsp; process in our company where we take an<br>&gt; srpm, run it through rpmbuild -bp&nbsp; and then check the prepped source (ie.<br>&gt; BUILD/&lt;pkg&gt;) and spec file into&nbsp; our source control system.&nbsp; We then do<br>&gt; development against the expanded source&nbsp; and will periodically use our source<br>&gt; control system to generate a patch from accumulated changes and regenerate<br>&gt; the srpm.<br>&gt; <br>&gt; We throw&nbsp; away the SOURCES directory after expanding to save checking in some<br>&gt; duplication.<br>&gt;&nbsp; <br>&gt; To compile things for testing/develoopment, we then want to&nbsp; just be able to<br>&gt; use rpmbuild -bc -short-circuit ...<br><br>We use a makefile to generate the SOURCES from cvs.&nbsp; You can do something<br>similar:<br><br>cvstar:&nbsp;&nbsp;&nbsp; $(SRCTAR)<br><br>$(SRCTAR):<br>&nbsp;&nbsp;&nbsp; cvs export
 -r$(CVSTAG) -d $(PKG) java/bmsi/db<br>&nbsp;&nbsp;&nbsp; tar cvf $(PKG).tar $(PKG)<br>&nbsp;&nbsp;&nbsp; gzip -f $(PKG).tar<br>&nbsp;&nbsp;&nbsp; rm -r $(PKG)<br><br>Add your own rule to move the source tarball to the SOURCES directory.<br><br>&gt; Is there any way to bypass thyis&nbsp; check?&nbsp; I realize this isn't standard<br>&gt; practice - but it's the method we'd like to use if possible.<br><br>Generating the SOURCES from your source control system is easily automated,<br>as above.&nbsp; The SOURCES check verifies that the sources actually *can* be<br>generated from your source control system.&nbsp; It is not a check that you<br>want to bypass.<br><br>-- <br>&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Stuart D. Gathman &lt;<a ymailto="mailto:stuart@bmsi.com" href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>&gt;<br>&nbsp; &nbsp; Business Management Systems Inc.&nbsp; Phone: 703 591-0911 Fax: 703 591-6154<br>"Confutatis maledictis, flammis acribus
 addictis" - background song for<br>a Microsoft sponsored "Where do you want to go from here?" commercial.<br>_______________________________________________<br>Rpm-list mailing list<br><a ymailto="mailto:Rpm-list@lists.rpm.org" href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br><span><a target="_blank" href="http://lists.rpm.org/mailman/listinfo/rpm-list">http://lists.rpm.org/mailman/listinfo/rpm-list</a></span><br></div></div><div style="position:fixed"></div>


</div><br>







      </body></html>