|
@@ -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.
|
|
|
|