On Tue, Apr 15, 2014 at 08:19:11AM -0400, Jens Petersen wrote:
> > > >Some OCaml spec files do the following:
> > > >
> > > > ExclusiveArch: %{ocaml_arches}
> > > >
> > > >This is always incorrect for several reasons:
>
> Is %{ocaml_arches} used for anything?
>
> In case not, maybe better to remove it?
I've removed it completely. I'm updating the packages which
used this macro.
(Unfortunately my original email on this subject is stuck in a
moderator queue, so I've attached it here.)
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
--- Begin Message ---
- To: devel@xxxxxxxxxxxxxxxxxxxxxxx
- Subject: Spec files in Rawhide using ExclusiveArch: %{ocaml_arches}
- From: "Richard W.M. Jones" <rjones@xxxxxxxxxx>
- Date: Tue, 15 Apr 2014 11:26:58 +0100
- Cc: alt-ergo-owner@xxxxxxxxxxxxxxxxx, apron-owner@xxxxxxxxxxxxxxxxx, brltty-owner@xxxxxxxxxxxxxxxxx, coq-owner@xxxxxxxxxxxxxxxxx, frama-c-owner@xxxxxxxxxxxxxxxxx, gappalib-coq-owner@xxxxxxxxxxxxxxxxx, graphviz-owner@xxxxxxxxxxxxxxxxx, js-of-ocaml-owner@xxxxxxxxxxxxxxxxx, ocaml-camlp5-owner@xxxxxxxxxxxxxxxxx, ocaml-facile-owner@xxxxxxxxxxxxxxxxx, ocaml-lacaml-owner@xxxxxxxxxxxxxxxxx, ocaml-lwt-owner@xxxxxxxxxxxxxxxxx, ocaml-mlgmpidl-owner@xxxxxxxxxxxxxxxxx, ocaml-ocamlgraph-owner@xxxxxxxxxxxxxxxxx, ocaml-react-owner@xxxxxxxxxxxxxxxxx, ocaml-sqlite-owner@xxxxxxxxxxxxxxxxx, ocaml-zarith-owner@xxxxxxxxxxxxxxxxx, virt-dmesg-owner@xxxxxxxxxxxxxxxxx, whenjobs-owner@xxxxxxxxxxxxxxxxx, why-owner@xxxxxxxxxxxxxxxxx, why3-owner@xxxxxxxxxxxxxxxxx, pmatilai@xxxxxxxxxx, normand@xxxxxxxxxxxxxxxxxx, ocaml-owner@xxxxxxxxxxxxxxxxx
- User-agent: Mutt/1.5.20 (2009-12-10)
NOTE: If you are in the CC of this email, then you don't need to do
anything. I will fix your package for you. However you
should still read the email.
Some OCaml spec files do the following:
ExclusiveArch: %{ocaml_arches}
This is always incorrect for several reasons:
(1) This macro is provided by redhat-rpm-config, and has the wrong
list of architectures.
(2) OCaml compiles on all architectures.
There may be some packages using this macro to mean "I need the OCaml
native code compiler", which is still wrong, but I'm going to fix this
by adding the following macros to the RPM config:
%ocaml_native_compiler # all arches that support native compilation
%ocaml_natdynlink # all arches that support native dynamic linking
So you could use this instead if you need the native compiler:
ExclusiveArch: %{ocaml_native_compiler}
The following packages appear to be affected, and I will fix them:
alt-ergo
apron
brltty
coq
frama-c
gappalib-coq
graphviz
js-of-ocaml
ocaml-camlp5
ocaml-facile
ocaml-lacaml
ocaml-lwt
ocaml-mlgmpidl
ocaml-ocamlgraph
ocaml-react
ocaml-sqlite
ocaml-zarith
virt-dmesg
whenjobs
why
why3
There may be others which I didn't spot which are affected.
Related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1087794
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
--- End Message ---
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct