|
@@ -1,19 +1,16 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
-Name: jemalloc
|
|
|
|
-Version: 5.2.1
|
|
|
|
-
|
|
|
|
-Release: 1%{?_dist_release}
|
|
|
|
Summary: General-purpose scalable concurrent malloc implementation
|
|
Summary: General-purpose scalable concurrent malloc implementation
|
|
Summary(ja): 汎用・スケーラブル・並行な malloc 実装
|
|
Summary(ja): 汎用・スケーラブル・並行な malloc 実装
|
|
-
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
-License: BSD
|
|
|
|
-URL: http://www.canonware.com/jemalloc/
|
|
|
|
-
|
|
|
|
|
|
+Name: jemalloc
|
|
|
|
+Version: 5.2.1
|
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
|
|
+License: BSD
|
|
|
|
+URL: http://jemalloc.net/
|
|
Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
@@ -26,27 +23,34 @@ BuildRequires: valgrind-devel
|
|
General-purpose scalable concurrent malloc(3) implementation.
|
|
General-purpose scalable concurrent malloc(3) implementation.
|
|
This distribution is the stand-alone "portable" implementation of %{name}.
|
|
This distribution is the stand-alone "portable" implementation of %{name}.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
+
|
|
%package -n compat32-jemalloc
|
|
%package -n compat32-jemalloc
|
|
Summary: General-purpose scalable concurrent malloc implementation
|
|
Summary: General-purpose scalable concurrent malloc implementation
|
|
Summary(ja): 汎用・スケーラブル・並行な malloc 実装
|
|
Summary(ja): 汎用・スケーラブル・並行な malloc 実装
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system,legacy
|
|
|
|
|
|
%description -n compat32-jemalloc
|
|
%description -n compat32-jemalloc
|
|
General-purpose scalable concurrent malloc(3) implementation.
|
|
General-purpose scalable concurrent malloc(3) implementation.
|
|
This distribution is the stand-alone "portable" implementation of %{name}.
|
|
This distribution is the stand-alone "portable" implementation of %{name}.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%ifarch i686
|
|
%ifarch i686
|
|
%if 0%{?fedora} >= 21
|
|
%if 0%{?fedora} >= 21
|
|
@@ -63,8 +67,6 @@ perl -pi -e 's/je_cv_thp=yes/je_cv_thp=no/' configure
|
|
|
|
|
|
%configure
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
-%check
|
|
|
|
-make check
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -77,6 +79,10 @@ rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
|
|
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
|
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
+%check
|
|
|
|
+make check
|
|
|
|
+
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
@@ -103,13 +109,12 @@ rm -rf %{buildroot}
|
|
%{_libdir}/libjemalloc.so.*
|
|
%{_libdir}/libjemalloc.so.*
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-%post
|
|
|
|
-/sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun
|
|
|
|
-/sbin/ldconfig
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2.1-2
|
|
|
|
+- rebuilt with current environment.
|
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
|
+
|
|
* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2.1-1
|
|
* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2.1-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|