commit libdb-4_8 for openSUSE:Factory

2019-09-07 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2019-09-07 11:24:11

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new.7948 (New)


Package is "libdb-4_8"

Sat Sep  7 11:24:11 2019 rev:31 rq:726289 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2018-12-28 
12:31:03.276141251 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new.7948/libdb-4_8.changes
2019-09-07 11:24:16.802504490 +0200
@@ -1,0 +2,15 @@
+Tue Aug 27 00:06:09 UTC 2019 - William Brown 
+
+- Add opd deadlock patch as found and documented by Red Hat.
+  (bsc#1148244)
+  * 0001-OPD-deadlock-RH-BZ-1349779.patch
+
+---
+Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal 
+
+- Remove the getpatches as it does not work at all, oracle
+  removed the pages
+- Use spec-cleaner
+- Fix stripped debuginfo to make sure we can debug with libdb
+
+---
--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2018-04-16 
12:42:21.763577576 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new.7948/libdb_java-4_8.changes   
2019-09-07 11:24:16.922504474 +0200
@@ -1,0 +2,8 @@
+Mon Aug 19 06:59:04 UTC 2019 - Tomáš Chvátal 
+
+- Remove the getpatches as it does not work at all, oracle
+  removed the pages
+- Use spec-cleaner
+- Fix stripped debuginfo to make sure we can debug with libdb
+
+---

Old:

  getpatches

New:

  0001-OPD-deadlock-RH-BZ-1349779.patch



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.C8Hw5L/_old  2019-09-07 11:24:18.710504226 +0200
+++ /var/tmp/diff_new_pack.C8Hw5L/_new  2019-09-07 11:24:18.714504226 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -26,19 +26,18 @@
 Summary:Berkeley DB Database Library Version 4.8
 License:Sleepycat
 Group:  System/Libraries
-Url:http://oracle.com/technetwork/products/berkeleydb/
+URL:https://oracle.com/technetwork/products/berkeleydb/
 Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
 Source1:%{name}.changes
 Source2:baselibs.conf
-Source9:getpatches
 Patch0: db-%{version}.patch
 # PATCH-FIX-OPENSUSE Fix build with GCC8, conflict with reserved builtin name
 Patch1: libdb-fix-atomic.patch
+Patch2: 0001-OPD-deadlock-RH-BZ-1349779.patch
 BuildRequires:  autoconf
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 Provides:   db = %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -94,6 +93,7 @@
 %setup -q -n %{generic_name}-%{version}
 %patch0
 %patch1
+%patch2 -p1
 
 %build
 cd dist
@@ -111,11 +111,13 @@
 #
 mkdir ../build_nptl
 cd ../build_nptl
-../dist/configure --prefix=%{_prefix} \
---libdir=%{_libdir} --enable-compat185 --disable-dump185 \
---enable-shared --disable-static --enable-cxx \
+%define _configure ../dist/configure
+%configure \
+--enable-compat185 --disable-dump185 \
+--enable-shared --disable-static \
+--enable-cxx \
 --with-mutex="POSIX/pthreads/library" \
-%ifarch %arm
+%ifarch %{arm}
 %{_target_cpu}-suse-linux-gnueabi
 %else
 %{_target_cpu}-suse-linux
@@ -133,7 +135,7 @@
 mkdir -p %{buildroot}%{_includedir}/db4
 mkdir -p %{buildroot}%{_libdir}
 cd build_nptl
-make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true 
install
+%make_install STRIP=true
 cd ..
 # make ldd happy:
 chmod 755 %{buildroot}%{_libdir}/libdb*.so
@@ -176,7 +178,6 @@
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
-
 %post -n db48-utils
 for i in %{util_list}; do
update-alternatives --install "%{_bindir}/db_$i" \
@@ -189,17 +190,15 @@
 done
 
 %files
-%defattr(-,root,root)
 %{_libdir}/libdb-%{major}.%{minor}.so
 %{_libdir}/libdb_cxx-%{major}.%{minor}.so
 
 %files -n db48-doc
-%defattr(-,root,root)
 %dir %{_docdir}/%{name}
-%doc %{_docdir}/%{name}/LICENSE
+%license %{_docdir}/%{name}/LICENSE
 %doc %{_docdir}/%{name}/README
 %doc %{_docdir}/%{name}/index.html
-%doc %{_docdir}/%{name}/license
+%license %{_docdir}/%{name}/license
 %doc %{_docdir}/%{name}/articles
 %doc %{_docdir}/%{name}/api_reference
 

commit libdb-4_8 for openSUSE:Factory

2018-12-28 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2018-12-28 12:31:01

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new.28833 (New)


Package is "libdb-4_8"

Fri Dec 28 12:31:01 2018 rev:30 rq:660287 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2018-03-24 
16:04:17.631476165 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new.28833/libdb-4_8.changes   
2018-12-28 12:31:03.276141251 +0100
@@ -1,0 +2,5 @@
+Thu Dec 20 12:41:18 UTC 2018 - Tomáš Chvátal 
+
+- Fix the license to match up really what is in there
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.MHPD15/_old  2018-12-28 12:31:04.220140600 +0100
+++ /var/tmp/diff_new_pack.MHPD15/_new  2018-12-28 12:31:04.224140597 +0100
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 Version:%{major}.%{minor}.30
 Release:0
 Summary:Berkeley DB Database Library Version 4.8
-License:BSD-3-Clause
+License:Sleepycat
 Group:  System/Libraries
 Url:http://oracle.com/technetwork/products/berkeleydb/
 Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.MHPD15/_old  2018-12-28 12:31:04.240140586 +0100
+++ /var/tmp/diff_new_pack.MHPD15/_new  2018-12-28 12:31:04.240140586 +0100
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit libdb-4_8 for openSUSE:Factory

2018-04-16 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2018-04-16 12:42:15

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Mon Apr 16 12:42:15 2018 rev:29 rq:594764 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2018-03-24 
16:04:18.355450066 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2018-04-16 12:42:21.763577576 +0200
@@ -1,0 +2,6 @@
+Mon Apr  9 05:32:56 UTC 2018 - fst...@suse.com
+
+- Changed libdb_java-4_8-fix-java10-comp.patch to acount for Java
+  10 properly and for following Java versions in a generic way.
+
+---



Other differences:
--
libdb_java-4_8.spec: same change
++ libdb_java-4_8-fix-java10-comp.patch ++
--- /var/tmp/diff_new_pack.X2Xo7L/_old  2018-04-16 12:42:22.723542642 +0200
+++ /var/tmp/diff_new_pack.X2Xo7L/_new  2018-04-16 12:42:22.727542497 +0200
@@ -7,7 +7,7 @@
AC_MSG_RESULT($JAVA_VERSION)
case "$JAVA_VERSION" in
 -  1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* ) ;;
