From 1cb89fe84a1873ec9a24cce6062e43585f19d295ef3c92db4e73fa7dc3ffa3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sun, 8 May 2011 14:34:33 +0000 Subject: [PATCH] Accepting request 69848 from home:namtrac:branches:Archiving - Sync our compile time flags with Debian except Acorn stuff, this enables UTF-8, saves an unrelated warning about lchmod being not implemented. - Enable make check OBS-URL: https://build.opensuse.org/request/show/69848 OBS-URL: https://build.opensuse.org/package/show/Archiving/unzip?expand=0&rev=15 --- unzip.changes | 7 +++++++ unzip.spec | 18 +++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/unzip.changes b/unzip.changes index d92cd52..288c628 100644 --- a/unzip.changes +++ b/unzip.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 07 23:16:45 UTC 2011 - idoenmez@novell.com + +- Sync our compile time flags with Debian except Acorn stuff, this enables + UTF-8, saves an unrelated warning about lchmod being not implemented. +- Enable make check + ------------------------------------------------------------------- Fri Jan 28 13:50:13 UTC 2011 - lnussel@suse.de diff --git a/unzip.spec b/unzip.spec index 1486dc8..8f74b50 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,7 +1,7 @@ # -# spec file for package unzip (Version 6.00) +# spec file for package unzip # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ License: BSD3c Group: Productivity/Archiving/Compression AutoReqProv: on Version: 6.00 -Release: 2 +Release: 3 %define fileversion 60 Summary: A program to unpack compressed files Source: %{name}%{fileversion}.tar.bz2 @@ -64,8 +64,16 @@ Authors: %patch11 %build -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 +export RPM_OPT_FLAGS="%optflags \ +-D_GNU_SOURCE -DRCC_LAZY -DWILD_STOP_AT_DIR \ +-DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \ +-DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD \ +-DDATE_FORMAT=DF_YMD -I. -fstack-protector -fno-strict-aliasing" + +make %{?_smp_mflags} -f unix/Makefile LF2="-ldl" linux_noasm + +%check +make -f unix/Makefile check %install mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}