Use make macros

This commit is contained in:
Timm Bäder 2021-05-05 18:21:48 +02:00 committed by sbose
parent e22d26d93d
commit 7e8c213dc6

View File

@ -40,13 +40,13 @@ autoreconf --force --install --verbose
--with-vendor-error-message='Please check\n https://red.ht/support_rhel_ad \nto get help for common issues.' \
%endif
%{nil}
make %{?_smp_mflags}
%make_build
%check
make check
%install
make install DESTDIR=%{buildroot}
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets