[opensuse-buildservice] prjconf not working as expected
I've been trying to figure this one out: I have my own instance of OBS, and have the following line in my prjconf (for CentOS 6) Required: redhat-rpm-config I realize the official ones on build.opensuse.org use: Substitute: python python redhat-rpm-config My question is why "Required: redhat-rpm-config" doesn't work - when the buildroot is finished, and the RPM is about to start, I get the following error: ----------------------------------------------------------------- ----- building cpower.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://n009.americas.sgi.com/home:bhaxo/CentOS_6.0/562eecc211d1eabc044dca86edd6f60a-cpower' /home/abuild/rpmbuild/SOURCES/cpower.spec error: Failed build dependencies: redhat-rpm-config is needed by cpower-2.5-sgi.cl6.1.1.noarch Thanks. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Aug 23, 2011 at 06:12:11PM -0600, Troy Telford wrote:
I've been trying to figure this one out: I have my own instance of OBS, and have the following line in my prjconf (for CentOS 6)
Required: redhat-rpm-config
That should work.
I realize the official ones on build.opensuse.org use: Substitute: python python redhat-rpm-config
Which means that it only gets added if "python" is BuildRequired.
My question is why "Required: redhat-rpm-config" doesn't work - when the buildroot is finished, and the RPM is about to start, I get the following error:
Maybe some other package obsoletes it, when you look at the build log, does it get installed? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Michael Schroeder
-
Troy Telford