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.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb-4_8.changes 2012-01-09 
21:43:10.000000000 +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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes    
2012-01-09 21:43:10.000000000 +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.000000000 +0100
+++ /var/tmp/diff_new_pack.r7Umyx/_new  2012-01-09 21:43:15.000000000 +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.000000000 +0100
+++ /var/tmp/diff_new_pack.r7Umyx/_new  2012-01-09 21:43:15.000000000 +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

Reply via email to