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

Re: Using URL in Source/Patch?



Meanwhile, if you really want to experiment, you should be able to
do something like
	Source: <your URL here>
	...
	%(cd %{_sourcedir} && wget %{SOURCEURL0})
	...
	%prep

I don't think that would be a good idea for security reasons unless you also provided a different server from which to grab a checksum and check the tarball you grab from the source url...


At that point, it seems easier to just have the tarball sitting on your hd when you do the build. I don't quite understand the point of having a spec file grab a tarball from elsewhere when building. If the version changes, the builder wants to read the changelog anyway to make sure the spec file takes proper advantage of all changes.

Automation like that is nice, but it always has its drawbacks.

-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters		(510) 623-9726 Ext. 219
Sr. Developer			(510) 249-9125 (fax)
Abriasoft
http://www.abriasoft.com/





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