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