Use make_build/make_install macros

This commit is contained in:
Kalev Lember 2021-01-19 09:57:06 +01:00
parent 6af697a4c2
commit de96b1f4e8

View File

@ -2,7 +2,7 @@
Name: libvisual
Version: 0.4.0
Release: 30%{?dist}
Release: 31%{?dist}
Epoch: 1
Summary: Abstraction library for audio visualisation plugins
License: LGPLv2+
@ -50,10 +50,10 @@ This package contains the files needed to build an application with libvisual.
export CFLAGS="${RPM_OPT_FLAGS} -mmmx"
%endif
%configure
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=%{buildroot}
%make_install
# Avoid multilib conflicts
case `uname -i` in
@ -111,6 +111,9 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%changelog
* Tue Jan 19 2021 Kalev Lember <klember@redhat.com> - 1:0.4.0-31
- Use make_build/make_install macros
* Fri Jan 15 2021 Kalev Lember <klember@redhat.com> - 1:0.4.0-30
- Fix multilib conflicts in lvconfig.h