Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

5 changed files with 79 additions and 34 deletions

18
.gitignore vendored
View File

@ -1,9 +1,9 @@
SOURCES/nvml-1.0.tar.gz /nvml-1.0.tar.gz
SOURCES/nvml-1.1.tar.gz /nvml-1.1.tar.gz
SOURCES/pmdk-1.2.4.tar.gz /pmdk-1.2.4.tar.gz
SOURCES/pmdk-1.3.3.tar.gz /pmdk-1.3.3.tar.gz
SOURCES/pmdk-1.4.3.tar.gz /pmdk-1.4.3.tar.gz
SOURCES/pmdk-1.5.2.tar.gz /pmdk-1.5.2.tar.gz
SOURCES/pmdk-1.6.1.tar.gz /pmdk-1.6.1.tar.gz
SOURCES/pmdk-1.7.tar.gz /pmdk-1.7.tar.gz
SOURCES/pmdk-convert-1.7.tar.gz /pmdk-convert-1.7.tar.gz

View File

@ -1,9 +1,9 @@
68c1210355d26b2b1ee2b21050bde3891f63172a SOURCES/nvml-1.0.tar.gz 68c1210355d26b2b1ee2b21050bde3891f63172a nvml-1.0.tar.gz
5a0727b90f620b20d8f507359bcb91ee22315937 SOURCES/nvml-1.1.tar.gz 5a0727b90f620b20d8f507359bcb91ee22315937 nvml-1.1.tar.gz
d7e4465fbfa22cb1f8053e32e9613688b812c3e9 SOURCES/pmdk-1.2.4.tar.gz d7e4465fbfa22cb1f8053e32e9613688b812c3e9 pmdk-1.2.4.tar.gz
c7068d0fc7e0392b2c012a213bb94a17431cb1c7 SOURCES/pmdk-1.3.3.tar.gz c7068d0fc7e0392b2c012a213bb94a17431cb1c7 pmdk-1.3.3.tar.gz
adc3e774757038bd032c472c5ad803c9d82d8e09 SOURCES/pmdk-1.4.3.tar.gz adc3e774757038bd032c472c5ad803c9d82d8e09 pmdk-1.4.3.tar.gz
76fd981b578fd75652dcbfbf758a2958b64a377f SOURCES/pmdk-1.5.2.tar.gz 76fd981b578fd75652dcbfbf758a2958b64a377f pmdk-1.5.2.tar.gz
c09c4ee03c00339483d27b578b52ab02f5b246b8 SOURCES/pmdk-1.6.1.tar.gz c09c4ee03c00339483d27b578b52ab02f5b246b8 pmdk-1.6.1.tar.gz
0fbe664d76177ee07b8bc02a4297184066b57f7a SOURCES/pmdk-1.7.tar.gz 0fbe664d76177ee07b8bc02a4297184066b57f7a pmdk-1.7.tar.gz
9feb3ea74c78f5152a989a225021bfdfcd4319bb SOURCES/pmdk-convert-1.7.tar.gz 9feb3ea74c78f5152a989a225021bfdfcd4319bb pmdk-convert-1.7.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# pmdk-convert
The pmdk-convert package

View File

