From 5d2824a43cc4a679e2505e4c4dec857f4fb1aa09 Mon Sep 17 00:00:00 2001 From: Emanuel Lima Date: Mon, 6 Nov 2023 16:11:55 -0300 Subject: [PATCH] PMDK 2.0.0 Signed-off-by: Emanuel Lima --- .gitignore | 1 + nvml.spec | 143 +++++------------------------------------------------ sources | 2 +- 3 files changed, 15 insertions(+), 131 deletions(-) diff --git a/.gitignore b/.gitignore index 8b276cc..038c2b7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /pmdk-1.12.1.tar.gz /pmdk-1.13.0.tar.gz /pmdk-1.13.1.tar.gz +/pmdk-2.0.0.tar.gz diff --git a/nvml.spec b/nvml.spec index aff1b5a..35f3cde 100644 --- a/nvml.spec +++ b/nvml.spec @@ -2,13 +2,15 @@ # rpmbuild options: # --with | --without ndctl +# disable 'make check' on all cases +%define _skip_check 1 + # do not terminate build if files in the $RPM_BUILD_ROOT # directory are not found in %%files (without fabric case) %define _unpackaged_files_terminate_build 0 -# disable 'make check' on suse +# suse check %if %{defined suse_version} - %define _skip_check 1 %define dist .suse%{suse_version} %endif @@ -26,11 +28,11 @@ %endif %define min_ndctl_ver 60.1 -%define upstreamversion 1.13.1 +%define upstreamversion 2.0.0 Name: nvml Version: %{upstreamversion} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Persistent Memory Development Kit (formerly NVML) License: BSD-3-Clause URL: http://pmem.io/pmdk @@ -211,125 +213,6 @@ debug version is to set the environment variable LD_LIBRARY_PATH to %license LICENSE %doc ChangeLog CONTRIBUTING.md README.md - -%package -n libpmemblk -Summary: Persistent Memory Resident Array of Blocks library -Requires: libpmem >= %{version}-%{release} -%description -n libpmemblk -The libpmemblk implements a pmem-resident array of blocks, all the same -size, where a block is updated atomically with respect to power -failure or program interruption (no torn blocks). - -%files -n libpmemblk -%{_libdir}/libpmemblk.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n libpmemblk-devel -Summary: Development files for the Persistent Memory Resident Array of Blocks library -Requires: libpmemblk = %{version}-%{release} -Requires: libpmem-devel = %{version}-%{release} -%description -n libpmemblk-devel -The libpmemblk implements a pmem-resident array of blocks, all the same -size, where a block is updated atomically with respect to power -failure or program interruption (no torn blocks). - -For example, a program keeping a cache of fixed-size objects in pmem -might find this library useful. This library is provided for cases -requiring large arrays of objects at least 512 bytes each. Most -developers will find higher level libraries like libpmemobj to be -more generally useful. - -%files -n libpmemblk-devel -%{_libdir}/libpmemblk.so -%{_libdir}/pkgconfig/libpmemblk.pc -%{_includedir}/libpmemblk.h -%{_mandir}/man7/libpmemblk.7.gz -%{_mandir}/man5/poolset.5.gz -%{_mandir}/man3/pmemblk_*.3.gz -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n libpmemblk-debug -Summary: Debug variant of the Persistent Memory Resident Array of Blocks library -Requires: libpmemblk = %{version}-%{release} -%description -n libpmemblk-debug -The libpmemblk implements a pmem-resident array of blocks, all the same -size, where a block is updated atomically with respect to power -failure or program interruption (no torn blocks). - -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 libpmemblk-debug -%dir %{_libdir}/pmdk_debug -%{_libdir}/pmdk_debug/libpmemblk.so -%{_libdir}/pmdk_debug/libpmemblk.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n libpmemlog -Summary: Persistent Memory Resident Log File library -Requires: libpmem >= %{version}-%{release} -%description -n libpmemlog -The libpmemlog library provides a pmem-resident log file. This is -useful for programs like databases that append frequently to a log -file. - -%files -n libpmemlog -%{_libdir}/libpmemlog.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n libpmemlog-devel -Summary: Development files for the Persistent Memory Resident Log File library -Requires: libpmemlog = %{version}-%{release} -Requires: libpmem-devel = %{version}-%{release} -%description -n libpmemlog-devel -The libpmemlog library provides a pmem-resident log file. This -library is provided for cases requiring an append-mostly file to -record variable length entries. Most developers will find higher -level libraries like libpmemobj to be more generally useful. - -%files -n libpmemlog-devel -%{_libdir}/libpmemlog.so -%{_libdir}/pkgconfig/libpmemlog.pc -%{_includedir}/libpmemlog.h -%{_mandir}/man7/libpmemlog.7.gz -%{_mandir}/man5/poolset.5.gz -%{_mandir}/man3/pmemlog_*.3.gz -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - -%package -n libpmemlog-debug -Summary: Debug variant of the Persistent Memory Resident Log File library -Requires: libpmemlog = %{version}-%{release} -%description -n libpmemlog-debug -The libpmemlog library provides a pmem-resident log file. This -library is provided for cases requiring an append-mostly file to -record variable length entries. Most developers will find higher -level libraries like libpmemobj to be more generally useful. - -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 libpmemlog-debug -%dir %{_libdir}/pmdk_debug -%{_libdir}/pmdk_debug/libpmemlog.so -%{_libdir}/pmdk_debug/libpmemlog.so.* -%license LICENSE -%doc ChangeLog CONTRIBUTING.md README.md - - %package -n libpmemobj Summary: Persistent Memory Transactional Object Store library Requires: libpmem >= %{version}-%{release} @@ -401,7 +284,7 @@ Requires: libpmem >= %{version}-%{release} %description -n libpmempool The libpmempool library provides a set of utilities for off-line administration, analysis, diagnostics and repair of persistent memory -pools created by libpmemlog, libpmemblk and libpmemobj libraries. +pools created by libpmemobj libraries. %files -n libpmempool %{_libdir}/libpmempool.so.* @@ -416,7 +299,7 @@ Requires: libpmem-devel = %{version}-%{release} %description -n libpmempool-devel The libpmempool library provides a set of utilities for off-line administration, analysis, diagnostics and repair of persistent memory -pools created by libpmemlog, libpmemblk and libpmemobj libraries. +pools created by libpmemobj libraries. %files -n libpmempool-devel %{_libdir}/libpmempool.so @@ -435,7 +318,7 @@ Requires: libpmempool = %{version}-%{release} %description -n libpmempool-debug The libpmempool library provides a set of utilities for off-line administration, analysis, diagnostics and repair of persistent memory -pools created by libpmemlog, libpmemblk and libpmemobj libraries. +pools created by libpmemobj libraries. This sub-package contains debug variant of the library, providing run-time assertions and trace points. The typical way to access the @@ -453,8 +336,6 @@ debug version is to set the environment variable LD_LIBRARY_PATH to %package -n pmempool Summary: Utilities for Persistent Memory Requires: libpmem >= %{version}-%{release} -Requires: libpmemlog >= %{version}-%{release} -Requires: libpmemblk >= %{version}-%{release} Requires: libpmemobj >= %{version}-%{release} Requires: libpmempool >= %{version}-%{release} Obsoletes: nvml-tools < %{version}-%{release} @@ -531,6 +412,7 @@ provided in the command line options to check whether files are in a consistent # For debug build default flags may be overriden to disable compiler # optimizations. CFLAGS="%{optflags}" \ +EXTRA_CFLAGS="-Wno-error" \ LDFLAGS="%{?__global_ldflags}" \ %make_build NORPATH=1 @@ -597,8 +479,6 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/ %ldconfig_scriptlets -n libpmem %ldconfig_scriptlets -n libpmem2 -%ldconfig_scriptlets -n libpmemblk -%ldconfig_scriptlets -n libpmemlog %ldconfig_scriptlets -n libpmemobj %ldconfig_scriptlets -n libpmempool @@ -608,6 +488,9 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/ %changelog +* Mon Nov 06 2023 Emanuel Lima - 2.0.0-1 +- PMDK 2.0.0 + * Mon Oct 16 2023 Pavel Reichl - 1.13.1-3 - Convert License tag to SPDX format diff --git a/sources b/sources index ffa9316..9e3c31a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pmdk-1.13.1.tar.gz) = 389b35f03b158ebcc838d63f71778522585c25445c273411f0dd9b929a8022e9fc13f16117a051c5d23ffc18a316cfc89294a6f51106db1791529d10b8ba5105 +SHA512 (pmdk-2.0.0.tar.gz) = 06f589fb4654faafd53f649ebb76c2ee0c11046cc677e6649a2273dd0e3d301105beb041a3a253704777217f1e26358c24e4c807974fcef6eeeb8c5f67ce9c70