Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-21 Thread Alec Leamas
Well, lpf ( in package lpf) is about this: it downloads, builds and installs a target package from sources. As of now, there are no user-defined options; no usecase so far. Wouldn't be hard to add if need be. On Tue, Jan 21, 2014 at 2:31 PM, Christopher Meng wrote: > I first thought it was ju

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-21 Thread Christopher Meng
I first thought it was just kind of something like what gentoo packages do in their ebuilds, but then I also found that it's useless sometimes as described by Richard. Hereby comes a question, do we have any plans of let users install packages from sources(crazy of course...) with bcond defined al

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Björn Persson
Ville Skyttä wrote: >On Mon, Jan 20, 2014 at 4:24 PM, Björn Persson > wrote: >> Apparently RPMbuild has a pair of parameters "--with" and "--without" >> that can supposedly enable and disable optional features in a >> package. Has anyone seen any documentation that explains how those >> work and ho

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Panu Matilainen
On 01/20/2014 05:56 PM, Richard W.M. Jones wrote: On Mon, Jan 20, 2014 at 03:24:12PM +0100, Björn Persson wrote: Apparently RPMbuild has a pair of parameters "--with" and "--without" that can supposedly enable and disable optional features in a package. Has anyone seen any documentation that exp

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Alexander Bokovoy
On Mon, 20 Jan 2014, Panu Matilainen wrote: On 01/20/2014 07:31 PM, Alek Paunov wrote: On 20.01.2014 16:24, Björn Persson wrote: According to the Packaging Guidelines we're not supposed to use those parameters when building "the source RPM to be submitted", because they somehow get "serialized"

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Panu Matilainen
On 01/20/2014 07:31 PM, Alek Paunov wrote: On 20.01.2014 16:24, Björn Persson wrote: According to the Packaging Guidelines we're not supposed to use those parameters when building "the source RPM to be submitted", because they somehow get "serialized" into the source package. I don't understand

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Alek Paunov
On 20.01.2014 16:24, Björn Persson wrote: According to the Packaging Guidelines we're not supposed to use those parameters when building "the source RPM to be submitted", because they somehow get "serialized" into the source package. I don't understand this, because I don't submit any source pack

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Richard W.M. Jones
On Mon, Jan 20, 2014 at 03:24:12PM +0100, Björn Persson wrote: > Apparently RPMbuild has a pair of parameters "--with" and "--without" > that can supposedly enable and disable optional features in a package. > Has anyone seen any documentation that explains how those work and how > they interact wi

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Ville Skyttä
On Mon, Jan 20, 2014 at 4:24 PM, Björn Persson wrote: > Apparently RPMbuild has a pair of parameters "--with" and "--without" > that can supposedly enable and disable optional features in a package. > Has anyone seen any documentation that explains how those work and how > they interact with a spe

Re: RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Panu Matilainen
On 01/20/2014 04:24 PM, Björn Persson wrote: Apparently RPMbuild has a pair of parameters "--with" and "--without" that can supposedly enable and disable optional features in a package. Has anyone seen any documentation that explains how those work and how they interact with a spec file? I want

RPMbuild mystery parameters "--with" and "--without"

2014-01-20 Thread Björn Persson
Apparently RPMbuild has a pair of parameters "--with" and "--without" that can supposedly enable and disable optional features in a package. Has anyone seen any documentation that explains how those work and how they interact with a spec file? I want to be able to easily switch an option between t