[Fedora-packaging] Package that has a BR: on itself
Ralf Corsepius
rc040203 at freenet.de
Thu Aug 28 15:47:40 UTC 2014
On 08/28/2014 05:27 PM, Miroslav Suchý wrote:
> On 08/28/2014 03:49 PM, Ralf Corsepius wrote:
>> Examples? At least in some cases these likely are packaging bugs.
>
> I was looking for those examples and I realized I lied a little. So
> corrections:
>
> I saw a lot of examples where BR had *circular* dependencies because of
> %check section.
OK. this is not unusual. The "bootsrap" rpm flag trick might be a proper
work-around for these
Note you'll have to build all packages twice. Once with a "bootstrap
flag" set during a "bootstrap" from scratch and a second time without
"bootstrap flag" set, when incrementally building.
(Initially I was suspecting some testsuites being run against older,
installed packages and not against the just having been built versions.
We've had some of these cases, in the past.).
> For example whole Ruby On Rails stack. Huge amount of packages needs
> some rubygems for %check, but those rubygems need that original gem as
> BR of itself. E.g: rubygem-tilt, rubygem-thor, rubygem-fomatador,
> rubygem-rspec-expectations, rubygem-mocks, rubygem-rack-protection,
> rubygem-diff-lcs, rubygem-sinatra.
My wild guess would be ruby likely is in a similar situation as perl
(which applies the bootstrap trick).
Ralf
More information about the packaging
mailing list