Add patch to resolve missing libxml2 requirement in augeas.pc.

This commit is contained in:
Richard W.M. Jones 2011-12-03 14:25:37 +00:00
parent fcec30aeca
commit 4d63da75b2
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From b41deef293841da50a236023bad486ea3f57e4dc Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@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

View File

@ -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@redhat.com> - 0.10.0-2
- Add patch to resolve missing libxml2 requirement in augeas.pc.
* Fri Dec 2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
- New version