Re: Pull requests for compat-gcc-34

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

 



On Friday, 09 February 2018 at 09:50, Jakub Jelinek wrote:
> On Fri, Feb 09, 2018 at 09:48:30AM +0100, Rafal Luzynski wrote:
> > 9.02.2018 08:41 Kevin Kofler <kevin.kofler@xxxxxxxxx> wrote:
> > >
> > >
> > > Rafal Luzynski wrote:
> > > > Requires: libstdc++.so.6
> > >
> > > That needs to be libstdc++.so.6()(64bit) on x86_64 and other 64-bit multilib
> > > architectures though.
> > 
> > I know and this was going to be my next question: what magic
> > operator to use to generate the correct form for all architectures?
> > Or maybe there is no such operator and I should use some %if ... %else
> > to detect 32bit/64bit/multiarch?
> 
> I believe there is none and in the compat-gcc-34 I've built yesterday I'm
> using %ifarch.

I think it's better to use something like:

%if %__isa_bits == 64
%global dep_suffix ()(64bit)
%endif
Requires: libstdc++.so.6%{?dep_suffix}

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPMFusion   http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[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