From 229911d16f130c6fcec766cfd8adb024aa374fa8 Mon Sep 17 00:00:00 2001 From: Rafael Aquini Date: Fri, 28 Jan 2022 18:07:58 -0500 Subject: [PATCH] Update memkind source file to 1.13.0 upstream Signed-off-by: Rafael Aquini --- memkind.spec | 29 ++++++++++++++++++----------- sources | 2 +- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/memkind.spec b/memkind.spec index d4aba16..43769fe 100644 --- a/memkind.spec +++ b/memkind.spec @@ -1,9 +1,9 @@ -%global gittag0 v1.11.0 +%global gittag0 v1.13.0 Name: memkind Summary: User Extensible Heap Manager -Version: 1.11.0 -Release: 2%{?checkout}%{?dist} +Version: 1.13.0 +Release: 1%{?checkout}%{?dist} License: BSD URL: http://memkind.github.io/memkind BuildRequires: make @@ -47,22 +47,21 @@ alpha release. Feedback on design or implementation is greatly appreciated. %setup -q -a 0 -n %{name}-%{version} %build -# It is required that we configure and build the jemalloc subdirectory -# before we configure and start building the top level memkind directory. -# To ensure the memkind build step is able to discover the output -# of the jemalloc build we must create an 'obj' directory, and build -# from within that directory. cd %{_builddir}/%{name}-%{version} echo %{version} > %{_builddir}/%{name}-%{version}/VERSION -./build.sh --prefix=%{_prefix} --includedir=%{_includedir} --libdir=%{_libdir} \ - --bindir=%{_bindir} --docdir=%{_docdir}/%{name} --mandir=%{_mandir} \ - --sbindir=%{_sbindir} +test -f configure || ./autogen.sh +%configure --enable-secure --enable-tls --prefix=%{_prefix} --libdir=%{_libdir} \ + --includedir=%{_includedir} --sbindir=%{_sbindir} --bindir=%{_bindir} \ + --mandir=%{_mandir} --docdir=%{_docdir}/%{name} \ + CFLAGS="$RPM_OPT_FLAGS -std=gnu99" LDFLAGS="%{build_ldflags}" +%{__make} V=1 %{?_smp_mflags} %install cd %{_builddir}/%{name}-%{version} make DESTDIR=%{buildroot} INSTALL='install -p' install rm -f %{buildroot}/%{_libdir}/lib%{name}.{l,}a rm -f %{buildroot}/%{_libdir}/libautohbw.{l,}a +rm -f %{buildroot}/%{_libdir}/libmemtier.{l,}a rm -f %{buildroot}/%{_docdir}/%{name}/VERSION %ldconfig_scriptlets @@ -70,10 +69,12 @@ rm -f %{buildroot}/%{_docdir}/%{name}/VERSION %files %{_libdir}/lib%{name}.so.* %{_libdir}/libautohbw.so.* +%{_libdir}/libmemtier.so.* %{_bindir}/%{name}-hbw-nodes %{_bindir}/%{name}-auto-dax-kmem-nodes %{_mandir}/man1/%{name}*.1.* %{_mandir}/man7/autohbw.7.* +%{_mandir}/man7/memtier.7.* %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/README %license %{_docdir}/%{name}/COPYING @@ -83,15 +84,21 @@ rm -f %{buildroot}/%{_docdir}/%{name}/VERSION %{_includedir}/hbwmalloc.h %{_includedir}/hbw_allocator.h %{_includedir}/pmem_allocator.h +%{_includedir}/fixed_allocator.h %{_libdir}/lib%{name}.so %{_libdir}/libautohbw.so +%{_libdir}/libmemtier.so %{_libdir}/pkgconfig/memkind.pc %{_mandir}/man3/%{name}*.3.* %{_mandir}/man3/hbwmalloc.3.* %{_mandir}/man3/hbwallocator.3.* %{_mandir}/man3/pmemallocator.3.* +%{_mandir}/man3/fixedallocator.3.* %changelog +* Fri Jan 28 2022 Rafael Aquini - 1.13.0-1 +- Update memkind source file to 1.13.0 upstream + * Thu Jan 20 2022 Fedora Release Engineering - 1.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 0f4aef6..0ebb3a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memkind-1.11.0.tar.gz) = 0b5bde35b3565c730fa954aebfe2ccbecd1e120c920d05acdbc0a74914731a90aeef8d57101f1f47bd35fd310bc143fa517bc871b32e592b8412384ff652fc05 +SHA512 (memkind-1.13.0.tar.gz) = 509d49e3c67321496b322469d4bb13aa8b9038e94dc9bdfb379c38e86a5705ba13bc015443da8291be49711e14bce9845b697f62cfcc981168f255f9fb515b0e