From eae1a25f307d230c69ea0cfe64504b14a8e0963a Mon Sep 17 00:00:00 2001 From: David Tardon Date: Dec 03 2013 09:02:00 +0000 Subject: rhbz#1000893 do not pull in unneeded packages --- diff --git a/0001-libwpd-and-libetonyek-are-not-runtime-deps-hide-them.patch b/0001-libwpd-and-libetonyek-are-not-runtime-deps-hide-them.patch new file mode 100644 index 0000000..ed5d8ea --- /dev/null +++ b/0001-libwpd-and-libetonyek-are-not-runtime-deps-hide-them.patch @@ -0,0 +1,25 @@ +From 8f36633505a2a644a9d70bba3f35c0216a1bd42c Mon Sep 17 00:00:00 2001 +From: David Tardon +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 + diff --git a/libodfgen.spec b/libodfgen.spec index c95a137..a05fd81 100644 --- a/libodfgen.spec +++ b/libodfgen.spec @@ -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 - 0.0.3-2 +- rhbz#1000893 do not pull in unneeded packages + * Thu Oct 31 2013 David Tardon - 0.0.3-1 - new release