Accepting request 1161490 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1161490 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=163
This commit is contained in:
commit
a573e6c0c4
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 12:54:54 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- remove dependency on /usr/bin/python3 using
|
||||||
|
%python3_fix_shebang_path macro, [bsc#1212476]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 18 02:06:09 UTC 2023 - Glass Su <glass.su@suse.com>
|
Mon Sep 18 02:06:09 UTC 2023 - Glass Su <glass.su@suse.com>
|
||||||
|
|
||||||
|
10
lvm2.spec
10
lvm2.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package lvm2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@ -116,13 +116,14 @@ Patch4001: bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.
|
|||||||
BuildRequires: kmod-compat
|
BuildRequires: kmod-compat
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: thin-provisioning-tools >= %{thin_provisioning_version}
|
BuildRequires: thin-provisioning-tools >= %{thin_provisioning_version}
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
Requires: device-mapper >= %{device_mapper_version}
|
Requires: device-mapper >= %{device_mapper_version}
|
||||||
Requires: modutils
|
Requires: modutils
|
||||||
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}
|
||||||
@ -328,6 +329,9 @@ sed -ie "s/%{upstream_device_mapper_version}/1.03.01/g" VERSION_DM
|
|||||||
install -m 644 %{SOURCE1} "%{buildroot}/%{_sysconfdir}/lvm/"
|
install -m 644 %{SOURCE1} "%{buildroot}/%{_sysconfdir}/lvm/"
|
||||||
# Install testsuite
|
# Install testsuite
|
||||||
make -C test install DESTDIR=%{buildroot}
|
make -C test install DESTDIR=%{buildroot}
|
||||||
|
%if %{suse_version} >= 1600
|
||||||
|
%python3_fix_shebang_path %{buildroot}%{_datadir}/lvm2-testsuite/dbus/*
|
||||||
|
%endif
|
||||||
|
|
||||||
pushd "%{buildroot}/%{_libdir}"
|
pushd "%{buildroot}/%{_libdir}"
|
||||||
ln -sf liblvm2cmd.so.2.03 liblvm2cmd.so
|
ln -sf liblvm2cmd.so.2.03 liblvm2cmd.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user