Accepting request 561048 from network:ha-clustering:Factory

OBS-URL: https://build.opensuse.org/request/show/561048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd?expand=0&rev=64
This commit is contained in:
Dominique Leuenberger 2018-01-02 15:35:04 +00:00 committed by Git OBS Bridge
commit 6ede445195
8 changed files with 29 additions and 45 deletions

View File

@ -7,10 +7,10 @@
To update to a new release, change "revision" to the desired
git commit hash and bump "version" if necessary
<param name="version">9.0.9</param>
<param name="version">9.0.10</param>
-->
<param name="versionformat">9.0.9+git.%h</param>
<param name="revision">a4cc249ec2d55ec2953aeb482d819e47adbbee33</param>
<param name="versionformat">9.0.10+git.%h</param>
<param name="revision">b7994aa164158d944115dac2800e5c27ab2cd2c9</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ba3cd0cfaab9a3b3acc48f78f94a77250bac9e6cfe10ee6b30d58643286b9de
size 312291

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa86fea9488339eb75159d4604a3fc1aad897a2dd5a2eabb5d2c4247f3dd8139
size 309712

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Dec 6 07:24:09 UTC 2017 - nwang@suse.com
- bsc#1074169, Update to 9.0.10-1
* Fix resync of two secondary nodes in the presence of
a 3rd node that is primary (maybe with disk or diskless);
Fixed the race condition that caused the resync to sometimes not terminate
* Improve connection behavior with autopromote enable one node Primary and
udev present.
* Fix in memory alignment of DRBD's struct bio.
* Improve the quorum implementation, so that is works nicely with for the
purpose of replacing fencing with quorum in a Pacemaker setup.
* Ensure compatibility with upstream Linux kernel 4.14
- Remove patch reproducible.patch
-------------------------------------------------------------------
Fri Nov 17 03:03:20 UTC 2017 - nwang@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package drbd
#
# 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
@ -24,7 +24,7 @@
%endif
Name: drbd
Version: 9.0.9+git.a4cc249e
Version: 9.0.10+git.b7994aa1
Release: 0
Summary: DRBD driver for Linux
License: GPL-2.0+
@ -36,14 +36,12 @@ Source1: preamble
Source2: Module.supported
Source3: drbd_git_revision
Patch1: fix-resync-finished-with-syncs-have-bits-set.patch
# PATCH-FIX-UPSTREAM bmwiedemann
Patch2: reproducible.patch
BuildRequires: kernel-source
BuildRequires: kernel-syms
BuildRequires: module-init-tools
BuildRequires: libelf-devel
Requires: drbd-utils >= 9.0.0
Supplements: drbd-utils >= 9.0.0
BuildRequires: module-init-tools
Requires: drbd-utils >= 9.2.0
Supplements: drbd-utils >= 9.2.0
Obsoletes: drbd-kmp < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: i586 s390
@ -71,7 +69,6 @@ installed kernel.
%prep
%setup -q -n drbd-%{version}
%patch1 -p1
%patch2 -p1
mkdir source
cp -a drbd/. source/. || :

View File

@ -1 +1 @@
GIT-hash: a4cc249ec2d55ec2953aeb482d819e47adbbee33
GIT-hash: b7994aa164158d944115dac2800e5c27ab2cd2c9

View File

@ -1,5 +1,5 @@
Requires: kernel-%1
Requires: drbd-utils >= 8.9.11
Supplements: drbd-utils >= 8.9.11
Requires: drbd-utils >= 9.2.0
Supplements: drbd-utils >= 9.2.0
Supplements: packageand(kernel-%1:%name)
Recommends: drbd

View File

@ -1,28 +0,0 @@
commit 794951592b004e82c0160014751d9ebb654035c0
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Tue Jul 18 10:30:16 2017 +0200
drbd: Allow to override build date (v3)
and to not record build user and hostname if requested
in order to allow for reproducible builds.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
diff --git a/drbd/Kbuild b/drbd/Kbuild
index 2d1b4d0..80b8099 100644
--- a/drbd/Kbuild
+++ b/drbd/Kbuild
@@ -134,5 +134,10 @@ $(obj)/drbd_buildtag.c: $(filter-out drbd_buildtag.o,$(drbd-y))
echo >&2 "Your DRBD source tree is broken. Unpack again."; \
exit 1; \
fi ; \
- echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \
+ if [ -z "${WANT_DRBD_REPRODUCIBLE_BUILD}" ] || [ -z "${SOURCE_DATE_EPOCH}" ] ; then \
+ buildinfo="build by $$USER@$$HOSTNAME, `date "+%F %T"`" ; \
+ else \
+ buildinfo="reproducible build, `date -u -d@${SOURCE_DATE_EPOCH} "+%F %T"`" ; \
+ fi ; \
+ echo -e "\t\t\" $$buildinfo\";\n}"; \
mv -f $@.new $@