Compare commits
No commits in common. "c8" and "c8s-stream-1_fileformat_v6" have entirely different histories.
c8
...
c8s-stream
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/pmdk-1.6.1.tar.gz
|
SOURCES/pmdk-1.12.1.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
c09c4ee03c00339483d27b578b52ab02f5b246b8 SOURCES/pmdk-1.6.1.tar.gz
|
43ad3e971a2760e50aa325c763a623429b6804d3 SOURCES/pmdk-1.12.1.tar.gz
|
||||||
|
11
SOURCES/Makefile-bypass-check-doc-in-check.patch
Normal file
11
SOURCES/Makefile-bypass-check-doc-in-check.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -89,7 +89,7 @@ check-remote: require-rpmem all
|
||||||
|
test check pcheck pycheck: all
|
||||||
|
$(MAKE) -C src $@
|
||||||
|
|
||||||
|
-check pcheck pycheck: check-doc
|
||||||
|
+pcheck pycheck: check-doc
|
||||||
|
|
||||||
|
cstyle:
|
||||||
|
test -d .git && utils/check-commits.sh
|
@ -1,39 +1,21 @@
|
|||||||
diff -up pmdk-1.6/src/Makefile.orig pmdk-1.6/src/Makefile
|
diff -up pmdk-1.11.1/src/Makefile.orig pmdk-1.11.1/src/Makefile
|
||||||
--- pmdk-1.6/src/Makefile.orig 2019-05-28 16:11:31.757452522 -0400
|
--- pmdk-1.11.1/src/Makefile.orig 2022-01-13 18:51:59.452875151 -0500
|
||||||
+++ pmdk-1.6/src/Makefile 2019-05-28 16:12:14.011574229 -0400
|
+++ pmdk-1.11.1/src/Makefile 2022-01-13 18:54:25.780482444 -0500
|
||||||
@@ -204,7 +204,7 @@ install: all pkg-config
|
@@ -188,7 +188,7 @@ install: all pkg-config
|
||||||
install -d $(PMREORDER_DESTDIR)
|
install -d $(PMREORDER_DESTDIR)
|
||||||
install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR)
|
install -p -m 0644 $(PMREORDER_FILES) $(PMREORDER_DESTDIR)
|
||||||
@echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder
|
@echo "#!/bin/sh" > $(PMREORDER_SRC)/pmreorder
|
||||||
- @echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder
|
- @echo "exec python3 $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
|
||||||
+ @echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py \$$*" >> $(PMREORDER_SRC)/pmreorder
|
+ @echo "exec /usr/libexec/platform-python $(PMREORDER_ROOTDIR)/pmreorder.py $(SRCVERSION) \$$*" >> $(PMREORDER_SRC)/pmreorder
|
||||||
install -d $(PMREORDER_BIN)
|
install -d $(PMREORDER_BIN)
|
||||||
install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN)
|
install -p $(PMREORDER_SRC)/pmreorder $(PMREORDER_BIN)
|
||||||
$(RM) $(PKG_CONFIG_FILES)
|
$(RM) $(PKG_CONFIG_FILES)
|
||||||
diff -up pmdk-1.6/src/test/RUNTESTS.py.orig pmdk-1.6/src/test/RUNTESTS.py
|
diff -up pmdk-1.11.1/src/test/RUNTESTS.py.orig pmdk-1.11.1/src/test/RUNTESTS.py
|
||||||
--- pmdk-1.6/src/test/RUNTESTS.py.orig 2019-05-28 16:12:39.334647173 -0400
|
--- pmdk-1.11.1/src/test/RUNTESTS.py.orig 2022-01-13 18:52:09.080401838 -0500
|
||||||
+++ pmdk-1.6/src/test/RUNTESTS.py 2019-05-28 16:12:39.335647176 -0400
|
+++ pmdk-1.11.1/src/test/RUNTESTS.py 2022-01-13 18:54:46.129368430 -0500
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/usr/bin/env python3
|
-#!/usr/bin/env python3
|
||||||
+#!/usr/libexec/platform-python
|
+#!/usr/libexec/platform-python
|
||||||
#
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
# Copyright 2019, Intel Corporation
|
# Copyright 2019-2022, Intel Corporation
|
||||||
#
|
|
||||||
diff -up pmdk-1.6/src/test/env.py.orig pmdk-1.6/src/test/env.py
|
|
||||||
--- pmdk-1.6/src/test/env.py.orig 2019-05-28 16:13:22.026770140 -0400
|
|
||||||
+++ pmdk-1.6/src/test/env.py 2019-05-28 16:13:22.027770143 -0400
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/usr/bin/env python3
|
|
||||||
+#!/usr/libexec/platform-python
|
|
||||||
#
|
|
||||||
# Copyright 2019, Intel Corporation
|
|
||||||
#
|
|
||||||
diff -up pmdk-1.6/src/tools/pmreorder/pmreorder.py.orig pmdk-1.6/src/tools/pmreorder/pmreorder.py
|
|
||||||
--- pmdk-1.6/src/tools/pmreorder/pmreorder.py.orig 2019-05-28 16:11:31.757452522 -0400
|
|
||||||
+++ pmdk-1.6/src/tools/pmreorder/pmreorder.py 2019-05-28 16:12:14.012574231 -0400
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/usr/bin/python
|
|
||||||
+#!/usr/libexec/platform-python
|
|
||||||
#
|
|
||||||
# Copyright 2018, Intel Corporation
|
|
||||||
#
|
|
||||||
|
174
SPECS/pmdk.spec
174
SPECS/pmdk.spec
@ -17,7 +17,7 @@
|
|||||||
%define min_ndctl_ver 60.1
|
%define min_ndctl_ver 60.1
|
||||||
|
|
||||||
Name: pmdk
|
Name: pmdk
|
||||||
Version: 1.6.1
|
Version: 1.12.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Persistent Memory Development Kit (former NVML)
|
Summary: Persistent Memory Development Kit (former NVML)
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -25,14 +25,18 @@ URL: http://pmem.io/pmdk
|
|||||||
|
|
||||||
Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/pmem/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: pmdk-use-platform-python.patch
|
Patch0: pmdk-use-platform-python.patch
|
||||||
|
Patch1: Makefile-bypass-check-doc-in-check.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: man
|
BuildRequires: man
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pandoc
|
||||||
|
BuildRequires: groff
|
||||||
|
|
||||||
%if %{with ndctl}
|
%if %{with ndctl}
|
||||||
BuildRequires: ndctl-devel >= %{min_ndctl_ver}
|
BuildRequires: ndctl-devel >= %{min_ndctl_ver}
|
||||||
@ -48,8 +52,12 @@ BuildRequires: libfabric-devel >= %{min_libfabric_ver}
|
|||||||
%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
|
%global __provides_exclude_from ^%{_libdir}/pmdk_debug/.*\\.so.*$
|
||||||
|
|
||||||
# By design, PMDK does not support any 32-bit architecture.
|
# By design, PMDK does not support any 32-bit architecture.
|
||||||
# Due to dependency on xmmintrin.h and some inline assembly, it can be
|
# Due to dependency on some inline assembly, PMDK can be compiled only
|
||||||
# compiled only for x86_64 at the moment.
|
# on these architectures:
|
||||||
|
# - x86_64
|
||||||
|
# - ppc64le (experimental)
|
||||||
|
# - aarch64 (unmaintained, supporting hardware doesn't exist?)
|
||||||
|
#
|
||||||
# Other 64-bit architectures could also be supported, if only there is
|
# Other 64-bit architectures could also be supported, if only there is
|
||||||
# a request for that, and if somebody provides the arch-specific
|
# a request for that, and if somebody provides the arch-specific
|
||||||
# implementation of the low-level routines for flushing to persistent
|
# implementation of the low-level routines for flushing to persistent
|
||||||
@ -57,10 +65,9 @@ BuildRequires: libfabric-devel >= %{min_libfabric_ver}
|
|||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1340634
|
# 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=1340635
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1340636
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1340637
|
||||||
|
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64 ppc64le
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Persistent Memory Development Kit is a collection of libraries for
|
The Persistent Memory Development Kit is a collection of libraries for
|
||||||
@ -335,133 +342,6 @@ debug version is to set the environment variable LD_LIBRARY_PATH to
|
|||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
%doc ChangeLog CONTRIBUTING.md README.md
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmem
|
|
||||||
Summary: Volatile Memory allocation library
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
%description -n libvmem
|
|
||||||
The libvmem library turns a pool of persistent memory into a volatile
|
|
||||||
memory pool, similar to the system heap but kept separate and with
|
|
||||||
its own malloc-style API.
|
|
||||||
|
|
||||||
%files -n libvmem
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libvmem.so.*
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmem-devel
|
|
||||||
Summary: Development files for the Volatile Memory allocation library
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: libvmem = %{version}-%{release}
|
|
||||||
%description -n libvmem-devel
|
|
||||||
The libvmem library turns a pool of persistent memory into a volatile
|
|
||||||
memory pool, similar to the system heap but kept separate and with
|
|
||||||
its own malloc-style API.
|
|
||||||
|
|
||||||
This sub-package contains libraries and header files for developing
|
|
||||||
applications that want to make use of libvmem.
|
|
||||||
|
|
||||||
%files -n libvmem-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libvmem.so
|
|
||||||
%{_libdir}/pkgconfig/libvmem.pc
|
|
||||||
%{_includedir}/libvmem.h
|
|
||||||
%{_mandir}/man7/libvmem.7.gz
|
|
||||||
%{_mandir}/man3/vmem_*.3.gz
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmem-debug
|
|
||||||
Summary: Debug variant of the Volatile Memory allocation library
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: libvmem = %{version}-%{release}
|
|
||||||
%description -n libvmem-debug
|
|
||||||
The libvmem library turns a pool of persistent memory into a volatile
|
|
||||||
memory pool, similar to the system heap but kept separate and with
|
|
||||||
its own malloc-style API.
|
|
||||||
|
|
||||||
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 libvmem-debug
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_libdir}/pmdk_debug
|
|
||||||
%{_libdir}/pmdk_debug/libvmem.so
|
|
||||||
%{_libdir}/pmdk_debug/libvmem.so.*
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmmalloc
|
|
||||||
Summary: Dynamic to Persistent Memory allocation translation library
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
%description -n libvmmalloc
|
|
||||||
The libvmmalloc library transparently converts all the dynamic memory
|
|
||||||
allocations into persistent memory allocations. This allows the use
|
|
||||||
of persistent memory as volatile memory without modifying the target
|
|
||||||
application.
|
|
||||||
|
|
||||||
The typical usage of libvmmalloc is to load it via the LD_PRELOAD
|
|
||||||
environment variable.
|
|
||||||
|
|
||||||
%files -n libvmmalloc
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libvmmalloc.so.*
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmmalloc-devel
|
|
||||||
Summary: Development files for the Dynamic-to-Persistent allocation library
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: libvmmalloc = %{version}-%{release}
|
|
||||||
%description -n libvmmalloc-devel
|
|
||||||
The libvmmalloc library transparently converts all the dynamic memory
|
|
||||||
allocations into persistent memory allocations. This allows the use
|
|
||||||
of persistent memory as volatile memory without modifying the target
|
|
||||||
application.
|
|
||||||
|
|
||||||
This sub-package contains libraries and header files for developing
|
|
||||||
applications that want to specifically make use of libvmmalloc.
|
|
||||||
|
|
||||||
%files -n libvmmalloc-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libvmmalloc.so
|
|
||||||
%{_libdir}/pkgconfig/libvmmalloc.pc
|
|
||||||
%{_includedir}/libvmmalloc.h
|
|
||||||
%{_mandir}/man7/libvmmalloc.7.gz
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libvmmalloc-debug
|
|
||||||
Summary: Debug variant of the Dynamic-to-Persistent allocation library
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: libvmmalloc = %{version}-%{release}
|
|
||||||
%description -n libvmmalloc-debug
|
|
||||||
The libvmmalloc library transparently converts all the dynamic memory
|
|
||||||
allocations into persistent memory allocations. This allows the use
|
|
||||||
of persistent memory as volatile memory without modifying the target
|
|
||||||
application.
|
|
||||||
|
|
||||||
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 libvmmalloc-debug
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_libdir}/pmdk_debug
|
|
||||||
%{_libdir}/pmdk_debug/libvmmalloc.so
|
|
||||||
%{_libdir}/pmdk_debug/libvmmalloc.so.*
|
|
||||||
%license LICENSE
|
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
|
|
||||||
%package -n libpmempool
|
%package -n libpmempool
|
||||||
Summary: Persistent Memory pool management library
|
Summary: Persistent Memory pool management library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -469,7 +349,7 @@ Requires: libpmem = %{version}-%{release}
|
|||||||
%description -n libpmempool
|
%description -n libpmempool
|
||||||
The libpmempool library provides a set of utilities for off-line
|
The libpmempool library provides a set of utilities for off-line
|
||||||
administration, analysis, diagnostics and repair of persistent memory
|
administration, analysis, diagnostics and repair of persistent memory
|
||||||
pools created by libpmemlog, libpemblk and libpmemobj libraries.
|
pools created by libpmemlog, libpmemblk and libpmemobj libraries.
|
||||||
|
|
||||||
%files -n libpmempool
|
%files -n libpmempool
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -486,7 +366,7 @@ Requires: libpmem-devel = %{version}-%{release}
|
|||||||
%description -n libpmempool-devel
|
%description -n libpmempool-devel
|
||||||
The libpmempool library provides a set of utilities for off-line
|
The libpmempool library provides a set of utilities for off-line
|
||||||
administration, analysis, diagnostics and repair of persistent memory
|
administration, analysis, diagnostics and repair of persistent memory
|
||||||
pools created by libpmemlog, libpemblk and libpmemobj libraries.
|
pools created by libpmemlog, libpmemblk and libpmemobj libraries.
|
||||||
|
|
||||||
%files -n libpmempool-devel
|
%files -n libpmempool-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -508,7 +388,7 @@ Requires: libpmem = %{version}-%{release}
|
|||||||
%description -n libpmempool-debug
|
%description -n libpmempool-debug
|
||||||
The libpmempool library provides a set of utilities for off-line
|
The libpmempool library provides a set of utilities for off-line
|
||||||
administration, analysis, diagnostics and repair of persistent memory
|
administration, analysis, diagnostics and repair of persistent memory
|
||||||
pools created by libpmemlog, libpemblk and libpmemobj libraries.
|
pools created by libpmemlog, libpmemblk and libpmemobj libraries.
|
||||||
|
|
||||||
This sub-package contains debug variant of the library, providing
|
This sub-package contains debug variant of the library, providing
|
||||||
run-time assertions and trace points. The typical way to access the
|
run-time assertions and trace points. The typical way to access the
|
||||||
@ -602,7 +482,8 @@ and facilitates access to persistent memory over RDMA.
|
|||||||
%{_bindir}/rpmemd
|
%{_bindir}/rpmemd
|
||||||
%{_mandir}/man1/rpmemd.1.gz
|
%{_mandir}/man1/rpmemd.1.gz
|
||||||
|
|
||||||
%endif # _with_fabric
|
# _with_fabric
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n pmempool
|
%package -n pmempool
|
||||||
Summary: Utilities for Persistent Memory
|
Summary: Utilities for Persistent Memory
|
||||||
@ -668,7 +549,8 @@ a device.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc ChangeLog CONTRIBUTING.md README.md
|
%doc ChangeLog CONTRIBUTING.md README.md
|
||||||
|
|
||||||
%endif # _with_ndctl
|
# _with_ndctl
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -704,10 +586,6 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
|
|||||||
%postun -n libpmemlog -p /sbin/ldconfig
|
%postun -n libpmemlog -p /sbin/ldconfig
|
||||||
%post -n libpmemobj -p /sbin/ldconfig
|
%post -n libpmemobj -p /sbin/ldconfig
|
||||||
%postun -n libpmemobj -p /sbin/ldconfig
|
%postun -n libpmemobj -p /sbin/ldconfig
|
||||||
%post -n libvmem -p /sbin/ldconfig
|
|
||||||
%postun -n libvmem -p /sbin/ldconfig
|
|
||||||
%post -n libvmmalloc -p /sbin/ldconfig
|
|
||||||
%postun -n libvmmalloc -p /sbin/ldconfig
|
|
||||||
%post -n libpmempool -p /sbin/ldconfig
|
%post -n libpmempool -p /sbin/ldconfig
|
||||||
%postun -n libpmempool -p /sbin/ldconfig
|
%postun -n libpmempool -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -722,6 +600,20 @@ cp utils/pmdk.magic %{buildroot}%{_datadir}/pmdk/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 21 2022 Bryan Gurney <bgurney@redhat.com> - 1.12.1-1.el8
|
||||||
|
- Update to pmdk version 1.12.1
|
||||||
|
- Related: rhbz#2111428
|
||||||
|
|
||||||
|
* Tue Jan 25 2022 Bryan Gurney <bgurney@redhat.com> - 1.11.1-1.el8
|
||||||
|
- Update to pmdk version 1.11.1
|
||||||
|
- Related: rhbz#2009889
|
||||||
|
|
||||||
|
* Wed Jan 6 2021 Jeff Moyer <jmoyer@redhat.com> - 1.9.2-1.el8
|
||||||
|
- Package pmdk version 1.9.2 for stream 1-fileformat-v6-rhel-8.3.1
|
||||||
|
- libvmem is no longer packaged as part of pmdk.
|
||||||
|
- ppc64le packages are now built
|
||||||
|
- Related: rhbz#1524652, rhbz#1780388, rhbz#1854812, rhbz#1860860
|
||||||
|
|
||||||
* Fri Nov 1 2019 Jeff Moyer <jmoyer@redhat.com> - 1.6.1-1.el8
|
* Fri Nov 1 2019 Jeff Moyer <jmoyer@redhat.com> - 1.6.1-1.el8
|
||||||
- Update to pmdk bugfix relase 1.6.1.
|
- Update to pmdk bugfix relase 1.6.1.
|
||||||
- Resolves: rhbz#1730675
|
- Resolves: rhbz#1730675
|
||||||
|
Loading…
Reference in New Issue
Block a user