From 389bc934db8028e81056395ea0e86d81b1bf4f25bc897afd5ff31e642b6cc747 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 21 Jan 2021 12:50:18 +0000 Subject: [PATCH] More macro usage OBS-URL: https://build.opensuse.org/package/show/Archiving/lzlib?expand=0&rev=25 --- lzlib.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lzlib.spec b/lzlib.spec index adeea1c..d5827a0 100644 --- a/lzlib.spec +++ b/lzlib.spec @@ -63,7 +63,7 @@ This subpackage contains libraries and header files for developing applications that want to make use of libcerror. %prep -%autosetup -n %name-%version +%autosetup %build # not autoconf! @@ -75,7 +75,7 @@ pushd build/ --includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \ --mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \ CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags" -make %{?_smp_mflags} +%make_build popd %install @@ -87,7 +87,7 @@ rm -f "%buildroot/%_libdir"/*.a %check pushd build/ -make %{?_smp_mflags} check +%make_build check popd %post -n %lname -p /sbin/ldconfig