Accepting request 1056301 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1056301 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=159
This commit is contained in:
commit
c19087829c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 13:08:23 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||||
|
|
||||||
|
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 3 07:05:00 UTC 2022 - Amit Chaudhary <amit.chaudhary@suse.com>
|
Thu Nov 3 07:05:00 UTC 2022 - Amit Chaudhary <amit.chaudhary@suse.com>
|
||||||
|
|
||||||
|
10
lvm2.spec
10
lvm2.spec
@ -272,7 +272,7 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
rm %{buildroot}%{_unitdir}/lvmlocks.service
|
rm %{buildroot}%{_unitdir}/lvmlocks.service
|
||||||
|
|
||||||
# compat symlinks in /sbin remove with Leap 43
|
# compat symlinks in /sbin remove with Leap 43
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
mkdir -p %{buildroot}/sbin
|
mkdir -p %{buildroot}/sbin
|
||||||
ln -s %{_sbindir}/dmsetup %{buildroot}/sbin/dmsetup
|
ln -s %{_sbindir}/dmsetup %{buildroot}/sbin/dmsetup
|
||||||
%endif
|
%endif
|
||||||
@ -349,7 +349,7 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
rm %{buildroot}%{_mandir}/man8/dmeventd.8
|
rm %{buildroot}%{_mandir}/man8/dmeventd.8
|
||||||
rm %{buildroot}%{_mandir}/man8/dmfilemapd.8
|
rm %{buildroot}%{_mandir}/man8/dmfilemapd.8
|
||||||
|
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
# compat symlinks in /sbin remove with Leap 43
|
# compat symlinks in /sbin remove with Leap 43
|
||||||
mkdir -p %{buildroot}/sbin
|
mkdir -p %{buildroot}/sbin
|
||||||
pushd %{buildroot}/%{_sbindir}
|
pushd %{buildroot}/%{_sbindir}
|
||||||
@ -395,7 +395,7 @@ Programs and man pages for configuring and using the device mapper.
|
|||||||
%license COPYING COPYING.LIB
|
%license COPYING COPYING.LIB
|
||||||
%doc README
|
%doc README
|
||||||
%doc udev/12-dm-permissions.rules
|
%doc udev/12-dm-permissions.rules
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
/sbin/dmsetup
|
/sbin/dmsetup
|
||||||
%endif
|
%endif
|
||||||
%{_sbindir}/dmsetup
|
%{_sbindir}/dmsetup
|
||||||
@ -428,7 +428,7 @@ Device mapper main shared library
|
|||||||
%{_libdir}/libdevmapper.so.1.02
|
%{_libdir}/libdevmapper.so.1.02
|
||||||
|
|
||||||
%post -n %{libname}
|
%post -n %{libname}
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
# in usrmerged scenario we better don't remove ourselves :-)
|
# in usrmerged scenario we better don't remove ourselves :-)
|
||||||
if [ -f /%{_lib}/libdevmapper.so.1.03 ]; then
|
if [ -f /%{_lib}/libdevmapper.so.1.03 ]; then
|
||||||
# Special migration - the library is now in %{_libdir}, but up to the point where
|
# Special migration - the library is now in %{_libdir}, but up to the point where
|
||||||
@ -606,7 +606,7 @@ LVM commands use lvmlockd to coordinate access to shared storage.
|
|||||||
%{_sbindir}/rclvm2-lvmpolld
|
%{_sbindir}/rclvm2-lvmpolld
|
||||||
%{_sbindir}/rclvm2-monitor
|
%{_sbindir}/rclvm2-monitor
|
||||||
# compat symlinks in /sbin
|
# compat symlinks in /sbin
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
/sbin/lvm
|
/sbin/lvm
|
||||||
/sbin/lvmconfig
|
/sbin/lvmconfig
|
||||||
/sbin/lvmdevices
|
/sbin/lvmdevices
|
||||||
|
Loading…
Reference in New Issue
Block a user