Browse Source

jemalloc-5.1.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11838 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
4ba8ffc267
1 changed files with 21 additions and 1 deletions
  1. 21 1
      j/jemalloc/jemalloc-vl.spec

+ 21 - 1
j/jemalloc/jemalloc-vl.spec

@@ -1,5 +1,7 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 Name:           jemalloc
-Version:        5.0.1
+Version:        5.1.0
 
 Release:        1%{?_dist_release}
 Summary:        General-purpose scalable concurrent malloc implementation
@@ -33,6 +35,15 @@ Group:          Development/Libraries
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+%package -n compat32-jemalloc
+Summary:        General-purpose scalable concurrent malloc implementation
+Summary(ja):    汎用・スケーラブル・並行な malloc 実装
+Group:          System Environment/Libraries
+
+%description -n compat32-jemalloc
+General-purpose scalable concurrent malloc(3) implementation.
+This distribution is the stand-alone "portable" implementation of %{name}.
+
 %prep
 %setup -q
 
@@ -87,6 +98,11 @@ rm -rf %{buildroot}
 %{_libdir}/libjemalloc.so
 %{_mandir}/man3/jemalloc.3*
 
+%if %{build_compat32}
+%files -n compat32-jemalloc
+%{_libdir}/libjemalloc.so.*
+%endif
+
 %post
 /sbin/ldconfig
 
@@ -94,6 +110,10 @@ rm -rf %{buildroot}
 /sbin/ldconfig
 
 %changelog
+* Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.1.0-1
+- new upstream release.
+- added a sub-package 'compat32-jemalloc'.
+
 * Sat Dec 02 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.0.1-1
 - new upstream release.