Re: building conflicting packages from a single spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/11/15 11:11, Florian Festi wrote:
> On 11/18/2015 04:26 AM, Pádraig Brady wrote:
>> Is $subject possible?
>>
>> For example generating subpackages like:
>>   %{name}-small-but-slow-binaries
>>   %{name}-fast-but-big-binaries
>>
>> I can %prep and %install into separate areas,
>> though was then wondering how to adjust
>> the buildroot for subpackages?
>>
>> Are any other techniques possible?
>> I suppose I could manually set conflicts,
>> and then move binaries post install,
>> though what happens if mv is one of the
>> binaries for example?
>>
>> cheers,
>> Pádraig.
>>
> 
> I added RemovePathPostfixes in 4.13. But is still kinda lacks proper
> documentation. See
> http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=415aa42566052db9b7677163cea0366e55f72dcf
> 
> It is also more useful for things like different config files than
> different builds...

Oh that works well in my case!
I installed the multicall stubs to $bin.single
and 'RemovePathPostfixes: .single' removes those suffixes later.
The advantage of that is that rpm handles the file provides appropriately.

thanks!
Pádraig.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux