From dfec6a1d37f50e547bbad89436519610366c3d87 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Fri, 28 Apr 2023 16:39:30 +0200 Subject: [PATCH] PMDK 1.13.0-1 --- .gitignore | 1 + nvml.spec | 98 ++++-------------------------------------------------- sources | 2 +- 3 files changed, 8 insertions(+), 93 deletions(-) diff --git a/.gitignore b/.gitignore index 628563d..36c2e68 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /pmdk-1.11.1.tar.gz /pmdk-1.12.0.tar.gz /pmdk-1.12.1.tar.gz +/pmdk-1.13.0.tar.gz diff --git a/nvml.spec b/nvml.spec index b1edbd4..35c9fa4 100644 --- a/nvml.spec +++ b/nvml.spec @@ -1,6 +1,5 @@ # rpmbuild options: -# --with | --without fabric # --with | --without ndctl # do not terminate build if files in the $RPM_BUILD_ROOT @@ -13,12 +12,6 @@ %define dist .suse%{suse_version} %endif -%if (0%{?suse_version} > 1315) || (0%{?fedora} >= 27) || (0%{?rhel} >= 7) -%bcond_without fabric -%else -%bcond_with fabric -%endif - # by default build with ndctl, unless explicitly disabled %bcond_without ndctl @@ -32,13 +25,12 @@ %bcond_without pandoc %endif -%define min_libfabric_ver 1.4.2 %define min_ndctl_ver 60.1 -%define upstreamversion 1.12.1 +%define upstreamversion 1.13.0 Name: nvml Version: %{upstreamversion} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Persistent Memory Development Kit (formerly NVML) License: BSD URL: http://pmem.io/pmdk @@ -63,10 +55,6 @@ BuildRequires: daxctl-devel >= %{min_ndctl_ver} BuildRequires: ndctl %endif -%if %{with fabric} -BuildRequires: libfabric-devel >= %{min_libfabric_ver} -%endif - %if %{with pandoc} BuildRequires: groff BuildRequires: pandoc @@ -462,80 +450,6 @@ debug version is to set the environment variable LD_LIBRARY_PATH to %doc ChangeLog CONTRIBUTING.md README.md -%if %{with fabric} - -%package -n librpmem -Summary: Remote Access to Persistent Memory library -Requires: libfabric >= %{min_libfabric_ver} -Requires: openssh-clients -%description -n librpmem -The librpmem library provides low-level support for remote access -to persistent memory utilizing RDMA-capable NICs. It can be used -to replicate persistent memory regions over RDMA protocol. - -%files -n librpmem -%{_libdir}/librpmem.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n librpmem-devel -Summary: Development files for the Remote Access to Persistent Memory library -Requires: librpmem = %{version}-%{release} -%description -n librpmem-devel -The librpmem library provides low-level support for remote access -to persistent memory utilizing RDMA-capable NICs. It can be used -to replicate persistent memory regions over RDMA protocol. - -This sub-package contains libraries and header files for developing -applications that want to specifically make use of librpmem. - -%files -n librpmem-devel -%{_libdir}/librpmem.so -%{_libdir}/pkgconfig/librpmem.pc -%{_includedir}/librpmem.h -%{_mandir}/man7/librpmem.7.gz -%{_mandir}/man3/rpmem_*.3.gz -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n librpmem-debug -Summary: Debug variant of the Remote Access to Persistent Memory library -Requires: librpmem = %{version}-%{release} -%description -n librpmem-debug -The librpmem library provides low-level support for remote access -to persistent memory utilizing RDMA-capable NICs. It can be used -to replicate persistent memory regions over RDMA protocol. - -This sub-package contains debug variant of the library, providing -run-time assertions and trace points. The typical way to access the -debug version is to set the environment variable LD_LIBRARY_PATH to -/usr/lib64/pmdk_debug. - -%files -n librpmem-debug -%dir %{_libdir}/pmdk_debug -%{_libdir}/pmdk_debug/librpmem.so -%{_libdir}/pmdk_debug/librpmem.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n rpmemd -Summary: Target node process executed by librpmem -Requires: libfabric >= %{min_libfabric_ver} -%description -n rpmemd -The rpmemd process is executed on a target node by librpmem library -and facilitates access to persistent memory over RDMA. - -%files -n rpmemd -%{_bindir}/rpmemd -%{_mandir}/man1/rpmemd.1.gz - -# _with_fabric -%endif - - %package -n pmempool Summary: Utilities for Persistent Memory Requires: libpmem >= %{version}-%{release} @@ -687,16 +601,16 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/ %ldconfig_scriptlets -n libpmemobj %ldconfig_scriptlets -n libpmempool -%if %{with fabric} -%ldconfig_scriptlets -n librpmem -%endif - %if 0%{?__debug_package} == 0 %debug_package %endif %changelog +* Fri Apr 28 2023 Adam Borowski - 1.13.0-1 +- PMDK 1.13.0 +- Drop librpmem. + * Thu Jan 19 2023 Fedora Release Engineering - 1.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index de2d179..f5aafae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pmdk-1.12.1.tar.gz) = 9b29b2038af42829b809a182ece292b6b8bfd003519c3b8f223ec3cba552da0a561477b0e7dbaf14ad7fee8120b136ded10e2d3e1bc6a4a10771051f9aeca683 +SHA512 (pmdk-1.13.0.tar.gz) = eb7bcbf34f7a1b7ee57b574e5f2575dfa744d3b097bd43ce79bbca74976d121e7b2d236c5df3ee955d69deaf095ced32ce36589c3272acd45f33c5e5a7e31c80