[augeas/el4] Add patch to resolve missing libxml2 requirement in augeas.pc.
David Lutterkort
lutter at fedoraproject.org
Mon Dec 5 19:54:50 UTC 2011
commit 445b732092b28bf299eb3a03b3decbe51cb4ac0c
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat Dec 3 14:25:37 2011 +0000
Add patch to resolve missing libxml2 requirement in augeas.pc.
0001-pkg-config-Augeas-requires-libxml2.patch | 24 ++++++++++++++++++++++++
augeas.spec | 9 ++++++++-
2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/0001-pkg-config-Augeas-requires-libxml2.patch b/0001-pkg-config-Augeas-requires-libxml2.patch
new file mode 100644
index 0000000..aaa4186
--- /dev/null
+++ b/0001-pkg-config-Augeas-requires-libxml2.patch
@@ -0,0 +1,24 @@
+From b41deef293841da50a236023bad486ea3f57e4dc Mon Sep 17 00:00:00 2001
+From: "Richard W.M. Jones" <rjones at redhat.com>
+Date: Sat, 3 Dec 2011 14:21:50 +0000
+Subject: [PATCH] pkg-config: Augeas requires libxml2.
+
+---
+ augeas.pc.in | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/augeas.pc.in b/augeas.pc.in
+index c97847d..9e166db 100644
+--- a/augeas.pc.in
++++ b/augeas.pc.in
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: augeas
+ Version: @VERSION@
+ Description: Augeas configuration editing library
+-Requires:
++Requires.private: libxml-2.0
+ Libs: -L${libdir} -laugeas @LIBS@
+ Cflags: -I${includedir}
+--
+1.7.6
+
diff --git a/augeas.spec b/augeas.spec
index d3de977..6fc77f2 100644
--- a/augeas.spec
+++ b/augeas.spec
@@ -1,6 +1,6 @@
Name: augeas
Version: 0.10.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A library for changing configuration files
Group: System Environment/Libraries
@@ -8,6 +8,9 @@ License: LGPLv2+
URL: http://augeas.net/
Source0: http://augeas.net/download/%{name}-%{version}.tar.gz
+# Patch to resolve missing libxml2 requirement in augeas.pc.
+Patch0: 0001-pkg-config-Augeas-requires-libxml2.patch
+
# Format of the patch name is augeas-VERSION-NUMBER-HASH where VERSION
# gives the first version where this patch was applied, NUMBER orders patches
# against the same version, and HASH is the git commit hash from upstream
@@ -48,6 +51,7 @@ The libraries for %{name}.
%prep
%setup -q
+%patch0 -p1
%build
%configure --disable-static
@@ -90,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/augeas.pc
%changelog
+* Sat Dec 3 2011 Richard W.M. Jones <rjones at redhat.com> - 0.10.0-2
+- Add patch to resolve missing libxml2 requirement in augeas.pc.
+
* Fri Dec 2 2011 David Lutterkort <lutter at redhat.com> - 0.10.0-1
- New version
More information about the scm-commits
mailing list