Accepting request 1239681 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1239681 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=171
This commit is contained in:
commit
bbd1d27423
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 16:28:37 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Drop rcFOO symlinks for CODE16 (PED-266).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 16 05:58:47 UTC 2024 - Glass Su <glass.su@suse.com>
|
Mon Dec 16 05:58:47 UTC 2024 - Glass Su <glass.su@suse.com>
|
||||||
|
|
||||||
|
18
lvm2.spec
18
lvm2.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package lvm2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -108,7 +108,7 @@ Requires: modutils
|
|||||||
Requires: (udev >= 255.7 if udev)
|
Requires: (udev >= 255.7 if udev)
|
||||||
Requires: (multipath-tools >= 0.9.9 if multipath-tools)
|
Requires: (multipath-tools >= 0.9.9 if multipath-tools)
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(postun):coreutils
|
Requires(postun): coreutils
|
||||||
Provides: lvm = %{version}
|
Provides: lvm = %{version}
|
||||||
Obsoletes: lvm2-cmirrord <= %{lvm2_cmirrord_version}
|
Obsoletes: lvm2-cmirrord <= %{lvm2_cmirrord_version}
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -240,7 +240,9 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
install_device-mapper \
|
install_device-mapper \
|
||||||
install_systemd_units
|
install_systemd_units
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
ln -s service %{buildroot}/%{_sbindir}/rcdm-event
|
ln -s service %{buildroot}/%{_sbindir}/rcdm-event
|
||||||
|
%endif
|
||||||
|
|
||||||
# provide 1.02 compat links for the shared libraries
|
# provide 1.02 compat links for the shared libraries
|
||||||
# this is needed for various binary packages
|
# this is needed for various binary packages
|
||||||
@ -279,9 +281,11 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
install -m0644 -D man/lvmlockd.8 %{buildroot}%{_mandir}/man8/lvmlockd.8
|
install -m0644 -D man/lvmlockd.8 %{buildroot}%{_mandir}/man8/lvmlockd.8
|
||||||
install -m0644 -D man/lvmlockctl.8 %{buildroot}%{_mandir}/man8/lvmlockctl.8
|
install -m0644 -D man/lvmlockctl.8 %{buildroot}%{_mandir}/man8/lvmlockctl.8
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
# rc services symlinks
|
# rc services symlinks
|
||||||
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmlockd
|
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmlockd
|
||||||
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmlocking
|
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmlocking
|
||||||
|
%endif
|
||||||
|
|
||||||
# remove files from lvm2 split due to systemd_generators picking them up
|
# remove files from lvm2 split due to systemd_generators picking them up
|
||||||
rm %{buildroot}%{_unitdir}/blk-availability.service
|
rm %{buildroot}%{_unitdir}/blk-availability.service
|
||||||
@ -312,10 +316,12 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
#rc compat symlinks
|
#rc compat symlinks
|
||||||
ln -s service %{buildroot}%{_sbindir}/rcblk-availability
|
ln -s service %{buildroot}%{_sbindir}/rcblk-availability
|
||||||
ln -s service %{buildroot}%{_sbindir}/rclvm2-monitor
|
ln -s service %{buildroot}%{_sbindir}/rclvm2-monitor
|
||||||
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmpolld
|
ln -s service %{buildroot}%{_sbindir}/rclvm2-lvmpolld
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove devicemapper binaries, plain rm so we fail if something change
|
# Remove devicemapper binaries, plain rm so we fail if something change
|
||||||
rm %{buildroot}%{_sbindir}/dmsetup
|
rm %{buildroot}%{_sbindir}/dmsetup
|
||||||
@ -404,7 +410,9 @@ Programs and man pages for configuring and using the device mapper.
|
|||||||
%{_udevrulesdir}/13-dm-disk.rules
|
%{_udevrulesdir}/13-dm-disk.rules
|
||||||
%{_udevrulesdir}/95-dm-notify.rules
|
%{_udevrulesdir}/95-dm-notify.rules
|
||||||
%{_unitdir}/dm-event.socket
|
%{_unitdir}/dm-event.socket
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
%{_sbindir}/rcdm-event
|
%{_sbindir}/rcdm-event
|
||||||
|
%endif
|
||||||
%{_unitdir}/dm-event.service
|
%{_unitdir}/dm-event.service
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
@ -512,8 +520,10 @@ LVM commands use lvmlockd to coordinate access to shared storage.
|
|||||||
%{_mandir}/man8/lvmlockctl.8%{?ext_man}
|
%{_mandir}/man8/lvmlockctl.8%{?ext_man}
|
||||||
%{_unitdir}/lvmlockd.service
|
%{_unitdir}/lvmlockd.service
|
||||||
%{_unitdir}/lvmlocks.service
|
%{_unitdir}/lvmlocks.service
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
%{_sbindir}/rclvm2-lvmlockd
|
%{_sbindir}/rclvm2-lvmlockd
|
||||||
%{_sbindir}/rclvm2-lvmlocking
|
%{_sbindir}/rclvm2-lvmlocking
|
||||||
|
%endif
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
@ -597,9 +607,11 @@ LVM commands use lvmlockd to coordinate access to shared storage.
|
|||||||
%{_sbindir}/vgs
|
%{_sbindir}/vgs
|
||||||
%{_sbindir}/vgscan
|
%{_sbindir}/vgscan
|
||||||
%{_sbindir}/vgsplit
|
%{_sbindir}/vgsplit
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
%{_sbindir}/rcblk-availability
|
%{_sbindir}/rcblk-availability
|
||||||
%{_sbindir}/rclvm2-lvmpolld
|
%{_sbindir}/rclvm2-lvmpolld
|
||||||
%{_sbindir}/rclvm2-monitor
|
%{_sbindir}/rclvm2-monitor
|
||||||
|
%endif
|
||||||
# compat symlinks in /sbin
|
# compat symlinks in /sbin
|
||||||
%if 0%{?suse_version} < 1550
|
%if 0%{?suse_version} < 1550
|
||||||
/sbin/lvm
|
/sbin/lvm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user