SHA256
1
0
forked from pool/unzip

Accepting request 69859 from 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
 (forwarded request 69848 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/69859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unzip?expand=0&rev=20
This commit is contained in:
Sascha Peilicke 2011-05-09 06:58:39 +00:00 committed by Git OBS Bridge
commit 1cf7d57808
2 changed files with 17 additions and 2 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

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