From fdfe09fbf7962f58aff18af9769f0d2f86aca50f Mon Sep 17 00:00:00 2001 From: Vishal Verma Date: Dec 19 2021 04:23:54 +0000 Subject: release v72 --- diff --git a/.gitignore b/.gitignore index 94b946a..54f8faf 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /ndctl-70.1.tar.gz /ndctl-71.tar.gz /ndctl-71.1.tar.gz +/ndctl-72.tar.gz diff --git a/ndctl.spec b/ndctl.spec index c5cb069..9e3ca06 100644 --- a/ndctl.spec +++ b/ndctl.spec @@ -1,6 +1,6 @@ Name: ndctl -Version: 71.1 -Release: 4%{?dist} +Version: 72 +Release: 1%{?dist} Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) License: GPLv2 Url: https://github.com/pmem/ndctl @@ -8,7 +8,7 @@ Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{v Requires: ndctl-libs%{?_isa} = %{version}-%{release} Requires: daxctl-libs%{?_isa} = %{version}-%{release} -BuildRequires: make +Requires: cxl-libs%{?_isa} = %{version}-%{release} BuildRequires: autoconf %if 0%{?rhel} < 9 BuildRequires: asciidoc @@ -27,6 +27,8 @@ BuildRequires: pkgconfig(json-c) BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(systemd) BuildRequires: keyutils-libs-devel +BuildRequires: systemd-rpm-macros +BuildRequires: iniparser-devel %description Utility library for managing the "libnvdimm" subsystem. The "libnvdimm" @@ -55,6 +57,24 @@ the Linux kernel Device-DAX facility. This facility enables DAX mappings of performance / feature differentiated memory without need of a filesystem. +%package -n cxl-cli +Summary: Manage CXL devices +License: GPLv2 +Requires: cxl-libs%{?_isa} = %{version}-%{release} + +%description -n cxl-cli +The cxl utility provides enumeration and provisioning commands for +the Linux kernel CXL devices. + +%package -n cxl-devel +Summary: Development files for libcxl +License: LGPLv2 +Requires: cxl-libs%{?_isa} = %{version}-%{release} + +%description -n cxl-devel +This package contains libraries and header files for developing applications +that use libcxl, a library for enumerating and communicating with CXL devices. + %package -n daxctl-devel Summary: Development files for libdaxctl License: LGPLv2 @@ -85,6 +105,13 @@ Device DAX is a facility for establishing DAX mappings of performance / feature-differentiated memory. daxctl-libs provides an enumeration / control API for these devices. +%package -n cxl-libs +Summary: Management library for CXL devices +License: LGPLv2 + +%description -n cxl-libs +libcxl is a library for enumerating and communicating with CXL devices. + %prep %setup -q ndctl-%{version} @@ -106,24 +133,37 @@ make check %ldconfig_scriptlets -n daxctl-libs +%ldconfig_scriptlets -n cxl-libs + %define bashcompdir %(pkg-config --variable=completionsdir bash-completion) %files %license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0 %{_bindir}/ndctl %{_mandir}/man1/ndctl* -%{bashcompdir}/ +%{bashcompdir}/ndctl %{_unitdir}/ndctl-monitor.service %{_sysconfdir}/ndctl/keys/keys.readme %{_sysconfdir}/modprobe.d/nvdimm-security.conf -%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf +%config(noreplace) %{_sysconfdir}/ndctl.conf.d/monitor.conf +%config(noreplace) %{_sysconfdir}/ndctl.conf.d/ndctl.conf %files -n daxctl %license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0 %{_bindir}/daxctl %{_mandir}/man1/daxctl* %{_datadir}/daxctl/daxctl.conf +%{bashcompdir}/daxctl +%{_unitdir}/daxdev-reconfigure@.service +%config %{_udevrulesdir}/90-daxctl-device.rules +%config(noreplace) %{_sysconfdir}/daxctl.conf.d/daxctl.example.conf + +%files -n cxl-cli +%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0 +%{_bindir}/cxl +%{_mandir}/man1/cxl* +%{bashcompdir}/cxl %files -n ndctl-libs %doc README.md @@ -135,6 +175,11 @@ make check %license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0 %{_libdir}/libdaxctl.so.* +%files -n cxl-libs +%doc README.md +%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0 +%{_libdir}/libcxl.so.* + %files -n ndctl-devel %license LICENSES/preferred/LGPL-2.1 %{_includedir}/ndctl/ @@ -147,8 +192,19 @@ make check %{_libdir}/libdaxctl.so %{_libdir}/pkgconfig/libdaxctl.pc +%files -n cxl-devel +%license LICENSES/preferred/LGPL-2.1 +%{_includedir}/cxl/ +%{_libdir}/libcxl.so +%{_libdir}/pkgconfig/libcxl.pc +%{_mandir}/man3/cxl* +%{_mandir}/man3/libcxl.3.gz + %changelog +* Sun Dec 19 2021 Vishal Verma - 72-1 +- release v72 + * Thu Jul 22 2021 Fedora Release Engineering - 71.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 88ab7f9..52cae98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ndctl-71.1.tar.gz) = 92fb06ca64455775ce0b89ba0846f70235e02fe3502e2a8a55a858f76f87cb90ae98f5bf01620e5884f667ea78ee2bee2cd9e7a85ffa8f8d9c456e9282ca9ebc +SHA512 (ndctl-72.tar.gz) = 0e27aebe9d700589703fdfaa8768e47c01af02dd8a252eeef32d2ec394cb4108dfa1a7142340335cb3e7f1e935915247821f9033e46c3f2f2e008d6beb51dd95