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:
commit
1cf7d57808
@ -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
|
Fri Jan 28 13:50:13 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
12
unzip.spec
12
unzip.spec
@ -64,8 +64,16 @@ Authors:
|
|||||||
%patch11
|
%patch11
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fstack-protector -I. -DRCC_LAZY -fno-strict-aliasing"
|
export RPM_OPT_FLAGS="%optflags \
|
||||||
make %{?jobs:-j%jobs} -f unix/Makefile LF2=-ldl linux_noasm
|
-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
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
||||||
|
Loading…
Reference in New Issue
Block a user