forked from pool/supermin
zypp: Fix XPath expressions.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=8
This commit is contained in:
parent
8fc45d334d
commit
c59582c9da
27
0012-zypp-Fix-XPath-expressions.patch
Normal file
27
0012-zypp-Fix-XPath-expressions.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 3329297abe2e7e055337583b2221fcade85f9f6b Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Mon, 29 Apr 2013 16:24:05 +0100
|
||||
Subject: zypp: Fix XPath expressions.
|
||||
|
||||
See:
|
||||
|
||||
https://www.redhat.com/archives/libguestfs/2013-April/thread.html#00075
|
||||
---
|
||||
src/supermin_zypp_rpm.ml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/supermin_zypp_rpm.ml b/src/supermin_zypp_rpm.ml
|
||||
index 5d97205..c269aab 100644
|
||||
--- a/src/supermin_zypp_rpm.ml
|
||||
+++ b/src/supermin_zypp_rpm.ml
|
||||
@@ -139,8 +139,8 @@ zypper \
|
||||
--dry-run \
|
||||
%s | \
|
||||
xml sel -t \
|
||||
- -m \"stream/install-summary/to-install/solvable[%%@type='package']\" \
|
||||
- -c \"string(%%@name)\" -n
|
||||
+ -m \"stream/install-summary/to-install/solvable[@type='package']\" \
|
||||
+ -c \"string(@name)\" -n
|
||||
"
|
||||
(if verbose then "set -x" else "")
|
||||
(if verbose then "--verbose --verbose" else "--quiet")
|
@ -41,6 +41,7 @@ Patch8: 0008-remove-leading-tabs-in-zypp-driver.patch
|
||||
Patch9: 0009-use-correct-repos.d-in-zypp-driver.patch
|
||||
Patch10: 0010-zypper-Use-instead-of.patch
|
||||
Patch11: 0011-debian-Experiment-with-different-options-for-apt-cac.patch
|
||||
Patch12: 0012-zypp-Fix-XPath-expressions.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -72,6 +73,7 @@ you need to boot one of them.
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
%build
|
||||
export ZYPPER=zypper
|
||||
|
Loading…
Reference in New Issue
Block a user