Accepting request 360756 from network:samba:STABLE

- Add conflict between python-tdb and python3-tdb.

- Avoid a file collision for non SUSE build targets; (bsc#966174).

OBS-URL: https://build.opensuse.org/request/show/360756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2016-02-25 21:00:10 +00:00 committed by Git OBS Bridge
commit 48e52dbbb1
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Feb 21 22:10:42 UTC 2016 - lmuelle@suse.com
- Add conflict between python-tdb and python3-tdb.
-------------------------------------------------------------------
Sun Feb 21 16:50:07 UTC 2016 - lmuelle@suse.com
- Avoid a file collision for non SUSE build targets; (bsc#966174).
-------------------------------------------------------------------
Wed Nov 11 17:44:42 UTC 2015 - lmuelle@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tdb
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -64,7 +64,11 @@ internally to keep writers from trampling on each other. TDB is also extremely
small.
%if 0%{?suse_version} > 0
%define libtdb_name libtdb1
%else
%define libtdb_name libtdb
%endif
%package -n %{libtdb_name}
Summary: Libraries and Header Files to Develop Programs with tdb1 Support
Group: System/Libraries
@ -115,6 +119,7 @@ This package contains tools to manage Tdb files.
Summary: Python bindings for the Tdb library
Group: Development/Libraries/Python
Requires: %{libtdb_name} = %{version}
Conflicts: python3-tdb
PreReq: /sbin/ldconfig
%description -n python-tdb
@ -126,6 +131,7 @@ This package contains the python bindings for the Tdb library.
Summary: Python3 bindings for the Tdb library
Group: Development/Libraries/Python
Requires: %{libtdb_name} = %{version}
Conflicts: python-tdb
PreReq: /sbin/ldconfig
%description -n python3-tdb