From 4099f2bfa94eeadf2236ffe51dc65b9e0592194d Mon Sep 17 00:00:00 2001 From: Jakub Martiško Date: Mar 04 2021 13:02:31 +0000 Subject: Merge #4 `Minor spec file cleanup` --- diff --git a/unzip.spec b/unzip.spec index 7cc506c..b54b7b2 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,4 +1,3 @@ - # Settings for EL <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7 %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} @@ -119,14 +118,13 @@ a zip archive. %build # IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X -# NOMEMCPY solve problem with memory overlapping - decomression is slowly, +# NOMEMCPY solve problem with memory overlapping - decompression is slowly, # but successfull. %make_build -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD" \ LFLAGS2="%{?__global_ldflags}" generic_gcc %install -rm -rf $RPM_BUILD_ROOT -make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 INSTALL="cp -p" install +make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALL="cp -p" install %files %license LICENSE COPYING.OLD