!39 [sync] PR-38: update ndctl.spec
From: @openeuler-sync-bot Reviewed-by: @swf504 Signed-off-by: @swf504
This commit is contained in:
commit
5a317bc12c
15
0002-exclude-cxl_monitor_service.patch
Normal file
15
0002-exclude-cxl_monitor_service.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/cxl/meson.build b/cxl/meson.build
|
||||||
|
index 61b4d87..9792158 100644
|
||||||
|
--- a/cxl/meson.build
|
||||||
|
+++ b/cxl/meson.build
|
||||||
|
@@ -12,8 +12,10 @@ cxl_src = [
|
||||||
|
]
|
||||||
|
|
||||||
|
if get_option('systemd').enabled()
|
||||||
|
+if get_option('libtracefs').enabled()
|
||||||
|
install_data('cxl-monitor.service', install_dir : systemdunitdir)
|
||||||
|
endif
|
||||||
|
+endif
|
||||||
|
|
||||||
|
deps = [
|
||||||
|
cxl_dep,
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: ndctl
|
Name: ndctl
|
||||||
Version: 78
|
Version: 78
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory)
|
Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory)
|
||||||
License: GPL-2 AND LGPL-2.1 AND MIT AND CC0-1.0
|
License: GPL-2 AND LGPL-2.1 AND MIT AND CC0-1.0
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -8,6 +8,7 @@ Url: https://github.com/pmem/ndctl
|
|||||||
Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch1: 0001-zero_info_block-skip-seed-devices.patch
|
Patch1: 0001-zero_info_block-skip-seed-devices.patch
|
||||||
|
Patch2: 0002-exclude-cxl_monitor_service.patch
|
||||||
|
|
||||||
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
||||||
@ -205,7 +206,7 @@ fi
|
|||||||
%{_bindir}/cxl
|
%{_bindir}/cxl
|
||||||
%{_mandir}/man1/cxl*
|
%{_mandir}/man1/cxl*
|
||||||
%{bashcompdir}/cxl
|
%{bashcompdir}/cxl
|
||||||
%{_unitdir}/cxl-monitor.service
|
%exclude %{_unitdir}/cxl-monitor.service
|
||||||
|
|
||||||
%files -n ndctl-libs
|
%files -n ndctl-libs
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -243,6 +244,9 @@ fi
|
|||||||
%{_mandir}/man3/libcxl.3*
|
%{_mandir}/man3/libcxl.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 8 2024 wuyifeng <wuyifeng10@huawei.com> - 78-2
|
||||||
|
- fix ndctl delete monitor.service
|
||||||
|
|
||||||
* Wed Jan 17 2024 wuyifeng <wuyifeng10@huawei.com> - 78-1
|
* Wed Jan 17 2024 wuyifeng <wuyifeng10@huawei.com> - 78-1
|
||||||
- upgrade to version 78:
|
- upgrade to version 78:
|
||||||
-incorporate up to 6.5 kernel
|
-incorporate up to 6.5 kernel
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user