[opensuse-packaging] y2pmbuild and "# neededforbuild"

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), and I found the following: in getneededforbuild(), I couldn't find the place where the line starting with "# needeforbuild" is analyzed (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... 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? Regards, Nadia --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

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

Michal Marek wrote:
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/*
Missed that one. Thanks!
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.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed). Regards, Nadia --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Nadia Derbey wrote:
Michal Marek wrote:
y2pmsh is obsolete aswell ;-), better use the build.rpm package.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed).
Um, yes. Do you volunteer for that? ;-) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Michal Marek wrote:
Nadia Derbey wrote:
Michal Marek wrote:
y2pmsh is obsolete aswell ;-), better use the build.rpm package.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed).
Um, yes. Do you volunteer for that? ;-)
Sure, as soon as I succeed in building my rpms using build ;-) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Michal Marek wrote:
Nadia Derbey wrote:
Michal Marek wrote:
y2pmsh is obsolete aswell ;-), better use the build.rpm package.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed).
Um, yes. Do you volunteer for that? ;-)
Done, can you have a check please? Regards, Nadia --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Hi, On Thursday, November 23, 2006 at 16:29:00, Nadia Derbey wrote:
Michal Marek wrote:
Nadia Derbey wrote:
Michal Marek wrote:
y2pmsh is obsolete aswell ;-), better use the build.rpm package.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed).
Um, yes. Do you volunteer for that? ;-)
Done, can you have a check please?
Adding "now obsoleted by build" everywhere is not really helping. The concepts are the same but the handling is not. Henne -- Henne Vogelsang, Core Services "Rules change. The Game remains the same." - Omar (The Wire) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Henne Vogelsang wrote:
Hi,
On Thursday, November 23, 2006 at 16:29:00, Nadia Derbey wrote:
Michal Marek wrote:
Nadia Derbey wrote:
Michal Marek wrote:
y2pmsh is obsolete aswell ;-), better use the build.rpm package.
So may be the wiki page (SuSE Build Tutorial) should be updated (it asks for y2pmsh to be installed).
Um, yes. Do you volunteer for that? ;-)
Done, can you have a check please?
Adding "now obsoleted by build" everywhere is not really helping. The concepts are the same but the handling is not.
But I didn't want to completely remove what concerns y2pmbuild in case someone was still using it? Regards, Nadia --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Henne Vogelsang
-
Michal Marek
-
Nadia Derbey