Hello community,

here is the log from the commit of package gdbm for openSUSE:Factory checked in 
at 2012-02-11 10:28:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdbm (Old)
 and      /work/SRC/openSUSE:Factory/.gdbm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdbm", Maintainer is "pgaj...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes        2011-10-03 
09:19:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gdbm.new/gdbm.changes   2012-02-11 
10:28:30.000000000 +0100
@@ -1,0 +2,17 @@
+Tue Feb  7 08:02:10 UTC 2012 - co...@suse.com
+
+- fix baselibs.conf
+
+-------------------------------------------------------------------
+Sun Feb  5 17:48:43 UTC 2012 - jeng...@medozas.de
+
+- Name library package according to shlib policy
+- Update description, source text from GNU homepage
+
+-------------------------------------------------------------------
+Sun Feb  5 16:36:13 UTC 2012 - jeng...@medozas.de
+
+- Remove redundant tags/sections
+- Replace /usr/%_lib by simpler %_libdir
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdbm.spec ++++++
--- /var/tmp/diff_new_pack.uEjbgU/_old  2012-02-11 10:28:32.000000000 +0100
+++ /var/tmp/diff_new_pack.uEjbgU/_new  2012-02-11 10:28:32.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdbm
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,24 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           gdbm
+%define lname  libgdbm3
 Url:            http://directory.fsf.org/GNU/gdbm.html
 #!BuildIgnore: man
-Prefix:         /usr
-License:        GPL-2.0+
-Group:          System/Libraries
-AutoReqProv:    on
 # bug437293
 %ifarch ppc64
 Obsoletes:      gdbm-64bit
 %endif
 #
 Version:        1.8.3
-Release:        383
-Summary:        GNU Database Routines
+Release:        0
+Summary:        GNU dbm key/data database
+License:        GPL-2.0+
+Group:          System/Libraries
 Source:         ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2
 Source2:        baselibs.conf
 Patch:          gdbm-%{version}.dif
@@ -44,18 +41,54 @@
 BuildRequires:  libtool
 
 %description
-A static and dynamic library for the GNU database routines.
+GNU dbm is a library of database functions that use extensible
+hashing and work similar to the standard UNIX dbm. These routines are
+provided to a programmer needing to create and manipulate a hashed
+database.
+
+The basic use of GDBM is to store key/data pairs in a data file. Each
+key must be unique and each key is paired with only one data item.
+
+The library provides primitives for storing key/data pairs, searching
+and retrieving the data by its key and deleting a key along with its
+data. It also support sequential iteration over all key/data pairs in
+a database.
 
+For compatibility with programs using old UNIX dbm function, the
+package also provides traditional dbm and ndbm interfaces.
 
+%package -n %lname
+Summary:        GNU dbm key/data database
+License:        GPL-2.0+
+Group:          System/Libraries
+# O/P added in 12.2
+Obsoletes:      gdbm < %version-%release
+Provides:       gdbm = %version-%release
+
+%description -n %lname
+GNU dbm is a library of database functions that use extensible
+hashing and work similar to the standard UNIX dbm. These routines are
+provided to a programmer needing to create and manipulate a hashed
+database.
+
+The basic use of GDBM is to store key/data pairs in a data file. Each
+key must be unique and each key is paired with only one data item.
+
+The library provides primitives for storing key/data pairs, searching
+and retrieving the data by its key and deleting a key along with its
+data. It also support sequential iteration over all key/data pairs in
+a database.
+
+For compatibility with programs using old UNIX dbm function, the
+package also provides traditional dbm and ndbm interfaces.
 
 %package devel
-License:        GPL-2.0+ ; LGPL-2.1+
 Summary:        Include Files and Libraries mandatory for Development
+License:        GPL-2.0+ ; LGPL-2.1+
 Group:          Development/Libraries/C and C++
 Requires:       gdbm = %{version}
 Provides:       gdbm:/usr/lib/libgdbm.so
 PreReq:         %install_info_prereq
-AutoReqProv:    on
 # bug437293
 %ifarch ppc64
 Obsoletes:      gdbm-devel-64bit
@@ -97,26 +130,23 @@
 echo "/* GNU ld script
    Use the shared library, but some functions are only in
    the static library, so try that secondarily.  */
-GROUP ( /usr/%{_lib}/libgdbm.so /usr/%{_lib}/libgdbm_compat.so )" > 
$RPM_BUILD_ROOT/%{_libdir}/libndbm.so
+GROUP ( %_libdir/libgdbm.so %_libdir/libgdbm_compat.so )" > 
$RPM_BUILD_ROOT/%{_libdir}/libndbm.so
 echo "/* GNU ld script
    Use the shared library, but some functions are only in
    the static library, so try that secondarily.  */
-GROUP ( /usr/%{_lib}/libgdbm.a /usr/%{_lib}/libgdbm_compat.a )" > 
$RPM_BUILD_ROOT/%{_libdir}/libndbm.a
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+GROUP ( %_libdir/libgdbm.a %_libdir/libgdbm_compat.a )" > 
$RPM_BUILD_ROOT/%{_libdir}/libndbm.a
 
-%post -p /sbin/ldconfig
+%post -n %lname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%files
+%files -n %lname
 %defattr(-,root,root)
 %doc COPYING README NEWS
-%{_prefix}/%{_lib}/libgdbm.so.3
-%{_prefix}/%{_lib}/libgdbm.so.3.0.0
-%{_prefix}/%{_lib}/libgdbm_compat.so.3
-%{_prefix}/%{_lib}/libgdbm_compat.so.3.0.0
+%_libdir/libgdbm.so.3
+%_libdir/libgdbm.so.3.0.0
+%_libdir/libgdbm_compat.so.3
+%_libdir/libgdbm_compat.so.3.0.0
 
 %files devel
 %defattr(-,root,root)

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.uEjbgU/_old  2012-02-11 10:28:32.000000000 +0100
+++ /var/tmp/diff_new_pack.uEjbgU/_new  2012-02-11 10:28:32.000000000 +0100
@@ -1,2 +1,4 @@
-gdbm
+libgdbm3
 gdbm-devel
+  requires -gdbm-<targettype>
+  requires "libgdbm3-<targettype> = <version>"

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to