Accepting request 511369 from home:cbosdonnat:branches:Virtualization
- add missing dependency on guestfs-data (bsc#1048848) OBS-URL: https://build.opensuse.org/request/show/511369 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=397
This commit is contained in:
parent
2426376ef6
commit
b10082bf9f
@ -1,5 +1,7 @@
|
|||||||
--- a/appliance/init
|
Index: libguestfs-1.36.5/appliance/init
|
||||||
+++ b/appliance/init
|
===================================================================
|
||||||
|
--- libguestfs-1.36.5.orig/appliance/init
|
||||||
|
+++ libguestfs-1.36.5/appliance/init
|
||||||
@@ -206,7 +206,9 @@ else
|
@@ -206,7 +206,9 @@ else
|
||||||
echo
|
echo
|
||||||
echo "Note: The contents of / are the rescue appliance."
|
echo "Note: The contents of / are the rescue appliance."
|
||||||
@ -11,3 +13,22 @@
|
|||||||
echo
|
echo
|
||||||
run_bash_with_ctty
|
run_bash_with_ctty
|
||||||
echo
|
echo
|
||||||
|
Index: libguestfs-1.36.5/m4/guestfs_appliance.m4
|
||||||
|
===================================================================
|
||||||
|
--- libguestfs-1.36.5.orig/m4/guestfs_appliance.m4
|
||||||
|
+++ libguestfs-1.36.5/m4/guestfs_appliance.m4
|
||||||
|
@@ -97,9 +97,13 @@ AC_MSG_CHECKING([which Linux distro for
|
||||||
|
if test -f /etc/os-release; then
|
||||||
|
( . /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@' ) >&AS_MESSAGE_LOG_FD
|
||||||
|
DISTRO="`. /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@'`"
|
||||||
|
+ if test -z "$DISTRO"; then
|
||||||
|
+ ( . /etc/os-release && echo $ID_LIKE | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@' ) >&AS_MESSAGE_LOG_FD
|
||||||
|
+ DISTRO="`. /etc/os-release && echo $ID_LIKE | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@'`"
|
||||||
|
+ fi
|
||||||
|
AS_CASE([$DISTRO],
|
||||||
|
[FEDORA | RHEL | CENTOS],[DISTRO=REDHAT],
|
||||||
|
- [OPENSUSE | SLED | SLES],[DISTRO=SUSE],
|
||||||
|
+ [OPENSUSE | SLED | SLES | SUSE],[DISTRO=SUSE],
|
||||||
|
[ARCH],[DISTRO=ARCHLINUX])
|
||||||
|
elif test -f /etc/debian_version; then
|
||||||
|
DISTRO=DEBIAN
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 18 14:07:54 UTC 2017 - cbosdonnat@suse.com
|
||||||
|
|
||||||
|
- add missing dependency on guestfs-data (bsc#1048848)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 17 07:05:10 UTC 2017 - dmueller@suse.com
|
Mon Jul 17 07:05:10 UTC 2017 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -277,6 +277,7 @@ BuildRequires: perl(Win::Hivex::Regedit)
|
|||||||
#
|
#
|
||||||
Provides: libguestfs-perl = %{version}
|
Provides: libguestfs-perl = %{version}
|
||||||
Obsoletes: libguestfs-perl < %{version}
|
Obsoletes: libguestfs-perl < %{version}
|
||||||
|
Requires: guestfs-data >= %{version}
|
||||||
Requires: perl(File::Temp)
|
Requires: perl(File::Temp)
|
||||||
Requires: perl(Locale::TextDomain)
|
Requires: perl(Locale::TextDomain)
|
||||||
%perl_requires
|
%perl_requires
|
||||||
|
Loading…
Reference in New Issue
Block a user