From db5ce264e5f8befda3e4ea615b76baf8f7c89205aac4ad915441f56be8ad4c7c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 28 Jan 2011 14:08:25 +0000 Subject: [PATCH] Accepting request 59357 from home:lnussel:branches:Archiving OBS-URL: https://build.opensuse.org/request/show/59357 OBS-URL: https://build.opensuse.org/package/show/Archiving/unzip?expand=0&rev=13 --- unzip.changes | 7 +++++++ unzip.spec | 7 +++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/unzip.changes b/unzip.changes index c842977..d92cd52 100644 --- a/unzip.changes +++ b/unzip.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 28 13:50:13 UTC 2011 - lnussel@suse.de + +- use dlopen for librcc0. A direct requires causes lots of other + packages to get installed such as aspell which bloats a minimal + install. + ------------------------------------------------------------------- Mon Aug 30 19:44:17 UTC 2010 - cristian.rodriguez@opensuse.org diff --git a/unzip.spec b/unzip.spec index e864f9b..1486dc8 100644 --- a/unzip.spec +++ b/unzip.spec @@ -20,8 +20,6 @@ Name: unzip License: BSD3c Group: Productivity/Archiving/Compression -Provides: crunzip -Obsoletes: crunzip AutoReqProv: on Version: 6.00 Release: 2 @@ -39,6 +37,7 @@ Patch10: unzip-5.52-use_librcc.patch Patch11: unzip-no-build-date.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: librcc-devel +Suggests: librcc0 %description UnZip is an extraction utility for archives compressed in .zip format @@ -65,8 +64,8 @@ Authors: %patch11 %build -export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fstack-protector -I." -make %{?jobs:-j%jobs} -f unix/Makefile LF2=-lrcc linux_noasm +export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fstack-protector -I. -DRCC_LAZY -fno-strict-aliasing" +make %{?jobs:-j%jobs} -f unix/Makefile LF2=-ldl linux_noasm %install mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}