Accepting request 1032589 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1032589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=157
This commit is contained in:
Dominique Leuenberger 2022-11-02 11:46:34 +00:00 committed by Git OBS Bridge
commit 92b2380bb1
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 31 12:11:00 UTC 2022 - Heming Zhao <heming.zhao@suse.com>
- dracut-initqueue timeouts with 5.3.18-150300.59.63 kernel on ppc64le (bsc#1199074)
- in lvm2.spec, change device_mapper_version from 1.02.185 to %{lvm2_version}_1.02.185
-------------------------------------------------------------------
Wed Oct 12 02:55:00 UTC 2022 - Heming Zhao <heming.zhao@suse.com>

View File

@ -22,7 +22,10 @@
%define _udevdir %(pkg-config --variable=udevdir udev)
%define cmdlib liblvm2cmd2_03
%define lvm2_version 2.03.16
%define device_mapper_version 1.02.185
# For device_mapper_version, it's package version, see bsc#1199074.
# Also note there is another dm version on below "sed -ie ... VERSION_DM".
%define upstream_device_mapper_version 1.02.185
%define device_mapper_version %{lvm2_version}_1.02.185
%define thin_provisioning_version 0.7.0
%define _supportsanlock 1
%define dlm_version 4.0.9
@ -206,7 +209,8 @@ extra_opts="
### COMMON-CONFIG-BEGIN ###
export PATH=$PATH:/sbin:%{_sbindir}
# Why this messy fix here? someone released a wrong version...
sed -ie "s/%{device_mapper_version}/1.03.01/g" VERSION_DM
# There will change library version to 1.03.01, see output "dmsetup --version".
sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
%configure \
--enable-dmeventd \
--enable-dmfilemapd \