-+  1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* | 10-* ) ;;
++  1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* | [[1-9]][[0-9]]* ) 
;;
* )
AC_MSG_ERROR([Java version 1.3 or higher required, got 
$JAVA_VERSION]) ;;
esac




commit libdb-4_8 for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2018-03-24 16:04:14

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Sat Mar 24 16:04:14 2018 rev:28 rq:586302 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2016-04-14 
12:59:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2018-03-24 
16:04:17.631476165 +0100
@@ -1,0 +2,6 @@
+Tue Mar 13 08:59:56 UTC 2018 - rguent...@suse.com
+
+- Add libdb-fix-atomic.patch to fix __atomic_compare_exchange clash
+  with GCCs builtin.  Fixes build with GCC8 which now rejects this.
+
+---
libdb_java-4_8.changes: same change

New:

  libdb-fix-atomic.patch



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.38B6p5/_old  2018-03-24 16:04:19.655403204 +0100
+++ /var/tmp/diff_new_pack.38B6p5/_new  2018-03-24 16:04:19.655403204 +0100
@@ -32,6 +32,8 @@
 Source2:baselibs.conf
 Source9:getpatches
 Patch0: db-%{version}.patch
+# PATCH-FIX-OPENSUSE Fix build with GCC8, conflict with reserved builtin name
+Patch1: libdb-fix-atomic.patch
 BuildRequires:  autoconf
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -91,6 +93,7 @@
 %prep
 %setup -q -n %{generic_name}-%{version}
 %patch0
+%patch1
 
 %build
 cd dist

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.38B6p5/_old  2018-03-24 16:04:19.695401762 +0100
+++ /var/tmp/diff_new_pack.38B6p5/_new  2018-03-24 16:04:19.695401762 +0100
@@ -32,6 +32,8 @@
 Patch0: db-%{version}.patch
 # PATCH-FIX-OPENSUSE Fix compilation with Java 10 (10-internal)
 Patch1: libdb_java-4_8-fix-java10-comp.patch
+# PATCH-FIX-OPENSUSE Fix build with GCC8, conflict with reserved builtin name
+Patch2: libdb-fix-atomic.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc-c++
 BuildRequires:  java-sdk >= 1.5
@@ -63,6 +65,7 @@
 %setup -q -n %{generic_name}-%{version}
 %patch0
 %patch1 -p1
+%patch2
 
 %build
 cd dist

++ libdb-fix-atomic.patch ++
Fix use of reserved identifier __atomic_compare_exchange by renaming

--- dbinc/atomic.h.orig 2018-03-13 09:44:13.197929296 +0100
+++ dbinc/atomic.h  2018-03-13 09:45:09.582831244 +0100
@@ -144,7 +144,7 @@
 #defineatomic_inc(env, p)  __atomic_inc(p)
 #defineatomic_dec(env, p)  __atomic_dec(p)
 #defineatomic_compare_exchange(env, p, o, n)   \
