Re: rpmbuild --buildarch equivalent?

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

 



>> Hi,
>>
>> A long time ago rpmbuild used to have an option --buildarch to
>> override the arch detection. What is its equivalent nowadays? Sorry,
>> couldn't figure it out so far.
>>
>
> --target=x86_64

Hmm... That builds a package for x86_64 even if there is a
'ExcludeArch: x86_64' statement in the specfile. Maybe I should
elaborate some more. I have a spec file that builds a bunch of
subpackages some of which shouldn't be built for different
architectures. I just want to verify that the right subpackages are
built for the right architectures.

> but nowadays I use mock to build packages

Yeah, I just thought there is an easier way using some commandline
switches or macros.

...Juerg


>
> --
> Sérgio M. B.
>
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[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