SHA256
1
0
forked from pool/libguestfs

Accepting request 887312 from Virtualization

- Update to version 1.44.1
  * lib/appliance-kcmdline.c: Read UUID directly from appliance.
  * daemon/xfs.c: Fix error message.
  * daemon: chroot: Fix long-standing possible deadlock.
  * daemon: Don't return bogus failure from readdir.
  * daemon/btrfs.c: Ignore mkfs.btrfs allocstart option.
  * python: Ignore code style error E128.
  * php: Fix the build.
  * builder: Don't redefine Val_none (OCaml 4.12).
  * daemon: lvm: Use lvcreate --yes to avoid interactive prompts.
  * Update common submodule.
  * lib/fuse.c: Use safe_malloc instead of malloc.
  * fuse/guestmount.c: Avoid leaking fp on error path.
  * diff: Don't try to call unlink(NULL) on certain error paths.
  * daemon/tar.c: Avoid bogus GCC analyzer warning.
  * daemon/command.c daemon/debug.c df/main.c: Ignore bogus GCC analyzer warnings
  * appliance: Add dhclient for Arch-like Manjaro distro.
  * fish/tilde.c: Suppress more bogus -fanalyser warnings.
  * lib/qemu.c: Suppress another bogus -fanalyser warning.
  * builder: templates: Add ubuntu-20.04.
  * builder: templates: Added rhel-7.9.
  * lib: Move CLEANUP_GL_RECURSIVE_LOCK_UNLOCK to libguestfs header.
  * appliance: Avoid having ${exec_prefix} in guestfs appliance path.
  * build: Avoid warnings about unknown pragmas.
- add libguestfs.env.patch
- Remove ocaml_native_compiler conditional
  build native target unconditionally

OBS-URL: https://build.opensuse.org/request/show/887312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=74
This commit is contained in:
Dominique Leuenberger 2021-04-21 18:59:12 +00:00 committed by Git OBS Bridge
commit b6782734bd
5 changed files with 70 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ec7b44a4c50e928583c56099da31ceb9680766043bd7d468f3ca7b741c55d21
size 23469286

3
libguestfs-1.44.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72b7dcdd32da1c17c932cf5a0a70b3bd68bc93e94828ad66a539f2e616adb025
size 23798268

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Tue Apr 13 13:13:13 UTC 2021 - ohering@suse.de
- Update to version 1.44.1
* lib/appliance-kcmdline.c: Read UUID directly from appliance.
* daemon/xfs.c: Fix error message.
* daemon: chroot: Fix long-standing possible deadlock.
* daemon: Don't return bogus failure from readdir.
* daemon/btrfs.c: Ignore mkfs.btrfs allocstart option.
* python: Ignore code style error E128.
* php: Fix the build.
* builder: Don't redefine Val_none (OCaml 4.12).
* daemon: lvm: Use lvcreate --yes to avoid interactive prompts.
* Update common submodule.
* lib/fuse.c: Use safe_malloc instead of malloc.
* fuse/guestmount.c: Avoid leaking fp on error path.
* diff: Don't try to call unlink(NULL) on certain error paths.
* daemon/tar.c: Avoid bogus GCC analyzer warning.
* daemon/command.c daemon/debug.c df/main.c: Ignore bogus GCC analyzer warnings
* appliance: Add dhclient for Arch-like Manjaro distro.
* fish/tilde.c: Suppress more bogus -fanalyser warnings.
* lib/qemu.c: Suppress another bogus -fanalyser warning.
* builder: templates: Add ubuntu-20.04.
* builder: templates: Added rhel-7.9.
* lib: Move CLEANUP_GL_RECURSIVE_LOCK_UNLOCK to libguestfs header.
* appliance: Avoid having ${exec_prefix} in guestfs appliance path.
* build: Avoid warnings about unknown pragmas.
- add libguestfs.env.patch
- Remove ocaml_native_compiler conditional
build native target unconditionally
-------------------------------------------------------------------
Tue Jan 12 05:38:44 MST 2021 - carnold@suse.com

32
libguestfs.env.patch Normal file
View File

@ -0,0 +1,32 @@
--- a/tools/virt-list-filesystems
+++ b/tools/virt-list-filesystems
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# virt-list-filesystems
# Copyright (C) 2009-2020 Red Hat Inc.
#
--- a/tools/virt-list-partitions
+++ b/tools/virt-list-partitions
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# virt-list-partitions
# Copyright (C) 2010 Red Hat Inc.
#
--- a/tools/virt-tar
+++ b/tools/virt-tar
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# virt-tar
# Copyright (C) 2009-2020 Red Hat Inc.
#
--- a/tools/virt-win-reg
+++ b/tools/virt-win-reg
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# virt-win-reg
# Copyright (C) 2010 Red Hat Inc.
#

View File

@ -18,7 +18,7 @@
# needsbinariesforbuild
Version: 1.44.0
Version: 1.44.1
Release: 0
%{ocaml_preserve_bytecode}
@ -118,7 +118,7 @@ BuildRequires: ocaml-hivex-devel
BuildRequires: ocaml-libvirt-devel
#
BuildRequires: ocaml-rpm-macros >= 4.03
BuildRequires: ocaml-rpm-macros
%if %{with ocaml_bindings}
%define _configure_ocaml --enable-ocaml
%endif
@ -153,6 +153,7 @@ Patch53: 0004-python-include-dirs.patch
# Our patches
Patch100: appliance.patch
Patch101: netconfig.patch
Patch102: libguestfs.env.patch
Source0: https://download.libguestfs.org/1.44-stable/libguestfs-%{version}.tar.gz
Source3: libguestfs.rpmlintrc
@ -544,6 +545,7 @@ It can import a variety of guest operating systems from libvirt-managed hosts.
%patch53 -p1
%patch100 -p1
%patch101 -p1
%patch102 -p1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
@ -738,10 +740,8 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/guestfs
%{_libdir}/ocaml/guestfs/*.a
%if %{ocaml_native_compiler}
%{_libdir}/ocaml/guestfs/*.cmx
%{_libdir}/ocaml/guestfs/*.cmxa
%endif
%{_libdir}/ocaml/guestfs/*.mli
%endif
#