Accepting request 93409 from home:coolo:removelibtool

add libtool to buildrequires

OBS-URL: https://build.opensuse.org/request/show/93409
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/speex?expand=0&rev=13
This commit is contained in:
Ismail Dönmez 2011-11-24 11:20:53 +00:00 committed by Git OBS Bridge
parent 3e34ad9717
commit ba1fd08431
3 changed files with 42 additions and 5 deletions

26
speex-no-build-date.patch Normal file
View File

@ -0,0 +1,26 @@
Index: src/speexdec.c
===================================================================
--- src/speexdec.c.orig 2008-05-30 09:34:16.000000000 +0200
+++ src/speexdec.c 2010-09-04 01:48:51.580370000 +0200
@@ -292,7 +292,7 @@ void version()
{
const char* speex_version;
speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, (void*)&speex_version);
- printf ("speexdec (Speex decoder) version %s (compiled " __DATE__ ")\n", speex_version);
+ printf ("speexdec (Speex decoder) version %s\n", speex_version);
printf ("Copyright (C) 2002-2006 Jean-Marc Valin\n");
}
Index: src/speexenc.c
===================================================================
--- src/speexenc.c.orig 2010-09-04 01:48:13.000000000 +0200
+++ src/speexenc.c 2010-09-04 01:49:30.654133000 +0200
@@ -185,7 +185,7 @@ void version()
{
const char* speex_version;
speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, (void*)&speex_version);
- printf ("speexenc (Speex encoder) version %s (compiled " __DATE__ ")\n", speex_version);
+ printf ("speexenc (Speex encoder) version %s\n", speex_version);
printf ("Copyright (C) 2002-2006 Jean-Marc Valin\n");
}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Nov 24 10:20:31 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Fri Sep 3 23:58:01 UTC 2010 - cristian.rodriguez@opensuse.org
- Do not include build date in binaries...
-------------------------------------------------------------------
Fri Jun 25 17:41:30 CEST 2010 - dmueller@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package speex (Version 1.1.999_1.2rc1)
# spec file for package speex
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -22,20 +22,20 @@ Name: speex
Summary: An Open Source, Patent Free Speech Codec
%define package_version 1.2rc1
Version: 1.1.999_%{package_version}
Release: 3
Release: 8
License: BSD3c
Group: System/Libraries
Url: http://www.speex.org/
Source: %{name}-%{package_version}.tar.bz2
Source2: baselibs.conf
Patch1: speex-1.0.5-warning-fix.diff
Patch2: speex-no-build-date.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libogg-devel pkgconfig
BuildRequires: libogg-devel libtool pkgconfig
# bug437293
%ifarch ppc64
Obsoletes: speex-64bit
%endif
#
%description
Speex is a patent free audio codec designed especially for voice
@ -91,6 +91,7 @@ SpeeX library.
%prep
%setup -q -n %{name}-%{package_version}
%patch1
%patch2
%build
%if 0%{?suse_version} >= 1100