fix build failure due to automake upgrade

(cherry picked from commit e140c87460ab10a750f6afe5d35e602918f29805)
This commit is contained in:
wangxiao65 2024-07-22 08:50:33 +00:00 committed by openeuler-sync-bot
parent 6e425f5692
commit b3e7749e07

View File

@ -1,6 +1,6 @@
Name: libvisual
Version: 0.4.2
Release: 2
Release: 3
Epoch: 1
Summary: Audio Visualization Library
@ -11,7 +11,7 @@ Source0: http://dl.sf.net/libvisual/%{name}-%{version}.tar.gz
Patch1: libvisual-0.4.0-inlinedefineconflict.patch
Patch2: libvisual-0.4.2-sw.patch
BuildRequires: libtool gettext gcc-c++ xorg-x11-proto-devel doxygen SDL-devel
BuildRequires: libtool gettext gcc-c++ xorg-x11-proto-devel doxygen SDL-devel autoconf-archive
%description
Libvisual is a library that acts as a middle layer between applications
@ -36,6 +36,8 @@ libraries.
%autosetup -n %{name}-%{version} -p1
%build
#automake upgrade to 1.17 and autoconf upgrade to 2.72, but libvisual configure etc files also 1.16.5, so autoreconf
autoreconf
%configure
touch aclocal.m4 #Do not regenerate aclocal.m4, for ci check_build
make %{?_smp_mflags}
@ -64,6 +66,9 @@ make %{?_smp_mflags}
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon Jul 22 2024 wangxiao <wangxiao184@h-partners.com> - 1:0.4.2-3
- fix build failure due to automake upgrade
* Tue Feb 27 2024 wangshuo <wangshuo@kylinos.cn> - 1:0.4.2-2
- add libvisual-0.4.2 sw64 arch patch