Spec files in Rawhide using ExclusiveArch: %{ocaml_arches}

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

 



  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
-- 
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