Accepting request 511346 from home:bmwiedemann:branches:network:ha-clustering:Factory

Add reproducible.patch to sort file lists (boo#1041090)
  and to override build date (boo#1047218) to fix build-compare

OBS-URL: https://build.opensuse.org/request/show/511346
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd?expand=0&rev=51
This commit is contained in:
Lars Marowsky-Bree 2017-07-19 07:00:23 +00:00 committed by Git OBS Bridge
parent 5d7f6b839f
commit c3b1cc4105
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 19 05:01:10 UTC 2017 - bwiedemann@suse.com
- Add reproducible.patch to sort file lists (boo#1041090)
and to override build date (boo#1047218) to fix build-compare
-------------------------------------------------------------------
Wed Jun 14 03:21:59 UTC 2017 - nwang@suse.com

View File

@ -14,10 +14,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# needssslcertforbuild
%if ! 0%{?is_opensuse}
%ifarch x86_64
%define buildrt 1
@ -37,6 +36,8 @@ 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
@ -69,6 +70,7 @@ installed kernel.
%prep
%setup -q -n drbd-%{version}
%patch1 -p1
%patch2 -p1
mkdir source
cp -a drbd/. source/. || :
@ -79,6 +81,7 @@ rm -rf obj
mkdir obj
ln -s ../scripts obj/
export WANT_DRBD_REPRODUCIBLE_BUILD=1
export CONFIG_BLK_DEV_DRBD=m
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'