Mailinglist Archive: opensuse-packaging (235 mails)

< Previous Next >
Re: [opensuse-packaging]
  • From: Guido Berhoerster <gber@xxxxxxxxxxxx>
  • Date: Thu, 8 Mar 2012 10:40:29 +0100
  • Message-id: <20120308094029.GA2787@hal>
* Peter Linnell <mrdocs@xxxxxxxxxxxx> [2012-03-08 08:00]:
#1 I know what conditional dependencies are.

#2 “build the source RPM to be submitted" why build before submission?
if builds locally, why submit the SRPM instead of the whole project?

#3 "are presented in the rpmbuild command line" where the rpmbuild
command line is? I never see them on OBS, although I know I can "rpm
-ba *.spec --with condition 1 --without condition 2"

#4 I can't understand the sentence from "the reason" to the end.

Can anyone give me some hints? or a plain English example?

For OBS this is actually superfluous as you cannot run rpmbuild --ba
--with-conditional

No, "osc build" takes --with/--without and passes it along to
rpmbuild.

All conditionals need to be specified inside the spec file on OBS as
far as I am aware.

The wiki text needs a clean-up for sure and it is more Fedora/Redhat
or even Jpackage specific.

That's also not right, conditions can be used within OBS by
specifying them in the project configuration and they are
actually important for building packages differently depending on
the project using links. One prominent example is Packman
where OBS packages are linked and additional support for
restricted codecs is added through conditional parts in the
specfile that are normally disabled on OBS.
--
Guido Berhoerster
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >