rhbz#1000893 do not pull in unneeded packages

f41
David Tardon 11 years ago
parent 5b4745d7a8
commit eae1a25f30

@ -0,0 +1,25 @@
From 8f36633505a2a644a9d70bba3f35c0216a1bd42c Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Tue, 3 Dec 2013 09:07:22 +0100
Subject: [PATCH] libwpd and libetonyek are not runtime deps, hide them
---
libodfgen.pc.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libodfgen.pc.in b/libodfgen.pc.in
index e5a5ff6..efc38fa 100644
--- a/libodfgen.pc.in
+++ b/libodfgen.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: libodfgen-@LIBODFGEN_MAJOR_VERSION@.@LIBODFGEN_MINOR_VERSION@
Description: Library to generate ODF documents from libwpd's and libwpg's api calls
Version: @VERSION@
-Requires: libwpd-0.9 libwpg-0.2 libetonyek-0.0
+Requires: libwpd-0.9
+Requires.private: libwpg-0.2 libetonyek-0.0
Libs: -L${libdir} -lodfgen-@LIBODFGEN_MAJOR_VERSION@.@LIBODFGEN_MINOR_VERSION@
Cflags: -I${includedir}/libodfgen-@LIBODFGEN_MAJOR_VERSION@.@LIBODFGEN_MINOR_VERSION@
--
1.8.4.2

@ -2,7 +2,7 @@
Name: libodfgen
Version: 0.0.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: An ODF generator library
Group: System Environment/Libraries
@ -16,6 +16,8 @@ BuildRequires: libetonyek-devel
BuildRequires: libwpd-devel
BuildRequires: libwpg-devel
Patch0: 0001-libwpd-and-libetonyek-are-not-runtime-deps-hide-them.patch
%description
%{name} is a library for generating ODF (text and vector drawing formats
only). It is directly pluggable into input filters based on
@ -41,6 +43,7 @@ The %{name}-doc package contains documentation files for %{name}.
%prep
%setup -q
%patch0 -p1
%build
@ -80,6 +83,9 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
%changelog
* Tue Dec 03 2013 David Tardon <dtardon@redhat.com> - 0.0.3-2
- rhbz#1000893 do not pull in unneeded packages
* Thu Oct 31 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1
- new release

Loading…
Cancel
Save