diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a9e444a..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/1.8-rc1.tar.gz -/1.8.tar.gz diff --git a/0001-Fix-scope-tests-wrt-binutils-2.35.patch b/0001-Fix-scope-tests-wrt-binutils-2.35.patch deleted file mode 100644 index 653701b..0000000 --- a/0001-Fix-scope-tests-wrt-binutils-2.35.patch +++ /dev/null @@ -1,88 +0,0 @@ -From fa48bba673b274cc08a77599123a8add77fbb8b8 Mon Sep 17 00:00:00 2001 -From: Adam Borowski -Date: Sun, 16 Aug 2020 01:54:49 +0200 -Subject: [PATCH] Fix scope tests wrt binutils 2.35 - -The output of nm has changed to include ABI tags. ---- - src/test/scope/out0.log.match | 32 ++++++++++++++++---------------- - src/test/scope/out5.log.match | 30 +++++++++++++++--------------- - 2 files changed, 31 insertions(+), 31 deletions(-) - -diff --git a/src/test/scope/out0.log.match b/src/test/scope/out0.log.match -index 0bab485d2..a567a41f0 100644 ---- a/src/test/scope/out0.log.match -+++ b/src/test/scope/out0.log.match -@@ -1,17 +1,17 @@ - $(*) --vmem_aligned_alloc --vmem_calloc --vmem_check --vmem_check_version --vmem_create --vmem_create_in_region --vmem_delete --vmem_errormsg --vmem_free --vmem_malloc --vmem_malloc_usable_size --vmem_realloc --vmem_set_funcs --vmem_stats_print --vmem_strdup --vmem_wcsdup -+vmem_aligned_alloc$(nW) -+vmem_calloc$(nW) -+vmem_check$(nW) -+vmem_check_version$(nW) -+vmem_create$(nW) -+vmem_create_in_region$(nW) -+vmem_delete$(nW) -+vmem_errormsg$(nW) -+vmem_free$(nW) -+vmem_malloc$(nW) -+vmem_malloc_usable_size$(nW) -+vmem_realloc$(nW) -+vmem_set_funcs$(nW) -+vmem_stats_print$(nW) -+vmem_strdup$(nW) -+vmem_wcsdup$(nW) -diff --git a/src/test/scope/out5.log.match b/src/test/scope/out5.log.match -index c1f11d08d..6c13be86b 100644 ---- a/src/test/scope/out5.log.match -+++ b/src/test/scope/out5.log.match -@@ -1,16 +1,16 @@ - $(*) --$(OPT)_malloc_postfork --$(OPT)_malloc_prefork --$(OPT)_malloc_thread_cleanup --aligned_alloc --calloc --cfree --free --malloc --malloc_usable_size --memalign --posix_memalign --$(OPT)pthread_create --pvalloc --realloc --valloc -+$(OPT)_malloc_postfork$(nW) -+$(OPT)_malloc_prefork$(nW) -+$(OPT)_malloc_thread_cleanup$(nW) -+aligned_alloc$(nW) -+calloc$(nW) -+cfree$(nW) -+free$(nW) -+malloc$(nW) -+malloc_usable_size$(nW) -+memalign$(nW) -+posix_memalign$(nW) -+$(OPT)pthread_create$(nW) -+pvalloc$(nW) -+realloc$(nW) -+valloc$(nW) --- -2.28.0 - diff --git a/README.md b/README.md deleted file mode 100644 index 667df80..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# vmem - -The vmem package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..c93f51c --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +No support for glibc ≥2.34, obsoleted by memkind ≥1.12 diff --git a/sources b/sources deleted file mode 100644 index 353db50..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (1.8.tar.gz) = 21d30418b27da62a7ffb5a868fb4b5c5615e90ace06444bf40273f18f704c26dc92a2705bf828883e601f4dba07a2b1c732f9211cb2bc4ecdbfe1624ee6aca6f diff --git a/vmem.spec b/vmem.spec deleted file mode 100644 index fc67484..0000000 --- a/vmem.spec +++ /dev/null @@ -1,243 +0,0 @@ - -# rpmbuild options: -# --define _testconfig - -%define upstreamversion 1.8 - -Name: vmem -Version: %{upstreamversion} -Release: 5%{?dist} -Summary: Volatile Memory Development Kit -License: BSD -URL: http://pmem.io/vmem - -Source0: https://github.com/pmem/vmem/archive/%{upstreamversion}.tar.gz -Patch0: 0001-Fix-scope-tests-wrt-binutils-2.35.patch - - -BuildRequires: gcc -BuildRequires: make -BuildRequires: glibc-devel -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: man -BuildRequires: pkgconfig - -# for tests -BuildRequires: gdb -BuildRequires: bc -BuildRequires: libunwind-devel - -# Debug variants of the libraries should be filtered out of the provides. -%global __provides_exclude_from ^%{_libdir}/vmem_debug/.*\\.so.*$ - -# By design, no 32-bit architectures are supported. As for 64-bit archs, -# there's generally no reason porting couldn't be done, but someone would -# need to do the work. Outside of x86_64, aarch64 works -- but no one did -# any serious testing. -# -# Bugs reported for the PMDK project that VMEM originally comes from: - -# 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 - -%description -vmem and vmmalloc are libraries for using persistent memory as volatile -heap for malloc-like allocations. - - -%package -n libvmem -Summary: Volatile Memory allocation library -%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 -%{_libdir}/libvmem.so.* -%license LICENSE -%doc ChangeLog README.md - - -%package -n libvmem-devel -Summary: Development files for the Volatile Memory allocation library -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 -%{_libdir}/libvmem.so -%{_libdir}/pkgconfig/libvmem.pc -%{_includedir}/libvmem.h -%{_mandir}/man7/libvmem.7.gz -%{_mandir}/man3/vmem_*.3.gz -%license LICENSE -%doc ChangeLog README.md - - -%package -n libvmem-debug -Summary: Debug variant of the Volatile Memory allocation library -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/vmem_debug. - -%files -n libvmem-debug -%dir %{_libdir}/vmem_debug -%{_libdir}/vmem_debug/libvmem.so -%{_libdir}/vmem_debug/libvmem.so.* -%license LICENSE -%doc ChangeLog README.md - - -%package -n libvmmalloc -Summary: Dynamic to Persistent Memory allocation translation library -%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 -%{_libdir}/libvmmalloc.so.* -%license LICENSE -%doc ChangeLog README.md - - -%package -n libvmmalloc-devel -Summary: Development files for the Dynamic-to-Persistent allocation library -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 -%{_libdir}/libvmmalloc.so -%{_libdir}/pkgconfig/libvmmalloc.pc -%{_includedir}/libvmmalloc.h -%{_mandir}/man7/libvmmalloc.7.gz -%license LICENSE -%doc ChangeLog README.md - - -%package -n libvmmalloc-debug -Summary: Debug variant of the Dynamic-to-Persistent allocation library -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/vmem_debug. - -%files -n libvmmalloc-debug -%dir %{_libdir}/vmem_debug -%{_libdir}/vmem_debug/libvmmalloc.so -%{_libdir}/vmem_debug/libvmmalloc.so.* -%license LICENSE -%doc ChangeLog README.md - - -%prep -%setup -q -n vmem-%{upstreamversion} -%patch0 -p1 - - -%build -# This package has undefined symbols showing up in debug sections which is -# a known upstream bug with LTO. It should be fixed relatively soon, but -# until then, disable LTO -%define _lto_cflags %{nil} - -# For debug build default flags may be overriden to disable compiler -# optimizations. -CFLAGS="%{optflags}" \ -LDFLAGS="%{?__global_ldflags}" \ -make %{?_smp_mflags} NORPATH=1 - - -# Override LIB_AR with empty string to skip installation of static libraries -%install -make install DESTDIR=%{buildroot} \ - LIB_AR= \ - prefix=%{_prefix} \ - libdir=%{_libdir} \ - includedir=%{_includedir} \ - mandir=%{_mandir} \ - bindir=%{_bindir} \ - sysconfdir=%{_sysconfdir} \ - docdir=%{_docdir} - - - -%check -%if 0%{?_skip_check} == 1 - echo "Check skipped" -%else - %if %{defined _testconfig} - cp %{_testconfig} src/test/testconfig.sh - %else - echo "TEST_DIR=/tmp" > src/test/testconfig.sh - echo 'TEST_BUILD="debug nondebug"' >> src/test/testconfig.sh - %endif - make check -%endif - -%ldconfig_scriptlets -n libvmem -%ldconfig_scriptlets -n libvmmalloc - -%if 0%{?__debug_package} == 0 -%debug_package -%endif - - -%changelog -* Wed Jan 27 2021 Fedora Release Engineering - 1.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Aug 16 2020 Adam Borowski - 1.8-5 -- Fix FTBFS with new binutils. - -* Sat Aug 08 2020 Jeff Law - 1.8-4 -- Disable LTO - -* Sat Aug 01 2020 Fedora Release Engineering - 1.8-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Feb 11 2020 Adam Borowski - 1.8-1 -- Upstream release 1.8 -- Re-add libunwind-devel to BReqs. - -* Fri Jan 24 2020 Adam Borowski - 1.8~rc1-1 -- Initial RPM release