SHA256
1
0
forked from pool/unzip

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
This commit is contained in:
Cristian Rodríguez 2011-05-08 14:34:33 +00:00 committed by Git OBS Bridge
parent db5ce264e5
commit 1cb89fe84a
2 changed files with 20 additions and 5 deletions

View File

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

View File

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