spm and buildreqs

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu May 19 17:22:56 UTC 2005


skvidal at phy.duke.edu (seth vidal) writes:

>> > If we're inside the chroot and on the arch we want to build on then
>> > running:
>> >  rpm -Uvh /path/to/our/srpm
>> >  rpmbuild -bs --nodeps /path/to/the/generated/spec
>> >  
>> > should result in a srpm for us that will have valid build reqs.
>> ....
>> It will fail for specs that express buildrequires using a macro that
>> gets its result from a program that ought to be installed.
>> 
>> Think "python --version" and then buildrequiring the correct version by
>> package name.
>> 
>
> Right and I think we agreed that doing that could be banned from
> packages.

... or be solved by the buildsystem...



Enrico




More information about the buildsys mailing list