From bc77b7eaa092483cc7f4526c4c82f3c429fbca0f5a59a97ccefc357496de1ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 24 Nov 2011 11:20:53 +0000 Subject: [PATCH] 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 --- speex-no-build-date.patch | 26 ++++++++++++++++++++++++++ speex.changes | 10 ++++++++++ speex.spec | 11 ++++++----- 3 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 speex-no-build-date.patch diff --git a/speex-no-build-date.patch b/speex-no-build-date.patch new file mode 100644 index 0000000..4ba2a85 --- /dev/null +++ b/speex-no-build-date.patch @@ -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"); + } + diff --git a/speex.changes b/speex.changes index 2b7e9c2..cdec5f0 100644 --- a/speex.changes +++ b/speex.changes @@ -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 diff --git a/speex.spec b/speex.spec index ab7eada..abf1afc 100644 --- a/speex.spec +++ b/speex.spec @@ -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