diff --git a/libvisual.spec b/libvisual.spec index 9ca8c47..06af537 100644 --- a/libvisual.spec +++ b/libvisual.spec @@ -2,15 +2,15 @@ Name: libvisual Version: 0.4.0 -Release: 30%{?dist} +Release: 31%{?dist} Epoch: 1 Summary: Abstraction library for audio visualisation plugins License: LGPLv2+ URL: http://libvisual.sf.net Source0: http://dl.sf.net/libvisual/libvisual-%{version}.tar.gz BuildRequires: gcc-c++ +BuildRequires: make BuildRequires: xorg-x11-proto-devel -BuildRequires: make # https://bugzilla.redhat.com/show_bug.cgi?id=435771 Patch0: libvisual-0.4.0-better-altivec-detection.patch Patch1: libvisual-0.4.0-inlinedefineconflict.patch @@ -46,14 +46,12 @@ This package contains the files needed to build an application with libvisual. %patch2 -p1 -b .format-security %build -%ifarch i386 -export CFLAGS="${RPM_OPT_FLAGS} -mmmx" -%endif +%global optflags %{optflags} -fno-strict-aliasing %configure -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install # Avoid multilib conflicts case `uname -i` in @@ -96,8 +94,6 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %find_lang %{name}-%{smallversion} -%ldconfig_scriptlets - %files -f %{name}-%{smallversion}.lang %doc AUTHORS ChangeLog NEWS README TODO %license COPYING @@ -111,6 +107,12 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' %changelog +* Tue Jan 19 2021 Kalev Lember - 1:0.4.0-31 +- Use make_build/make_install macros +- Drop unneeded ldconfig_scriptlets macro call +- Remove a no longer needed -mmmx CFLAGS addition +- Disable strict aliasing + * Fri Jan 15 2021 Kalev Lember - 1:0.4.0-30 - Fix multilib conflicts in lvconfig.h