public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-mccs] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-10 2:45 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-10 2:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-mccs
Branch : rawhide
Commit : 932c6d3814dbd9aa6ca954c98894d92e6219dbef
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T20:44:47-06:00
Stats : +7/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-mccs/c/932c6d3814dbd9aa6ca954c98894d92e6219dbef?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
---
diff --git a/ocaml-mccs.spec b/ocaml-mccs.spec
index a3a90b1..3af7ac0 100644
--- a/ocaml-mccs.spec
+++ b/ocaml-mccs.spec
@@ -9,10 +9,10 @@ ExcludeArch: %{ix86}
Name: ocaml-mccs
Version: %{basever}.%{extraver}
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Multi Criteria CUDF Solver with OCaml bindings
-%global libname %(echo %{name} | sed -e 's/^ocaml-//')
+%global libname %{gsub %name ^ocaml-(.*)$ %1}
# Original C/C++ code is BSD-3-Clause, OCaml bindings are LGPL.
# The bundled glpk code is not used.
@@ -27,6 +27,7 @@ Source: https://github.com/AltGr/ocaml-mccs/archive/%{basever}+%{extrave
# Link against the system glpk library
Patch: ocaml-mccs-1.1-glpk.patch
+BuildSystem: dune
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: gcc, gcc-c++
@@ -63,15 +64,6 @@ cp -p src/glpk/dune-shared src/glpk/dune
# Temporary workaround for https://github.com/ocaml-opam/ocaml-mccs/issues/54
sed -i 's,clibs,../clibs,' src/glpk/dune
-%build
-%dune_build
-
-%install
-%dune_install
-
-%check
-%dune_check
-
%files -f .ofiles
%license LICENCE
%doc README.md
@@ -79,6 +71,10 @@ sed -i 's,clibs,../clibs,' src/glpk/dune
%files devel -f .ofiles-devel
%changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 1.1.19-8
+- OCaml 5.5.0 rebuild
+- Use the dune declarative buildsystem
+
* Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-7
- OCaml 5.4.1 rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-10 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 2:45 [rpms/ocaml-mccs] rawhide: OCaml 5.5.0 rebuild Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox