On Sun, Dec 23, 2007, Jeff Johnson wrote:
> [...]
>> So, I think the currently implemented %track support is good and a major
>> step forward in practice as it (as OpenPKG clearly shows since years)
>> allows one to automatically track the upstream version. But I personally
>> would let the current implementation just settle for RPM 5.0 and see
>> what feedback comes. Based on this feedback I would decide what further
>> improvements should be done for RPM 5.0.
>>
>> Additionally, what would be IMHO a lot more useful in practice than
>> additional _tracking_ functionality would be to have the companion
>> feature which is still missing in RPM: the possibility to automatically
>> download those distribution files which are still not present on the
>> local filesystem! In OpenPKG we are using a silly external Perl utility
>> for this ("openpkg dev fetch *.spec"), but to complement the vendor
>> tracking to have this functionality built directly into RPM would be
>> phantastic.
>>
> Um, rpm has had the ability to automatically download, with
> digest/signature verification of the downloaded content
> through a similar run-time probe as vcheck, since 4.4.6.
> (digesy/signature verification in 4.4.9).
>
> Fragile and largely untested yes. But already implemented.
Ops? Then I've overlooked this. What do I have to do to
get this actually working? I've removed the distribution
file and tried to build:
| $ /openpkg/bin/openpkg rpm -ba *spec
| error: Fetching /make-3.81.tar.gz failed: Unknown or unexpected error
| Executing(%prep): env -i /openpkg/lib/openpkg/bash --norc --noprofile --posix -e /tmp/rse/openpkg/tmp/rpm-tmp.85863
| + cd /tmp/rse/openpkg/tmp
| + exit 0
| error: Bad file: /d2/u/rse/prj/openpkg-2008/src/pkg.dst/make/make-3.81.tar.gz: No such file or directory
|
|
| RPM build errors:
| Fetching /make-3.81.tar.gz failed: Unknown or unexpected error
| Bad file: /d2/u/rse/prj/openpkg-2008/src/pkg.dst/make/make-3.81.tar.gz: No such file or directory
I guess I need to configure some macros to allow RPM to fetch the
distribution file from this example. BTW, the make.spec I used
contained:
| Version: 3.81
| [...]
| Source0: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
So, what do I have to configure to allow RPM 5 to download this source file, Jeff?
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Received on Sun Dec 23 13:26:46 2007