Accepting request 99475 from home:a_jaeger:branches:build-compare-test
Do not use build date as version string OBS-URL: https://build.opensuse.org/request/show/99475 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=21
This commit is contained in:
parent
a1b5604788
commit
c7c60e0fdb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 12:08:10 UTC 2012 - aj@suse.de
|
||||||
|
|
||||||
|
- Do not use build date as version string.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 22 01:11:27 UTC 2011 - jengelh@medozas.de
|
Thu Dec 22 01:11:27 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdb-4_8
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,8 +27,9 @@ Release: 0
|
|||||||
Summary: Berkeley DB Database Library Version 4.8
|
Summary: Berkeley DB Database Library Version 4.8
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: http://www.sleepycat.com
|
Url: http://www.sleepycat.com
|
||||||
Source: db-%{version}.tar.bz2
|
Source: db-%{version}.tar.bz2
|
||||||
|
Source1: %{name}.changes
|
||||||
Source9: getpatches
|
Source9: getpatches
|
||||||
Patch0: db-%{version}.patch
|
Patch0: db-%{version}.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -93,6 +94,11 @@ tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd dist
|
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
|
./s_config
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing"
|
CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 12:08:54 UTC 2012 - aj@suse.de
|
||||||
|
|
||||||
|
- Do not use build date as version string.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 22 01:11:58 UTC 2011 - jengelh@medozas.de
|
Thu Dec 22 01:11:58 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdb_java-4_8
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,8 +27,9 @@ Release: 0
|
|||||||
Summary: Java Bindings for the Berkeley DB
|
Summary: Java Bindings for the Berkeley DB
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Databases/Servers
|
Group: Productivity/Databases/Servers
|
||||||
URL: http://www.sleepycat.com
|
Url: http://www.sleepycat.com
|
||||||
Source: db-%{version}.tar.bz2
|
Source: db-%{version}.tar.bz2
|
||||||
|
Source1: %{name}.changes
|
||||||
Source9: getpatches
|
Source9: getpatches
|
||||||
Patch0: db-%{version}.patch
|
Patch0: db-%{version}.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -64,6 +65,11 @@ tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd dist
|
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
|
./s_config
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing"
|
CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user