-   __atomic_compare_exchange((p), (o), (n))
+   __db_atomic_compare_exchange((p), (o), (n))
 static inline int __atomic_inc(db_atomic_t *p)
 {
int temp;
@@ -176,7 +176,7 @@
  * http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html
  * which configure could be changed to use.
  */
-static inline int __atomic_compare_exchange(
+static inline int __db_atomic_compare_exchange(
db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
 {
atomic_value_t was;



commit libdb-4_8 for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2018-01-16 09:27:31

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Tue Jan 16 09:27:31 2018 rev:27 rq:563073 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2017-10-28 
14:18:01.967562787 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2018-01-16 09:27:33.323286172 +0100
@@ -1,0 +2,6 @@
+Tue Jan  9 13:26:27 UTC 2018 - pmonrealgonza...@suse.com
+
+- Added libdb_java-4_8-fix-java10-comp.patch to fix the build with
+  Java 10 (10-internal)
+
+---

New:

  libdb_java-4_8-fix-java10-comp.patch



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.I3pDwu/_old  2018-01-16 09:27:34.279241447 +0100
+++ /var/tmp/diff_new_pack.I3pDwu/_new  2018-01-16 09:27:34.283241259 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.I3pDwu/_old  2018-01-16 09:27:34.307240137 +0100
+++ /var/tmp/diff_new_pack.I3pDwu/_new  2018-01-16 09:27:34.307240137 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb_java-4_8
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -30,6 +30,8 @@
 Source1:%{name}.changes
 Source9:getpatches
 Patch0: db-%{version}.patch
+# PATCH-FIX-OPENSUSE Fix compilation with Java 10 (10-internal)
+Patch1: libdb_java-4_8-fix-java10-comp.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc-c++
 BuildRequires:  java-sdk >= 1.5
@@ -60,6 +62,7 @@
 %prep
 %setup -q -n %{generic_name}-%{version}
 %patch0
+%patch1 -p1
 
 %build
 cd dist

++ libdb_java-4_8-fix-java10-comp.patch ++
Index: db-4.8.30/dist/configure.ac
===
--- db-4.8.30.orig/dist/configure.ac
+++ db-4.8.30/dist/configure.ac
@@ -416,7 +416,7 @@ if test "$db_cv_java" = "yes"; then
esac
AC_MSG_RESULT($JAVA_VERSION)
case "$JAVA_VERSION" in
-   1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* ) ;;
+   1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* | 10-* ) ;;
* )
AC_MSG_ERROR([Java version 1.3 or higher required, got 
$JAVA_VERSION]) ;;
esac



commit libdb-4_8 for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2017-10-28 14:17:58

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Sat Oct 28 14:17:58 2017 rev:26 rq:535354 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2017-10-02 
16:55:02.447342068 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2017-10-28 14:18:01.967562787 +0200
@@ -1,0 +2,5 @@
+Wed Oct 18 07:00:16 UTC 2017 - jay...@gmail.com
+
+- Remove unnecessary dependency on update-alternatives
+
+---



Other differences:
--
++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.b6V5d4/_old  2017-10-28 14:18:04.171482196 +0200
+++ /var/tmp/diff_new_pack.b6V5d4/_new  2017-10-28 14:18:04.175482050 +0200
@@ -34,7 +34,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  java-sdk >= 1.5
 BuildRequires:  unzip
-BuildRequires:  update-alternatives
 Requires:   libdb-%{major}_%{minor} = %{version}
 Conflicts:  libdb_java-4_5
 Provides:   db-java = %{version}




commit libdb-4_8 for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2017-10-02 16:54:57

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Mon Oct  2 16:54:57 2017 rev:25 rq:530382 version:4.8.30

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2016-04-14 
12:59:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2017-10-02 16:55:02.447342068 +0200
@@ -1,0 +2,6 @@
+Mon Oct  2 09:23:07 UTC 2017 - fst...@suse.com
+
+- Specify java target and soure level 1.6 to allow building with
+  jdk9
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.10KA4i/_old  2017-10-02 16:55:03.963129308 +0200
+++ /var/tmp/diff_new_pack.10KA4i/_new  2017-10-02 16:55:03.963129308 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.10KA4i/_old  2017-10-02 16:55:03.983126501 +0200
+++ /var/tmp/diff_new_pack.10KA4i/_new  2017-10-02 16:55:03.987125940 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb_java-4_8
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -82,7 +82,7 @@
 --libdir=%{_libdir} --enable-compat185 --disable-dump185 \
 --enable-shared --disable-static --enable-cxx \
 --with-mutex="POSIX/pthreads/library" \
---enable-java JAVACFLAGS="-source 1.5 -target 1.5" \
+--enable-java JAVACFLAGS="-source 1.6 -target 1.6" \
 %ifarch %arm
 %{_target_cpu}-suse-linux-gnueabi
 %else




commit libdb-4_8 for openSUSE:Factory

2016-04-14 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2016-04-14 12:59:41

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is "libdb-4_8"

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2014-05-17 
22:01:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2016-04-14 
12:59:43.0 +0200
@@ -1,0 +2,7 @@
+Thu Mar 31 09:50:39 UTC 2016 - tchva...@suse.com
+
+- Use upstream tarball
+- Cleanup a bit with spec-cleaner
+- remove unused script check-build.sh
+
+---
--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2014-05-17 
22:01:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2016-04-14 12:59:43.0 +0200
@@ -1,0 +2,7 @@
+Thu Mar 31 09:50:54 UTC 2016 - tchva...@suse.com
+
+- Use upstream tarball
+- Cleanup with spec-cleaner
+- remove unused script check-build.sh
+
+---

Old:

  check-build.sh
  db-4.8.30.tar.bz2

New:

  db-4.8.30.tar.gz



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.lgV15r/_old  2016-04-14 12:59:45.0 +0200
+++ /var/tmp/diff_new_pack.lgV15r/_new  2016-04-14 12:59:45.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2014 SUSE LINUX Products 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
@@ -16,11 +16,10 @@
 #
 
 
+%define util_list archive checkpoint deadlock dump hotbackup load printlog 
recover sql stat upgrade verify
 %define generic_name db
-%define docdir %{_defaultdocdir}/%{name}
 %define major 4
 %define minor 8
-
 Name:   libdb-4_8
 Version:%{major}.%{minor}.30
 Release:0
@@ -28,9 +27,9 @@
 License:BSD-3-Clause
 Group:  System/Libraries
 Url:http://oracle.com/technetwork/products/berkeleydb/
-
-Source: db-%{version}.tar.bz2
+Source: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
 Source1:%{name}.changes
+Source2:baselibs.conf
 Source9:getpatches
 Patch0: db-%{version}.patch
 BuildRequires:  autoconf
@@ -38,10 +37,6 @@
 BuildRequires:  gcc-c++
 Provides:   db = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# bug437293
-%ifarch ppc64
-Obsoletes:  db-64bit
-%endif
 
 %description
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -52,9 +47,9 @@
 %package -n db48-utils
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
+Requires(post): update-alternatives
 Provides:   db-utils = %{version}
 Obsoletes:  db-utils < %{version}
-PreReq: update-alternatives
 
 %description -n db48-utils
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -101,8 +96,8 @@
 cd dist
 # dist/RELEASE codes the build date into the binary.
 # Use last change of changes file instead
-LAST_MOD=`stat --format="%Y" %SOURCE1`
-DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
+LAST_MOD=`stat --format="%%Y" %{SOURCE1}`
+DIST_DATE=`date '+%%B %%e, %%Y' --date="@$LAST_MOD"`
 sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
 ./s_config
 CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -148,50 +143,46 @@
 rm -f examples_cxx/tags
 rm -f examples_c/tags
 # Move documentation to the right directory
-mkdir -p %{buildroot}%{docdir}
-mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir}
-cp -a examples_cxx examples_c %{buildroot}/%{docdir}
-cp -a LICENSE README %{buildroot}/%{docdir}
-#
+mkdir -p %{buildroot}%{_docdir}/%{name}
+mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{_docdir}/%{name}
+cp -a examples_cxx examples_c %{buildroot}/%{_docdir}/%{name}
+cp -a LICENSE README %{buildroot}/%{_docdir}/%{name}
 # Remove api documentation for C++, Java and TCL
