[opensuse-buildservice] Questions on multi-platform building...

Hi, I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance: * How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it? * What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though). * How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ? Thanks in advance, Nelson. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Oct 7, 2010 at 11:50, Nelson Marques <nmo.marques@gmail.com> wrote:
Hi,
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
See the Build Service wiki at en.o.o. Hm, maybe someone else can answer this.
* What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though).
Again, see the Build Service wiki at en.o.o
* How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ?
And yet again, see the wiki. But you can't configure OBS to grab packages from a Fedora Mirror, I'm afraid.
Thanks in advance, Nelson.
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, 2010-10-07 at 13:32 -0400, Robert Xu wrote:
On Thu, Oct 7, 2010 at 11:50, Nelson Marques <nmo.marques@gmail.com> wrote:
Hi,
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
See the Build Service wiki at en.o.o. Hm, maybe someone else can answer this.
I did tried, but found no answer...
* What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though).
Again, see the Build Service wiki at en.o.o
I found no reference to it also, unless .fc13 is somehow trademarked. But such suffix is actually cool to have around.
* How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ?
And yet again, see the wiki. But you can't configure OBS to grab packages from a Fedora Mirror, I'm afraid.
OK, this I haven't searched, but it isn't also my top priority, unlike the first one.
Thanks in advance, Nelson.
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Oct 7, 2010 at 17:02, Nelson Marques <nmo.marques@gmail.com> wrote:
On Thu, 2010-10-07 at 13:32 -0400, Robert Xu wrote:
On Thu, Oct 7, 2010 at 11:50, Nelson Marques <nmo.marques@gmail.com> wrote:
Hi,
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
See the Build Service wiki at en.o.o. Hm, maybe someone else can answer this.
I did tried, but found no answer...
there should be something in faq, rpmlint... I remember seeing it there,
* What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though).
Again, see the Build Service wiki at en.o.o
I found no reference to it also, unless .fc13 is somehow trademarked. But such suffix is actually cool to have around
Check the wiki article about prjconf
* How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ?
And yet again, see the wiki. But you can't configure OBS to grab packages from a Fedora Mirror, I'm afraid.
OK, this I haven't searched, but it isn't also my top priority, unlike the first one.
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Am Donnerstag, 7. Oktober 2010, 17:50:24 schrieb Nelson Marques:
Hi,
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
It might be enough to add "Support: rpmlint" to your projects prjconf.
* What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though).
hm, it is defined in prjconf of Fedora:13 project, so it should work. We would need to debug that why it does not work.
* How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ?
We don't want to have a moving target. Packages compiled agains Fedora:13 should work with the latested updated packages, but also with a fresh, not updated installation. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Adrian Schröter wrote:
Am Donnerstag, 7. Oktober 2010, 17:50:24 schrieb Nelson Marques:
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
It might be enough to add "Support: rpmlint" to your projects prjconf.
Not quite. You need an equivalent of 'rpmlint-mini' as used in Factory. Ie in order to not influence build dependencies you need a more or less self contained package of rpmlint. That special rpmlint package needs to hook into the build script by installing a script to /usr/lib/build/checks (rpmlint-mini in openSUSE uses /opt/testing/bin/rpmlint but that's really a dirty hack that should be removed in the future). cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Tue, Oct 12, 2010 at 04:40, Adrian Schröter <adrian@suse.de> wrote:
Am Donnerstag, 7. Oktober 2010, 17:50:24 schrieb Nelson Marques:
Hi,
I've changed some of my .spec files to allow building in Fedora 13 in OBS, and the results are quite nice, though there's a couple of things I seek guidance:
* How to make usage of rpmlint in Fedora builds? I've noticed that rpmlint doesn't run for F13 builds. Is there anyway I can place the rpmlint config file from Fedora and make it run through it?
It might be enough to add "Support: rpmlint" to your projects prjconf.
* What is the problem with {?dist}? (the usual .fc13.). Though the packaged built locally are generated properly the ones built on OBS do not get the .fc13. Was this intended? (not much of an issue though).
hm, it is defined in prjconf of Fedora:13 project, so it should work. We would need to debug that why it does not work.
you have %{?dist} in the Release place, yes? You need to define in your prjconf: Release: <CI_CNT>.<B_CNT>%%{?dist}
* How to add extra repositories? I'm not sure why, but qmake-qt4 package isn't being picked up for Fedora. How would one configure OBS to grab packages from a Fedora Mirror ?
We don't want to have a moving target. Packages compiled agains Fedora:13 should work with the latested updated packages, but also with a fresh, not updated installation.
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Ludwig Nussel
-
Nelson Marques
-
Robert Xu