Accepting request 157118 from home:seife:branches:multimedia:libs

fix build with automake-1.13.1

OBS-URL: https://build.opensuse.org/request/show/157118
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvorbis?expand=0&rev=41
This commit is contained in:
Stefan Seyfried 2013-03-02 13:05:31 +00:00 committed by Git OBS Bridge
parent 04ef9d2494
commit bfddfe2dd7
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 2 12:59:01 UTC 2013 - seife+obs@b1-systems.com
- fix build with automake-1.13.1
-------------------------------------------------------------------
Wed Jun 20 15:42:24 UTC 2012 - ftake@geeko.jp

View File

@ -1,7 +1,7 @@
#
# spec file for package libvorbis
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -139,9 +139,11 @@ if [ "%{_lib}" == "lib64" ]; then
fi
%patch11
%patch12
# automake-1.13 deprecated the old macro
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
%build
# Fix optimization level
# Fix optimization level
sed -i s,-O20,-O3,g configure.ac
autoreconf -fiv