From eaea924793331eabd1b2ff93186d94612e5971fa Mon Sep 17 00:00:00 2001 From: Jakub Martisko Date: Fri, 5 Mar 2021 13:27:50 +0100 Subject: [PATCH] Use build macros --- zip.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zip.spec b/zip.spec index fb0c43a..24f9d01 100644 --- a/zip.spec +++ b/zip.spec @@ -1,7 +1,7 @@ Summary: A file compression and packaging utility compatible with PKZIP Name: zip Version: 3.0 -Release: 28%{?dist} +Release: 29%{?dist} License: BSD Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz URL: http://www.info-zip.org/Zip.html @@ -39,14 +39,14 @@ program. %patch6 -p1 -b .zipnote %build -make -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %{?_smp_mflags} +%{make_build} -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BULD_ROOT%{_mandir}/man1 -make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \ - MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install +%{make_install} -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \ + MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 %files %license LICENSE @@ -62,6 +62,9 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \ %{_mandir}/man1/zipsplit.1* %changelog +* Fri Mar 05 2021 Jakub Martisko - 3.0-29 +- Use build macros + * Thu Jan 28 2021 Fedora Release Engineering - 3.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild