From 8a093f668ab6d8892ae92b34820ff8892169b025 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Dec 05 2011 19:52:46 +0000 Subject: Add patch to resolve missing libxml2 requirement in augeas.pc. --- 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" +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 94f8c9a..b612450 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 - 0.10.0-2 +- Add patch to resolve missing libxml2 requirement in augeas.pc. + * Fri Dec 2 2011 David Lutterkort - 0.10.0-1 - Remove all patches as they are included upstream