SHA256
1
0
forked from pool/libguestfs

- add libguestfs.env.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=469
This commit is contained in:
Olaf Hering 2021-04-14 08:36:39 +00:00 committed by Git OBS Bridge
parent 681c070c87
commit fdd94d0c9c
3 changed files with 35 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Tue Apr 13 13:13:13 UTC 2021 - ohering@suse.de
* 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
-------------------------------------------------------------------
Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de

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

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