File supportutils-plugin-pmem.spec of Package supportutils-plugin-pmem.31882
#
# spec file for package supportutils-plugin-pmem
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: supportutils-plugin-pmem
Version: 0.0.1
Release: 0
Summary: Supportconfig Plugin for pmem
License: MPL-2.0
Group: System/Monitoring
Source: supportutils-plugin-pmem-%{version}.tar.bz2
Requires: ipmctl
Requires: ndctl
Requires: python3
BuildArch: noarch
ExclusiveArch: x86_64
%description
Extends supportconfig functionality to include system information for
ndctl (NVDIMM) & ipmctl (Intel pmem). The plugin also saves related logs.
%prep
%setup -q -n supportutils-plugin-pmem
%build
%install
install -d %{buildroot}%{_prefix}/lib/supportconfig/plugins
install -d %{buildroot}/sbin
install -m 0544 pmem.py %{buildroot}%{_prefix}/lib/supportconfig/plugins/pmem
%files
%{_prefix}/lib/supportconfig
%{_prefix}/lib/supportconfig/plugins
%{_prefix}/lib/supportconfig/plugins/pmem
%changelog