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:
parent
5d7f6b839f
commit
c3b1cc4105
@ -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
|
Wed Jun 14 03:21:59 UTC 2017 - nwang@suse.com
|
||||||
|
|
||||||
|
@ -14,10 +14,9 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# needssslcertforbuild
|
# needssslcertforbuild
|
||||||
|
|
||||||
|
|
||||||
%if ! 0%{?is_opensuse}
|
%if ! 0%{?is_opensuse}
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define buildrt 1
|
%define buildrt 1
|
||||||
@ -37,6 +36,8 @@ Source1: preamble
|
|||||||
Source2: Module.supported
|
Source2: Module.supported
|
||||||
Source3: drbd_git_revision
|
Source3: drbd_git_revision
|
||||||
Patch1: fix-resync-finished-with-syncs-have-bits-set.patch
|
Patch1: fix-resync-finished-with-syncs-have-bits-set.patch
|
||||||
|
# PATCH-FIX-UPSTREAM bmwiedemann
|
||||||
|
Patch2: reproducible.patch
|
||||||
BuildRequires: kernel-source
|
BuildRequires: kernel-source
|
||||||
BuildRequires: kernel-syms
|
BuildRequires: kernel-syms
|
||||||
BuildRequires: module-init-tools
|
BuildRequires: module-init-tools
|
||||||
@ -69,6 +70,7 @@ installed kernel.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n drbd-%{version}
|
%setup -q -n drbd-%{version}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
mkdir source
|
mkdir source
|
||||||
cp -a drbd/. source/. || :
|
cp -a drbd/. source/. || :
|
||||||
@ -79,6 +81,7 @@ rm -rf obj
|
|||||||
mkdir obj
|
mkdir obj
|
||||||
ln -s ../scripts obj/
|
ln -s ../scripts obj/
|
||||||
|
|
||||||
|
export WANT_DRBD_REPRODUCIBLE_BUILD=1
|
||||||
export CONFIG_BLK_DEV_DRBD=m
|
export CONFIG_BLK_DEV_DRBD=m
|
||||||
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
|
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user