@ -1,12 +1,14 @@
%global upstreamversion 1.7
Name: pmdk-convert Name: pmdk-convert
Version: 1.7 Version: 1.7
Release: 1%{?dist} Release: 8%{?dist}
Summary: Conversion tool for PMDK pools Summary: Conversion tool for PMDK pools
# Note: utils/cstyle is CDDL licensed. It's only used during development and it's NOT part of the binary RPM. # Note: utils/cstyle is CDDL licensed. It's only used during development and it's NOT part of the binary RPM.
License: BSD License: BSD
URL: https://github.com/pmem/pmdk-convert URL: https://github.com/pmem/pmdk-convert
Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/pmem/pmdk-convert/releases/download/%{upstreamversion}/pmdk-convert-%{upstreamversion}.tar.gz
Source1: https://github.com/pmem/pmdk/archive/1.0.tar.gz#/nvml-1.0.tar.gz Source1: https://github.com/pmem/pmdk/archive/1.0.tar.gz#/nvml-1.0.tar.gz
Source2: https://github.com/pmem/pmdk/archive/1.1.tar.gz#/nvml-1.1.tar.gz Source2: https://github.com/pmem/pmdk/archive/1.1.tar.gz#/nvml-1.1.tar.gz
Source3: https://github.com/pmem/pmdk/releases/download/1.2.4/pmdk-1.2.4.tar.gz Source3: https://github.com/pmem/pmdk/releases/download/1.2.4/pmdk-1.2.4.tar.gz
@ -19,10 +21,15 @@ Source8: https://github.com/pmem/pmdk/releases/download/1.7/pmdk-1.7.tar.gz
BuildRequires: cmake >= 3.3 BuildRequires: cmake >= 3.3
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: g++
BuildRequires: gdb BuildRequires: gdb
# PMDK is currently available only on x86_64 # PMDK is currently available only on x86_64
# Relevant bug reports:
# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
# https://bugzilla.redhat.com/show_bug.cgi?id=1340635
# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
ExclusiveArch: x86_64 ExclusiveArch: x86_64
%description %description
@ -62,32 +69,58 @@ mkdir build
cd build cd build
# TESTS_USE_FORCED_PMEM=ON to speed up tests on non-pmem file systems # TESTS_USE_FORCED_PMEM=ON to speed up tests on non-pmem file systems
%cmake .. -DTESTS_USE_FORCED_PMEM=ON %cmake .. -DTESTS_USE_FORCED_PMEM=ON
%make_build %cmake_build
%install %install
cd build cd build
%make_install %cmake_install
%check %check
cd build cd build
ctest -V %ctest
%if 0%{?__debug_package} == 0 %if 0%{?__debug_package} == 0
%debug_package %debug_package
%endif %endif
%changelog %changelog
* Mon Nov 4 2019 Jeff Moyer <jmoyer@redhat.com> - 1.7-1.el7 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7-8
- Update to version 1.7 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Resolves: rhbz#1768626 Related: rhbz#1991688
* Wed Jun 19 2019 Jeff Moyer <jmoyer@redhat.com> - 1.5.1-2.el8 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7-7
- Bump release number and re-build to trigger gating tests - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Related: rhbz#1659658
* Tue May 28 2019 Jeff Moyer <jmoyer@redhat.com> - 1.5.1-1 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-6
- Initial RHEL 8 import. - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- Resolves: rhbz#1659658
* Thu Nov 8 2018 Marcin Ślusarz <marcin.slusarz@intel.com> - 1.5-1 * Sat Oct 03 2020 Adam Borowski <kilobyte@angband.pl> - 1.7-5
- Convert to new cmake macros, fixing FTBFS.
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Oct 01 2019 Marcin Ślusarz <marcin.slusarz@intel.com> - 1.7-1
- Update to 1.7
* Tue Oct 01 2019 Marcin Ślusarz <marcin.slusarz@intel.com> - 1.5.2-1
- Update to 1.5.2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Mar 08 2019 Marcin Ślusarz <marcin.slusarz@intel.com> - 1.5.1-1
- Update to 1.5.1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Dec 14 2018 Marcin Ślusarz <marcin.slusarz@intel.com> - 1.5-1
- Initial RPM release - Initial RPM release

9
sources Normal file
View File

@ -0,0 +1,9 @@
SHA512 (nvml-1.0.tar.gz) = baeeb9fef831c76a23a6ef978815a757256f86a279a237706a44c0650a9c919b6eb42fc3a87728f7bdaf68301f730b1357e3a5ade36526ff4aa51cc8bb1bf935
SHA512 (nvml-1.1.tar.gz) = 98171134f424cdb944a8b30440ef0ace1f31590f00347849641665bf128723bc909896d3bcf150cb654506a4a5763a451c3b8be70df68466935de83246a841e8
SHA512 (pmdk-1.2.4.tar.gz) = 0a8e5af2f742ad39d88d567314a3351e00bb253d17cee7d7003d44aca8eac4dee84c5970defaae46412982990e4e62a8824b0feff26cc1dd8da1b330674e9112
SHA512 (pmdk-1.3.3.tar.gz) = 4e27b3854475310abc33899aed503b208e8e8366dea467d15d91c85d7a28913c9dbb17dac074bac8c69921713dbf8e4267efe490285b5878aca47ebc4356729b
SHA512 (pmdk-1.4.3.tar.gz) = 80b8f2f4300a22ff11d5696c893dfa1b890b414326cb6f50e23b42d5dcf52125b0bd59cdf21801d7a773d927d109eb197acc274e44d70313c11d2c042fd6ca85
SHA512 (pmdk-1.5.2.tar.gz) = 558feb7a9a0ede7f2ece09e0e80d27be4d818d1ff861fe08d909831f15a3e78cdcb9a27d1bd4e98802ce23d73855e65bb2ca71cebfd7ab8c85a20e0d511393f7
SHA512 (pmdk-1.6.1.tar.gz) = 5747b9d78a3a0d2bede8be929f062f047fc8661ab7b70e574cc3944e74e57b06827333c970b69fba86bba155cf6b1bbe30bb0272ae8b2dbdb06c721affdf1005
SHA512 (pmdk-1.7.tar.gz) = ce6c36f0354c2272cc7258b190077d7655528c414128c937d8735854a083516f0a15340cebb16f3c0588835dc9b48501e04415a4d3e96887be5fcee5a3b90905
SHA512 (pmdk-convert-1.7.tar.gz) = 8f57623437ccdc318da7b0f77ca06da33a5aaeb64d0504e544a3686eb2df366817043df9172c2376204a8663b1a929b6ede58f21927c5219223b332530844f28