From 4ccf01afaeecdcd5e17e8dcb5780df28d4e45d7762cc9ebaf26cbcdcb4523fa2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 28 Nov 2008 14:00:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdbm?expand=0&rev=6 --- gdbm.changes | 5 +++++ gdbm.spec | 31 ++++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/gdbm.changes b/gdbm.changes index f7d1a4a..1aee87e 100644 --- a/gdbm.changes +++ b/gdbm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 24 12:34:56 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/gdbm.spec b/gdbm.spec index 91e2ce5..af9f14e 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -2,9 +2,16 @@ # spec file for package gdbm (Version 1.8.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -18,8 +25,16 @@ Prefix: /usr License: GPL v2 or later Group: System/Libraries AutoReqProv: on +# bug437293 +%ifarch ppc64 +Obsoletes: gdbm-64bit +%endif +%ifarch %ix86 ppc +Obsoletes: gdbm-32bit +%endif +# Version: 1.8.3 -Release: 335 +Release: 370 Summary: GNU Database Routines Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2 Patch: gdbm-%{version}.dif @@ -41,6 +56,14 @@ Requires: gdbm = %{version} Provides: gdbm:/usr/lib/libgdbm.so PreReq: %install_info_prereq AutoReqProv: on +# bug437293 +%ifarch ppc64 +Obsoletes: gdbm-devel-64bit +%endif +%ifarch %ix86 ppc +Obsoletes: gdbm-devel-32bit +%endif +# %description devel This package contains all necessary include files and libraries needed @@ -119,6 +142,8 @@ rm -rf $RPM_BUILD_ROOT %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog +* Mon Nov 24 2008 olh@suse.de +- obsolete old -XXbit packages (bnc#437293) * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support