Accepting request 286112 from home:MargueriteSu

This procedure was ignored, added it back.
or you can't install Virtualbox official RPM on Tumbleweed.

- provides libdevmapper.so.1.02 libdevmapper-event.so.1.02
  for VirtualBox.

OBS-URL: https://build.opensuse.org/request/show/286112
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=127
This commit is contained in:
LiuhuaMelody Wang 2015-04-09 07:36:09 +00:00 committed by Git OBS Bridge
parent d4cffa4cc1
commit 4d51f9dd2a
2 changed files with 16 additions and 1 deletions

View File

@ -5,6 +5,12 @@ Mon Mar 23 07:50:05 UTC 2015 - lwang@suse.com
to clmv package to avoid dracut build needing cluster stack to be built.
(bsc#923127)
-------------------------------------------------------------------
Sat Feb 14 14:06:36 UTC 2015 - i@marguerite.su
- provides libdevmapper.so.1.02 libdevmapper-event.so.1.02
for VirtualBox.
-------------------------------------------------------------------
Thu Feb 5 03:13:52 UTC 2015 - lwang@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package lvm2
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -223,6 +223,13 @@ mkdir -p "%buildroot/%_sbindir"
install -m755 -D %{S:8} "%buildroot/%_prefix/lib/ocf/resource.d/lvm2/clvmd"
install -m755 -D %{S:10} "%buildroot/%_prefix/lib/ocf/resource.d/lvm2/cmirrord"
# Make sure libdevmapper.so.1.02 libdevmapper-event.so.1.02 still available
# on Tumbleweed, as virtualbox.org didn't update their RPMs yet.
rm -f libdm/ioctl/libdevmapper.so daemons/dmeventd/libdevmapper-event.so
sed -i "s/1.03.01/%{device_mapper_version}/" VERSION_DM
make device-mapper
make install_device-mapper DESTDIR=%{buildroot}
pushd "%buildroot/%_lib"
ln -sf liblvm2cmd.so.2.02 liblvm2cmd.so
ln -sf liblvm2app.so.2.2 liblvm2app.so
@ -461,6 +468,8 @@ mapper.
%doc udev/12-dm-permissions.rules
/%_lib/libdevmapper.so.1.03
/%_lib/libdevmapper-event.so.1.03
/%_lib/libdevmapper.so.1.02
/%_lib/libdevmapper-event.so.1.02
/sbin/dmsetup
/sbin/dmeventd
%_sbindir/thin_*