Nadia Derbey wrote:
Hi,
I was reading the script /usr/bin/y2pmbuild (I wanted to figure out what's the difference between calling y2pmbuild and just an rpmbuild),
(y2pm)build sets up the buildroot and calls rpmbuild.
and I found the following:
in getneededforbuild(), I couldn't find the place where the line starting with "# needeforbuild" is analyzed
See /usr/share/y2pmsh/*
(http://forgeftp.novell.com//library/SUSE%20Package%20Conventions/spc.html#sp...).
The line "# usedforbuild" is analyzed instead, while it is supposed to be obsolete (http://forgeftp.novell.com//library/SUSE%20Package%20Conventions/spc.html#sp...
SPC is obsolete in this regard :-( '# neededforbuild' is obsolete, BuildRequires: should be the hand-edited header since 10.1. '# usedforbuild' again lists the packages installed in the buildroot.
I'm using y2pmsh-2.13.3-6 (on SuSE Linux 10.1). May be it is not the good one to use to be in phase with the SuSE package conventions?
y2pmsh is obsolete aswell ;-), better use the build.rpm package. hth Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org