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
This commit is contained in:
Stephan Kulow 2011-01-28 14:08:25 +00:00 committed by Git OBS Bridge
parent cac0b21fd2
commit db5ce264e5
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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}