From e33a0b778f072d1cd1111a50647e034e9d2a46c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 22:10:41 +0000 Subject: [PATCH 01/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index bb46f1e..719b5b9 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,7 +1,7 @@ %undefine _package_note_flags Name: ocaml-libvirt Version: 0.6.1.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OCaml binding for libvirt License: LGPLv2+ @@ -85,6 +85,9 @@ make install-byte %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 0.6.1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 0.6.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 84a4a14f291753b0e2dd0b29563846b15a59a7c4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 24 Jan 2023 09:04:06 +0000 Subject: [PATCH 02/25] Rebuild OCaml packages for F38 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 719b5b9..a32573b 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,7 +1,7 @@ %undefine _package_note_flags Name: ocaml-libvirt Version: 0.6.1.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: OCaml binding for libvirt License: LGPLv2+ @@ -85,6 +85,9 @@ make install-byte %changelog +* Tue Jan 24 2023 Richard W.M. Jones - 0.6.1.6-5 +- Rebuild OCaml packages for F38 + * Thu Jan 19 2023 Fedora Release Engineering - 0.6.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 2559c77a711c7d82aef5110e4dada3adf653444c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 13 Feb 2023 17:13:41 +0000 Subject: [PATCH 03/25] New upstream version 0.6.1.7 --- ocaml-libvirt.spec | 32 +++++++++++++++++--------------- sources | 2 +- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index a32573b..c8c80fb 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,17 +1,18 @@ %undefine _package_note_flags + Name: ocaml-libvirt -Version: 0.6.1.6 -Release: 5%{?dist} +Version: 0.6.1.7 +Release: 1%{?dist} Summary: OCaml binding for libvirt License: LGPLv2+ URL: http://libvirt.org/ocaml/ -#Source0: http://libvirt.org/sources/ocaml/%{name}-%{version}.tar.gz +#Source0: http://libvirt.org/sources/ocaml/%%{name}-%%{version}.tar.gz # The tarball was not uploaded to the website at the time of packaging # so I built this using "make dist" in the source repo. Source0: %{name}-%{version}.tar.gz -BuildRequires: make +BuildRequires: make BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-findlib-devel @@ -41,11 +42,10 @@ developing applications that use %{name}. %build +# Parallel builds do not work. +unset MAKEFLAGS %configure -make all doc -%ifarch %{ocaml_native_compiler} -make opt -%endif +make %install @@ -54,15 +54,11 @@ export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs mkdir -p $RPM_BUILD_ROOT%{_bindir} -%ifarch %{ocaml_native_compiler} -make install-opt -%else -make install-byte -%endif +make install %files -%doc COPYING.LIB README ChangeLog +%doc COPYING.LIB README %{_libdir}/ocaml/libvirt %ifarch %{ocaml_native_compiler} %exclude %{_libdir}/ocaml/libvirt/*.a @@ -75,7 +71,7 @@ make install-byte %files devel -%doc COPYING.LIB README TODO.libvirt ChangeLog html/* +%doc COPYING.LIB README TODO.libvirt %ifarch %{ocaml_native_compiler} %{_libdir}/ocaml/libvirt/*.a %{_libdir}/ocaml/libvirt/*.cmxa @@ -85,6 +81,12 @@ make install-byte %changelog +* Mon Feb 13 2023 Richard W.M. Jones - 0.6.1.7-1 +- New upstream version 0.6.1.7 +- Do not try parallel builds. +- Upstream now uses automake. +- Remove ChangeLog file and HTML docs, dropped upstream. + * Tue Jan 24 2023 Richard W.M. Jones - 0.6.1.6-5 - Rebuild OCaml packages for F38 diff --git a/sources b/sources index c95b0bf..e9a0020 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ocaml-libvirt-0.6.1.6.tar.gz) = 9846b75f2107368eef1d538c5accbc5ac9472f59dd5e0e1e404c3a417e6f25fae4b076a912ff396f2211fda1fd1ef936f6d039e865c015747a79722addec9ab1 +SHA512 (ocaml-libvirt-0.6.1.7.tar.gz) = ec4ebb69701b15a0c258e78f0e9eb9b1f2a75a86384392e8622ad7f4c85dfc598d51d95698835a2ea401b5647b3ad325ff820cbb7d0e524551ff07c26a54de2b From 65172ea03312fe3ae69295e3f920c5654ad1cdd4 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 10 Jul 2023 15:29:12 -0600 Subject: [PATCH 04/25] OCaml 5.0.0 rebuild Other changes: - New project URL - Convert License tag to SPDX - Fix build on bytecode-only architectures - Use %license macro - Use new OCaml macros --- ocaml-libvirt.spec | 57 +++++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index c8c80fb..2ec26b5 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,12 +1,10 @@ -%undefine _package_note_flags - Name: ocaml-libvirt Version: 0.6.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OCaml binding for libvirt -License: LGPLv2+ +License: LGPL-2.1-or-later -URL: http://libvirt.org/ocaml/ +URL: https://ocaml.libvirt.org/ #Source0: http://libvirt.org/sources/ocaml/%%{name}-%%{version}.tar.gz # The tarball was not uploaded to the website at the time of packaging # so I built this using "make dist" in the source repo. @@ -19,7 +17,11 @@ BuildRequires: ocaml-findlib-devel BuildRequires: libvirt-devel >= 0.2.1 BuildRequires: perl-interpreter -BuildRequires: gawk +BuildRequires: python3 + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool %description @@ -28,7 +30,7 @@ OCaml binding for libvirt. %package devel Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -40,6 +42,13 @@ developing applications that use %{name}. %setup -q %autopatch -p1 +# Fix detection of ocamlopt and ocamldoc +# https://gitlab.com/libvirt/libvirt-ocaml/-/merge_requests/27 +sed -i '/AM_CONDITIONAL/s/"x"/"xno"/' configure.ac + +# Regenerate the configure script +autoreconf -fi -I m4 . + %build # Parallel builds do not work. @@ -55,32 +64,28 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs mkdir -p $RPM_BUILD_ROOT%{_bindir} make install +%ocaml_files -%files -%doc COPYING.LIB README -%{_libdir}/ocaml/libvirt -%ifarch %{ocaml_native_compiler} -%exclude %{_libdir}/ocaml/libvirt/*.a -%exclude %{_libdir}/ocaml/libvirt/*.cmxa -%exclude %{_libdir}/ocaml/libvirt/*.cmx -%endif -%exclude %{_libdir}/ocaml/libvirt/*.mli -%{_libdir}/ocaml/stublibs/*.so -%{_libdir}/ocaml/stublibs/*.so.owner +%files -f .ofiles +%doc README +%license COPYING.LIB -%files devel -%doc COPYING.LIB README TODO.libvirt -%ifarch %{ocaml_native_compiler} -%{_libdir}/ocaml/libvirt/*.a -%{_libdir}/ocaml/libvirt/*.cmxa -%{_libdir}/ocaml/libvirt/*.cmx -%endif -%{_libdir}/ocaml/libvirt/*.mli +%files devel -f .ofiles-devel +%doc README TODO.libvirt +%license COPYING.LIB %changelog +* Mon Jul 10 2023 Jerry James - 0.6.1.7-2 +- OCaml 5.0.0 rebuild +- New project URL +- Convert License tag to SPDX +- Fix build on bytecode-only architectures +- Use %%license macro +- Use new OCaml macros + * Mon Feb 13 2023 Richard W.M. Jones - 0.6.1.7-1 - New upstream version 0.6.1.7 - Do not try parallel builds. From b03849dd26d0bf8e4c9dba8b5751cad02a7368da Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 11 Jul 2023 11:36:24 +0100 Subject: [PATCH 05/25] ExcludeArch i686 (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SPML7CUBSZNI36NLXGVHEG7DNHU3EWOJ/) --- ocaml-libvirt.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 2ec26b5..4328dbf 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,3 +1,6 @@ +# OCaml packages not built on i686 since OCaml 5 / Fedora 39. +ExcludeArch: %{ix86} + Name: ocaml-libvirt Version: 0.6.1.7 Release: 2%{?dist} From 984e6de7eec46527bee169a825a06accb3acdeed Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 11 Jul 2023 23:04:40 +0100 Subject: [PATCH 06/25] OCaml 5.0 rebuild for Fedora 39 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 4328dbf..5c5232e 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -81,6 +81,9 @@ make install %changelog +* Tue Jul 11 2023 Richard W.M. Jones - 0.6.1.7-3 +- OCaml 5.0 rebuild for Fedora 39 + * Mon Jul 10 2023 Jerry James - 0.6.1.7-2 - OCaml 5.0.0 rebuild - New project URL From af63c868e9aa866c083186381766979c0f2ff437 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 17:20:13 +0000 Subject: [PATCH 07/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 5c5232e..29e8ec4 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -81,6 +81,9 @@ make install %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 0.6.1.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jul 11 2023 Richard W.M. Jones - 0.6.1.7-3 - OCaml 5.0 rebuild for Fedora 39 From b755839d6ff9a5717e9e7257b2b8590da4e850db Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 21 Sep 2023 14:07:50 +0200 Subject: [PATCH 08/25] Fix Source0 The release tarballs for the last couple of releases have now been uploaded. Take the opportunity to switch to the canonical format for the download URL. Signed-off-by: Andrea Bolognani --- ocaml-libvirt.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 29e8ec4..e8482fe 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -8,10 +8,7 @@ Summary: OCaml binding for libvirt License: LGPL-2.1-or-later URL: https://ocaml.libvirt.org/ -#Source0: http://libvirt.org/sources/ocaml/%%{name}-%%{version}.tar.gz -# The tarball was not uploaded to the website at the time of packaging -# so I built this using "make dist" in the source repo. -Source0: %{name}-%{version}.tar.gz +Source0: https://download.libvirt.org/ocaml/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: ocaml >= 3.10.0 From 0182ee57dee8c0460fcb90df60959e93565668aa Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 4 Oct 2023 21:29:01 -0600 Subject: [PATCH 09/25] BR ocaml-rpm-macros instead of python3 --- ocaml-libvirt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index e8482fe..112d26b 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -14,10 +14,10 @@ BuildRequires: make BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-findlib-devel +BuildRequires: ocaml-rpm-macros BuildRequires: libvirt-devel >= 0.2.1 BuildRequires: perl-interpreter -BuildRequires: python3 BuildRequires: autoconf BuildRequires: automake From 274382e3abd0ae44761c22bd93a551b0790095e8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 5 Oct 2023 14:32:56 +0100 Subject: [PATCH 10/25] OCaml 5.1 rebuild for Fedora 40 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 112d26b..8e728e4 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Thu Oct 05 2023 Richard W.M. Jones - 0.6.1.7-5 +- OCaml 5.1 rebuild for Fedora 40 + * Thu Jul 20 2023 Fedora Release Engineering - 0.6.1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From d47ef3a20830c7114b8c9864fe040fae98791ff5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 12 Dec 2023 09:35:21 +0000 Subject: [PATCH 11/25] OCaml 5.1.1 rebuild for Fedora 40 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 8e728e4..3a2f7e7 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Tue Dec 12 2023 Richard W.M. Jones - 0.6.1.7-6 +- OCaml 5.1.1 rebuild for Fedora 40 + * Thu Oct 05 2023 Richard W.M. Jones - 0.6.1.7-5 - OCaml 5.1 rebuild for Fedora 40 From 2df1a133c12bfa4a9caac3edb382742045a987e7 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 18 Dec 2023 13:34:53 +0000 Subject: [PATCH 12/25] OCaml 5.1.1 + s390x code gen fix for Fedora 40 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 3a2f7e7..3624907 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Mon Dec 18 2023 Richard W.M. Jones - 0.6.1.7-7 +- OCaml 5.1.1 + s390x code gen fix for Fedora 40 + * Tue Dec 12 2023 Richard W.M. Jones - 0.6.1.7-6 - OCaml 5.1.1 rebuild for Fedora 40 From 5d317cde353eb35aef7707aadc3461bd7411f64b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 10:18:44 +0000 Subject: [PATCH 13/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 3624907..0ba8dca 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 0.6.1.7-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Dec 18 2023 Richard W.M. Jones - 0.6.1.7-7 - OCaml 5.1.1 + s390x code gen fix for Fedora 40 From fdd5c47f0e2fb077f041a9d5e81ac14bf083e266 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 10:04:09 +0000 Subject: [PATCH 14/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 0ba8dca..8be0f9b 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 8%{?dist} +Release: 9%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 0.6.1.7-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 0.6.1.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6dbcf545e4bc97533cdb17dad9f86d7129ad964e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 29 May 2024 17:43:41 +0100 Subject: [PATCH 15/25] OCaml 5.2.0 for Fedora 41 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 8be0f9b..f3c2437 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 9%{?dist} +Release: 10%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Wed May 29 2024 Richard W.M. Jones - 0.6.1.7-10 +- OCaml 5.2.0 for Fedora 41 + * Thu Jan 25 2024 Fedora Release Engineering - 0.6.1.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 884e9fffe7b265d4f582c63e10a27c9bda8c382e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Jun 2024 09:36:52 +0100 Subject: [PATCH 16/25] Add RHEL gating test --- gating.yaml | 6 ++++++ tests/basic-test.sh | 8 ++++++++ tests/tests.yml | 13 +++++++++++++ 3 files changed, 27 insertions(+) create mode 100755 gating.yaml create mode 100755 tests/basic-test.sh create mode 100755 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100755 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/basic-test.sh b/tests/basic-test.sh new file mode 100755 index 0000000..2b0ad08 --- /dev/null +++ b/tests/basic-test.sh @@ -0,0 +1,8 @@ +#!/bin/bash - +set -e +set -x + +# Compile trivial libvirt program. +echo 'print_endline Libvirt_version.version' > virttest.ml +ocamlfind ocamlopt -package libvirt virttest.ml -linkpkg -o virttest +./virttest diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100755 index 0000000..6337afb --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - ocaml + - ocaml-findlib + - ocaml-libvirt-devel + tests: + - simple: + dir: . + run: ./basic-test.sh From 7350e8ca77c834c97c112e89c9f2a35af603ae29 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Jun 2024 11:56:19 +0100 Subject: [PATCH 17/25] OCaml 5.2.0 ppc64le fix --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index f3c2437..9ef9fe9 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 10%{?dist} +Release: 11%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Wed Jun 19 2024 Richard W.M. Jones - 0.6.1.7-11 +- OCaml 5.2.0 ppc64le fix + * Wed May 29 2024 Richard W.M. Jones - 0.6.1.7-10 - OCaml 5.2.0 for Fedora 41 From b3d9695f86843d3cd8bb5a38d0923669275b4c78 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 19 Jun 2024 22:09:48 +0100 Subject: [PATCH 18/25] tests: Add libvirt-devel for -lvirt --- tests/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tests.yml b/tests/tests.yml index 6337afb..c74ad77 100755 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -7,6 +7,7 @@ - ocaml - ocaml-findlib - ocaml-libvirt-devel + - libvirt-devel tests: - simple: dir: . From 61bf93c6c6e57b03cd4a567406be755daf3962fb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 20:09:54 +0000 Subject: [PATCH 19/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 9ef9fe9..d3d0b9f 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 11%{?dist} +Release: 12%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 0.6.1.7-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jun 19 2024 Richard W.M. Jones - 0.6.1.7-11 - OCaml 5.2.0 ppc64le fix From 52a188de97776693613b8cd97f3b4ef34dea07ff Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 9 Jan 2025 11:28:08 -0700 Subject: [PATCH 20/25] OCaml 5.3.0 rebuild for Fedora 42 --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index d3d0b9f..8a19dbf 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 12%{?dist} +Release: 13%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Thu Jan 9 2025 Jerry James - 0.6.1.7-13 +- OCaml 5.3.0 rebuild for Fedora 42 + * Thu Jul 18 2024 Fedora Release Engineering - 0.6.1.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ced748950f27b8bd335409ee3862b2da7e5c1f92 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 20:53:13 +0000 Subject: [PATCH 21/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 8a19dbf..c98fa3f 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 13%{?dist} +Release: 14%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 0.6.1.7-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 9 2025 Jerry James - 0.6.1.7-13 - OCaml 5.3.0 rebuild for Fedora 42 From 6a27c0a53cde3e722db2d4b40d12abc00336df2b Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 11 Jul 2025 13:45:37 -0600 Subject: [PATCH 22/25] Rebuild to fix OCaml dependencies --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index c98fa3f..13f8b54 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 14%{?dist} +Release: 15%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Fri Jul 11 2025 Jerry James - 0.6.1.7-15 +- Rebuild to fix OCaml dependencies + * Fri Jan 17 2025 Fedora Release Engineering - 0.6.1.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From e406be29aadf7a7a871d494672d727d465c2ffbf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 23:12:32 +0000 Subject: [PATCH 23/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 13f8b54..b99ae25 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 15%{?dist} +Release: 16%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 0.6.1.7-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jul 11 2025 Jerry James - 0.6.1.7-15 - Rebuild to fix OCaml dependencies From 1937a21fa19cd5f7e3b4c2d2caa91a0512251c05 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 13 Oct 2025 18:22:54 +0100 Subject: [PATCH 24/25] OCaml 5.4.0 rebuild --- ocaml-libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index b99ae25..b351191 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -3,7 +3,7 @@ ExcludeArch: %{ix86} Name: ocaml-libvirt Version: 0.6.1.7 -Release: 16%{?dist} +Release: 17%{?dist} Summary: OCaml binding for libvirt License: LGPL-2.1-or-later @@ -78,6 +78,9 @@ make install %changelog +* Mon Oct 13 2025 Richard W.M. Jones - 0.6.1.7-17 +- OCaml 5.4.0 rebuild + * Thu Jul 24 2025 Fedora Release Engineering - 0.6.1.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 1c129ff6ffd1ab63e2b223d9308e5548166124b0 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 13 Jan 2026 17:07:47 -0700 Subject: [PATCH 25/25] Fix a changelog entry --- ocaml-libvirt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index b351191..770ea0b 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -84,7 +84,7 @@ make install * Thu Jul 24 2025 Fedora Release Engineering - 0.6.1.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild -* Fri Jul 11 2025 Jerry James - 0.6.1.7-15 +* Fri Jul 11 2025 Jerry James - 0.6.1.7-15 - Rebuild to fix OCaml dependencies * Fri Jan 17 2025 Fedora Release Engineering - 0.6.1.7-14