-rm -rf %{buildroot}/%{docdir}/csharp
-rm -rf %{buildroot}/%{docdir}/java
-rm -rf %{buildroot}/%{docdir}/api_reference/CXX
-rm -rf %{buildroot}/%{docdir}/api_reference/STL
-rm -rf %{buildroot}/%{docdir}/api_reference/TCL
-rm -rf %{buildroot}/%{docdir}/gsg*/CXX
-rm -rf %{buildroot}/%{docdir}/gsg*/JAVA
-mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/
+rm -rf %{buildroot}/%{_docdir}/%{name}/csharp
+rm -rf %{buildroot}/%{_docdir}/%{name}/java
+rm -rf 

commit libdb-4_8 for openSUSE:Factory

2014-05-17 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2014-05-17 22:01:38

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2013-10-22 
10:18:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2014-05-17 
22:01:42.0 +0200
@@ -1,0 +2,6 @@
+Mon May 12 08:52:48 UTC 2014 - sch...@suse.de
+
+- remove generation of unused tarball
+- remove setting of unused variable
+
+---
libdb_java-4_8.changes: same change



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.Nlknex/_old  2014-05-17 22:01:43.0 +0200
+++ /var/tmp/diff_new_pack.Nlknex/_new  2014-05-17 22:01:43.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -96,8 +96,6 @@
 %prep
 %setup -q -n %{generic_name}-%{version}
 %patch0
-cd ..
-tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version}
 
 %build
 cd dist
@@ -135,12 +133,6 @@
 
 %install
 mkdir -p %{buildroot}%{_includedir}/db4
-CONFIG_ARGS=$(find . -name config.log -exec grep \$ \.\./dist\/configure 
{} \; | sed 's/.*configure\( --.*\)/\1/g')
-if [ -z $CONFIG_ARGS ]
-then
-  echo could not find configure arguments ... exiting
-  exit 42
-fi
 mkdir -p %{buildroot}%{_libdir}
 cd build_nptl
 make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true 
install

libdb_java-4_8.spec: same change
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libdb-4_8 for openSUSE:Factory

2013-10-22 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2013-10-22 10:18:43

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2013-07-24 
15:07:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2013-10-22 
10:18:44.0 +0200
@@ -1,0 +2,10 @@
+Mon Oct 21 13:05:38 UTC 2013 - co...@suse.com
+
+- fix update-alternatives usage
+
+---
+Tue Oct  8 16:27:57 UTC 2013 - jeng...@inai.de
+
+- Add update-alternatives rules to db48-utils (bnc#840738)
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.7keSoU/_old  2013-10-22 10:18:45.0 +0200
+++ /var/tmp/diff_new_pack.7keSoU/_new  2013-10-22 10:18:45.0 +0200
@@ -54,6 +54,7 @@
 Group:  Productivity/Databases/Tools
 Provides:   db-utils = %{version}
 Obsoletes:  db-utils  %{version}
+PreReq: update-alternatives
 
 %description -n db48-utils
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -173,9 +174,14 @@
 rm -rf %{buildroot}%{_libdir}/*.la
 rm -rf %{buildroot}%{_libdir}/tls/*.la
 
-for i in archive checkpoint deadlock dump hotbackup load printlog \
-recover sql stat upgrade verify; do
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+
+%define util_list archive checkpoint deadlock dump hotbackup load printlog 
recover sql stat upgrade verify
+for i in %util_list; do
+# dummy
+touch %{buildroot}%{_sysconfdir}/alternatives/db_$i
mv %buildroot/%_bindir/db_$i %buildroot/%_bindir/db48_$i
+ln -s %{_sysconfdir}/alternatives/db_$i %{buildroot}%_bindir/db_$i
 done
 
 %fdupes %{buildroot}%{_libdir}
@@ -185,6 +191,17 @@
 
 %postun -p /sbin/ldconfig
 
+%post -n db48-utils
+for i in %util_list; do
+   %_sbindir/update-alternatives --install %_bindir/db_$i \
+   db_$i %_bindir/db48_$i 48
+done
+
+%postun -n db48-utils
+for i in %util_list; do
+   %_sbindir/update-alternatives --remove db_$i %_bindir/db_$i
+done
+
 %files
 %defattr(-,root,root)
 %{_libdir}/libdb-%{major}.%{minor}.so
@@ -208,18 +225,20 @@
 
 %files -n db48-utils
 %defattr(-,root,root)
-%{_bindir}/db48_archive
-%{_bindir}/db48_checkpoint
-%{_bindir}/db48_deadlock
-%{_bindir}/db48_dump
-%{_bindir}/db48_hotbackup
-%{_bindir}/db48_load
-%{_bindir}/db48_printlog
-%{_bindir}/db48_recover
-%{_bindir}/db48_sql
-%{_bindir}/db48_stat
-%{_bindir}/db48_upgrade
-%{_bindir}/db48_verify
+%_bindir/db48_*
+%ghost %{_sysconfdir}/alternatives/db_archive
+%ghost %{_sysconfdir}/alternatives/db_checkpoint
+%ghost %{_sysconfdir}/alternatives/db_deadlock
+%ghost %{_sysconfdir}/alternatives/db_dump
+%ghost %{_sysconfdir}/alternatives/db_hotbackup
+%ghost %{_sysconfdir}/alternatives/db_load
+%ghost %{_sysconfdir}/alternatives/db_printlog
+%ghost %{_sysconfdir}/alternatives/db_recover
+%ghost %{_sysconfdir}/alternatives/db_sql
+%ghost %{_sysconfdir}/alternatives/db_stat
+%ghost %{_sysconfdir}/alternatives/db_upgrade
+%ghost %{_sysconfdir}/alternatives/db_verify
+%_bindir/db_*
 
 %files devel
 %defattr(-,root,root)

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



commit libdb-4_8 for openSUSE:Factory

2013-07-24 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2013-07-24 15:07:40

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2013-06-20 
15:18:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2013-07-24 
15:07:41.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 23 07:30:46 UTC 2013 - co...@suse.com
+
+- readd the provides of db-*, we're not going to switch to db 6.0
+  too eagerly: http://lwn.net/Articles/557487/
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.FOCA2T/_old  2013-07-24 15:07:42.0 +0200
+++ /var/tmp/diff_new_pack.FOCA2T/_new  2013-07-24 15:07:42.0 +0200
@@ -52,6 +52,8 @@
 %package -n db48-utils
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
+Provides:   db-utils = %{version}
+Obsoletes:  db-utils  %{version}
 
 %description -n db48-utils
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -63,7 +65,9 @@
 %package -n db48-doc
 Summary:Documentation for Berkeley DB
 Group:  Development/Libraries/C and C++
+Provides:   db-doc = %{version}
 Provides:   db-utils-doc = %{version}
+Obsoletes:  db-doc  %{version}
 %if 0%{?suse_version} = 1120
 BuildArch:  noarch
 %endif
@@ -80,7 +84,7 @@
 Requires:   %{name} = %{version}
 Requires:   glibc-devel
 Conflicts:  libdb-4_5-devel
-Provides:   db-devel
+Provides:   db-devel = %{version}
 
 %descriptiondevel
 The Berkeley DB Database is a programmatic toolkit that provides

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



commit libdb-4_8 for openSUSE:Factory

2013-06-20 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2013-06-20 15:00:45

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2012-11-20 
10:37:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2013-06-20 
15:18:26.0 +0200
@@ -1,0 +2,17 @@
+Wed Jun 19 11:13:31 UTC 2013 - wer...@suse.de
+
+- Explicit add a conflict to other providers of /usr/lib/libdb.so
+  and /usr/lib/libdb-4.so
+
+---
+Tue Jun 18 11:48:48 UTC 2013 - wer...@suse.de
+
+- Try to change baselibs.conf to fit coolo's comment hopefully 
+
+---
+Thu Jun 13 23:11:33 UTC 2013 - jeng...@inai.de
+
+- Rename db_ binaries to db48_ to make room for libdb-6_0
+- Add conflict markers against libdb-4_5 (overlapping files)
+
+---
--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2012-01-09 
21:43:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2013-06-20 15:18:26.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun 13 23:11:33 UTC 2013 - jeng...@inai.de
+
+- Add conflict markers against libdb-4_5 (overlapping files)
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.jWFSaH/_old  2013-06-20 15:18:27.0 +0200
+++ /var/tmp/diff_new_pack.jWFSaH/_new  2013-06-20 15:18:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -27,7 +27,8 @@
 Summary:Berkeley DB Database Library Version 4.8
 License:BSD-3-Clause
 Group:  System/Libraries
-Url:http://www.sleepycat.com
+Url:http://oracle.com/technetwork/products/berkeleydb/
+
 Source: db-%{version}.tar.bz2
 Source1:%{name}.changes
 Source9:getpatches
@@ -48,18 +49,18 @@
 
 This package contains the necessary runtime libraries.
 
-%package -n db-utils
+%package -n db48-utils
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
 
-%description -n db-utils
+%description -n db48-utils
 The Berkeley DB Database is a programmatic toolkit that provides
 database support for applications.
 
 This package contains the command line tools for managing Berkeley DB
 databases.
 
-%package -n db-doc
+%package -n db48-doc
 Summary:Documentation for Berkeley DB
 Group:  Development/Libraries/C and C++
 Provides:   db-utils-doc = %{version}
@@ -67,7 +68,7 @@
 BuildArch:  noarch
 %endif
 
-%description -n db-doc
+%description -n db48-doc
 The Berkeley DB Database is a programmatic toolkit that provides
 database support for applications.
 
@@ -78,7 +79,7 @@
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 Requires:   glibc-devel
-Provides:   db-devel = %{version}
+Conflicts:  libdb-4_5-devel
 
 %descriptiondevel
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -166,6 +167,12 @@
 # Remove crappy *.la files
 rm -rf %{buildroot}%{_libdir}/*.la
 rm -rf %{buildroot}%{_libdir}/tls/*.la
+
+for i in archive checkpoint deadlock dump hotbackup load printlog \
+recover sql stat upgrade verify; do
+   mv %buildroot/%_bindir/db_$i %buildroot/%_bindir/db48_$i
+done
+
 %fdupes %{buildroot}%{_libdir}
 %fdupes %{buildroot}%{docdir}
 
@@ -178,7 +185,7 @@
 %{_libdir}/libdb-%{major}.%{minor}.so
 %{_libdir}/libdb_cxx-%{major}.%{minor}.so
 
-%files -n db-doc
+%files -n db48-doc
 %defattr(-,root,root)
 %dir %{docdir}
 %doc %{docdir}/LICENSE
@@ -194,20 +201,20 @@
 %doc %{docdir}/programmer_reference
 %doc %{docdir}/tutorial
 
-%files -n db-utils
+%files -n db48-utils
 %defattr(-,root,root)
-%{_bindir}/db_archive
-%{_bindir}/db_checkpoint
-%{_bindir}/db_deadlock
-%{_bindir}/db_dump
-%{_bindir}/db_load
-%{_bindir}/db_printlog
-%{_bindir}/db_recover
-%{_bindir}/db_sql
-%{_bindir}/db_stat
-%{_bindir}/db_upgrade
-%{_bindir}/db_verify
-%{_bindir}/db_hotbackup
+%{_bindir}/db48_archive
+%{_bindir}/db48_checkpoint
+%{_bindir}/db48_deadlock
+%{_bindir}/db48_dump
+%{_bindir}/db48_hotbackup

commit libdb-4_8 for openSUSE:Factory

2013-06-20 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2013-06-20 16:08:45

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8

Changes:

libdb_java-4_8.changes: same change



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.Ub2HOh/_old  2013-06-20 16:09:06.0 +0200
+++ /var/tmp/diff_new_pack.Ub2HOh/_new  2013-06-20 16:09:06.0 +0200
@@ -80,6 +80,7 @@
 Requires:   %{name} = %{version}
 Requires:   glibc-devel
 Conflicts:  libdb-4_5-devel
+Provides:   db-devel
 
 %descriptiondevel
 The Berkeley DB Database is a programmatic toolkit that provides

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



commit libdb-4_8 for openSUSE:Factory

2012-11-20 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2012-11-20 10:37:53

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2012-01-09 
21:43:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2012-11-20 
10:37:54.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 17 12:01:29 CET 2012 - r...@suse.de
+
+- fix check-build.sh for kernel  3.0 
+
+---



Other differences:
--
++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.5OgJw2/_old  2012-11-20 10:37:57.0 +0100
+++ /var/tmp/diff_new_pack.5OgJw2/_new  2012-11-20 10:37:57.0 +0100
@@ -47,6 +47,7 @@
 
 %packagedevel
 Summary:Java Bindings for the Berkeley DB
+Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
 Requires:   glibc-devel
 Provides:   db-java-devel = %{version}

++ check-build.sh ++
--- /var/tmp/diff_new_pack.5OgJw2/_old  2012-11-20 10:37:57.0 +0100
+++ /var/tmp/diff_new_pack.5OgJw2/_new  2012-11-20 10:37:57.0 +0100
@@ -4,7 +4,10 @@
 
 # get kernel version
 OFS=$IFS ; IFS=.- ; version=(`uname -r`) ; IFS=$OIFS
-if test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 4 ; 
then
+echo version = ${version[0]} ${version[1]} ${version[2]}
+if test ${version[0]} -gt 2 ; then
+: # okay
+elif test ${version[0]} -lt 2 -o ${version[1]} -lt 6 -o ${version[2]} -lt 4 ; 
then
 echo FATAL: kernel too old, need kernel = 2.6.4 for this package 
12
 exit 1
 fi

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



commit libdb-4_8 for openSUSE:Factory

2012-01-09 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2012-01-09 21:42:54

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2011-12-21 
14:57:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2012-01-09 
21:43:10.0 +0100
@@ -1,0 +2,10 @@
+Mon Jan  9 12:08:10 UTC 2012 - a...@suse.de
+
+- Do not use build date as version string.
+
+---
+Thu Dec 22 01:11:27 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+---
--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2011-10-02 
10:14:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes
2012-01-09 21:43:10.0 +0100
@@ -1,0 +2,10 @@
+Mon Jan  9 12:08:54 UTC 2012 - a...@suse.de
+
+- Do not use build date as version string.
+
+---
+Thu Dec 22 01:11:58 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.r7Umyx/_old  2012-01-09 21:43:15.0 +0100
+++ /var/tmp/diff_new_pack.r7Umyx/_new  2012-01-09 21:43:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb-4_8
 #
-# 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
@@ -29,6 +29,7 @@
 Group:  System/Libraries
 Url:http://www.sleepycat.com
 Source: db-%{version}.tar.bz2
+Source1:%{name}.changes
 Source9:getpatches
 Patch0: db-%{version}.patch
 BuildRequires:  autoconf
@@ -93,6 +94,11 @@
 
 %build
 cd dist
+# dist/RELEASE codes the build date into the binary.
+# Use last change of changes file instead
+LAST_MOD=`stat --format=%Y %SOURCE1`
+DIST_DATE=`date '+%B %e, %Y' --date=@$LAST_MOD`
+sed -i -e s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\$DIST_DATE\/ RELEASE
 ./s_config
 CFLAGS=%{optflags} -fno-strict-aliasing
 CC=gcc
@@ -167,9 +173,6 @@
 
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root)
 %{_libdir}/libdb-%{major}.%{minor}.so

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.r7Umyx/_old  2012-01-09 21:43:15.0 +0100
+++ /var/tmp/diff_new_pack.r7Umyx/_new  2012-01-09 21:43:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdb_java-4_8
 #
-# 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
@@ -29,6 +29,7 @@
 Group:  Productivity/Databases/Servers
 Url:http://www.sleepycat.com
 Source: db-%{version}.tar.bz2
+Source1:%{name}.changes
 Source9:getpatches
 Patch0: db-%{version}.patch
 BuildRequires:  autoconf
@@ -64,6 +65,11 @@
 
 %build
 cd dist
+# dist/RELEASE codes the build date into the binary.
+# Use last change of changes file instead
+LAST_MOD=`stat --format=%Y %SOURCE1`
+DIST_DATE=`date '+%B %e, %Y' --date=@$LAST_MOD`
+sed -i -e s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\$DIST_DATE\/ RELEASE
 ./s_config
 CFLAGS=%{optflags} -fno-strict-aliasing
 CC=gcc
@@ -146,9 +152,6 @@
 
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root)
 %{_javadir}/*

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



commit libdb-4_8 for openSUSE:Factory

2011-12-21 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2011-12-21 14:57:01

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libdb-4_8/libdb-4_8.changes  2011-10-02 
10:14:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2011-12-21 
14:57:07.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 20 11:20:14 UTC 2011 - co...@suse.com
+
+- add autoconf as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.prl36T/_old  2011-12-21 14:57:08.0 +0100
+++ /var/tmp/diff_new_pack.prl36T/_new  2011-12-21 14:57:08.0 +0100
@@ -23,14 +23,15 @@
 
 Name:   libdb-4_8
 Version:%{major}.%{minor}.30
-Release:1
-License:BSD-3-Clause
+Release:0
 Summary:Berkeley DB Database Library Version 4.8
-Url:http://www.sleepycat.com
+License:BSD-3-Clause
 Group:  System/Libraries
+Url:http://www.sleepycat.com
 Source: db-%{version}.tar.bz2
 Source9:getpatches
 Patch0: db-%{version}.patch
+BuildRequires:  autoconf
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 Provides:   db = %{version}
@@ -47,7 +48,6 @@
 This package contains the necessary runtime libraries.
 
 %package -n db-utils
-License:BSD-3-Clause
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
 
@@ -59,7 +59,6 @@
 databases.
 
 %package -n db-doc
-License:BSD-3-Clause
 Summary:Documentation for Berkeley DB
 Group:  Development/Libraries/C and C++
 Provides:   db-utils-doc = %{version}
@@ -74,7 +73,6 @@
 This package contains the documentation.
 
 %packagedevel
-License:BSD-3-Clause
 Summary:Development Files and Libraries for the Berkeley DB library 
Version 4.8
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.prl36T/_old  2011-12-21 14:57:08.0 +0100
+++ /var/tmp/diff_new_pack.prl36T/_new  2011-12-21 14:57:08.0 +0100
@@ -23,14 +23,15 @@
 
 Name:   libdb_java-4_8
 Version:%{major}.%{minor}.30
-Release:1
-License:BSD-3-Clause
+Release:0
 Summary:Java Bindings for the Berkeley DB
-Url:http://www.sleepycat.com
+License:BSD-3-Clause
 Group:  Productivity/Databases/Servers
+Url:http://www.sleepycat.com
 Source: db-%{version}.tar.bz2
 Source9:getpatches
 Patch0: db-%{version}.patch
+BuildRequires:  autoconf
 BuildRequires:  gcc-c++
 BuildRequires:  java-sdk = 1.5
 BuildRequires:  unzip
@@ -44,9 +45,7 @@
 the Java support of db and dbxml.
 
 %packagedevel
-License:BSD-3-Clause
 Summary:Java Bindings for the Berkeley DB
-Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
 Requires:   glibc-devel
 Provides:   db-java-devel = %{version}

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



commit libdb-4_8 for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory 
checked in at 2011-12-06 18:23:06

Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old)
 and  /work/SRC/openSUSE:Factory/.libdb-4_8.new (New)


Package is libdb-4_8, Maintainer is 

Changes:

libdb_java-4_8.changes: same change



Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.z3Ii3R/_old  2011-12-06 18:40:38.0 +0100
+++ /var/tmp/diff_new_pack.z3Ii3R/_new  2011-12-06 18:40:38.0 +0100
@@ -24,7 +24,7 @@
 Name:   libdb-4_8
 Version:%{major}.%{minor}.30
 Release:1
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Berkeley DB Database Library Version 4.8
 Url:http://www.sleepycat.com
 Group:  System/Libraries
@@ -47,7 +47,7 @@
 This package contains the necessary runtime libraries.
 
 %package -n db-utils
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
 
@@ -59,7 +59,7 @@
 databases.
 
 %package -n db-doc
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Documentation for Berkeley DB
 Group:  Development/Libraries/C and C++
 Provides:   db-utils-doc = %{version}
@@ -74,7 +74,7 @@
 This package contains the documentation.
 
 %packagedevel
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Development Files and Libraries for the Berkeley DB library 
Version 4.8
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.z3Ii3R/_old  2011-12-06 18:40:38.0 +0100
+++ /var/tmp/diff_new_pack.z3Ii3R/_new  2011-12-06 18:40:38.0 +0100
@@ -24,7 +24,7 @@
 Name:   libdb_java-4_8
 Version:%{major}.%{minor}.30
 Release:1
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Java Bindings for the Berkeley DB
 Url:http://www.sleepycat.com
 Group:  Productivity/Databases/Servers
@@ -44,7 +44,7 @@
 the Java support of db and dbxml.
 
 %packagedevel
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Java Bindings for the Berkeley DB
 Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}

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



commit libdb-4_8 for openSUSE:Factory

2011-08-15 Thread h_root

Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory
checked in at Mon Aug 15 09:40:14 CEST 2011.




--- libdb-4_8/libdb-4_8.changes 2011-05-23 17:03:29.0 +0200
+++ /mounts/work_src_done/STABLE/libdb-4_8/libdb-4_8.changes2011-08-13 
05:42:17.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug 13 03:41:05 UTC 2011 - crrodrig...@opensuse.org
+
+- Do not build static libraries 
+
+---
--- libdb-4_8/libdb_java-4_8.changes2010-09-22 15:16:03.0 +0200
+++ /mounts/work_src_done/STABLE/libdb-4_8/libdb_java-4_8.changes   
2011-08-13 05:51:03.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug 13 03:50:05 UTC 2011 - crrodrig...@opensuse.org
+
+- Disable static libraries 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.EBZoqX/_old  2011-08-15 09:02:39.0 +0200
+++ /var/tmp/diff_new_pack.EBZoqX/_new  2011-08-15 09:02:39.0 +0200
@@ -24,7 +24,7 @@
 %define docdir %{_defaultdocdir}/%{name}
 %define source_dir %{_datadir}/%{name}-source
 Version:4.8.30
-Release:5
+Release:7
 %define major 4
 %define minor 8
 Summary:Berkeley DB Database Library Version 4.8
@@ -54,8 +54,6 @@
 License:BSD3c(or similar)
 Summary:Command Line tools for Managing Berkeley DB Databases
 Group:  Productivity/Databases/Tools
-Prefix: %{_prefix}
-Requires:   db = %{version}
 
 %description -n db-utils
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -70,7 +68,6 @@
 License:BSD3c(or similar)
 Summary:Documentation for Berkeley DB
 Group:  Development/Libraries/C and C++
-Prefix: %{_prefix}
 Provides:   db-utils-doc = %{version}
 %if 0%{?suse_version} = 1120
 BuildArch:  noarch
@@ -88,8 +85,7 @@
 License:BSD3c(or similar)
 Summary:Development Files and Libraries for the Berkeley DB library 
Version 4.8
 Group:  Development/Libraries/C and C++
-Prefix: %{_prefix}
-Requires:   db = %{version} glibc-devel
+Requires:   %{name} = %{version} glibc-devel
 Provides:   db-devel = %{version}
 
 %descriptiondevel
@@ -119,7 +115,7 @@
 cd ../build_nptl
 ../dist/configure --prefix=%{_prefix} \
 --libdir=%{_libdir} --enable-compat185 --disable-dump185 \
---enable-shared --enable-static --disable-cxx \
+--enable-shared --disable-static --disable-cxx \
--with-mutex=POSIX/pthreads/library \
 %{_target_cpu}-suse-linux
 # Make sure O_DIRECT is really disabled (build host could have old kernel)
@@ -238,8 +234,6 @@
 %{_includedir}/db4/db.h
 %{_includedir}/db4/db_185.h
 %{_libdir}/libdb.so
-%{_libdir}/libdb.a
-%{_libdir}/libdb-%{major}.%{minor}.a
 %{_libdir}/libdb-%{major}.so
 #% files source
 #% defattr(-,root,root)

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.EBZoqX/_old  2011-08-15 09:02:39.0 +0200
+++ /var/tmp/diff_new_pack.EBZoqX/_new  2011-08-15 09:02:39.0 +0200
@@ -24,7 +24,7 @@
 %define docdir %{_defaultdocdir}/%{name}
 %define source_dir %{_datadir}/%{name}-source
 Version:4.8.30
-Release:2
+Release:3
 %define major 4
 %define minor 8
 Summary:Java Bindings for the Berkeley DB
@@ -88,7 +88,7 @@
 cd ../build_nptl
 ../dist/configure --prefix=%{_prefix} \
 --libdir=%{_libdir} --enable-compat185 --disable-dump185 \
---enable-java --enable-shared --enable-static --disable-cxx \
+--enable-java --enable-shared --disable-static --disable-cxx \
 --with-mutex=POSIX/pthreads/library JAVACFLAGS=-source 1.5 -target 
1.5\
 %{_target_cpu}-suse-linux
 # Make sure O_DIRECT is really disabled (build host could have old kernel)
@@ -179,7 +179,6 @@
 %defattr(-,root,root)
 %{_libdir}/*_g.so
 %{_libdir}/*-%{major}.so
-%{_libdir}/*.a
 %{_libdir}/libdb_java.so
 
 %changelog






Remember to have fun...

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



commit libdb-4_8 for openSUSE:Factory

2011-05-24 Thread h_root

Hello community,

here is the log from the commit of package libdb-4_8 for openSUSE:Factory
checked in at Tue May 24 08:59:04 CEST 2011.




--- libdb-4_8/libdb-4_8.changes 2010-09-22 15:15:53.0 +0200
+++ /mounts/work_src_done/STABLE/libdb-4_8/libdb-4_8.changes2011-05-23 
17:03:29.0 +0200
@@ -1,0 +2,5 @@
+Mon May 23 15:02:16 UTC 2011 - rha...@suse.de
+
+- Fixed summary of the -devel subpackage (bnc#694826)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ libdb-4_8.spec ++
--- /var/tmp/diff_new_pack.S7dhks/_old  2011-05-24 08:58:20.0 +0200
+++ /var/tmp/diff_new_pack.S7dhks/_new  2011-05-24 08:58:20.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libdb-4_8 (Version 4.8.30)
+# spec file for package libdb-4_8
 #
-# 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
@@ -24,7 +24,7 @@
 %define docdir %{_defaultdocdir}/%{name}
 %define source_dir %{_datadir}/%{name}-source
 Version:4.8.30
-Release:1
+Release:5
 %define major 4
 %define minor 8
 Summary:Berkeley DB Database Library Version 4.8
@@ -86,7 +86,7 @@
 
 %packagedevel
 License:BSD3c(or similar)
-Summary:Development Files and Libraries for the old Berkeley DB 
library Version 4.5
+Summary:Development Files and Libraries for the Berkeley DB library 
Version 4.8
 Group:  Development/Libraries/C and C++
 Prefix: %{_prefix}
 Requires:   db = %{version} glibc-devel

++ libdb_java-4_8.spec ++
--- /var/tmp/diff_new_pack.S7dhks/_old  2011-05-24 08:58:20.0 +0200
+++ /var/tmp/diff_new_pack.S7dhks/_new  2011-05-24 08:58:20.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libdb_java-4_8 (Version 4.8.30)
+# spec file for package libdb_java-4_8
 #
-# 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
@@ -24,7 +24,7 @@
 %define docdir %{_defaultdocdir}/%{name}
 %define source_dir %{_datadir}/%{name}-source
 Version:4.8.30
-Release:1
+Release:2
 %define major 4
 %define minor 8
 Summary:Java Bindings for the Berkeley DB






Remember to have fun...

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