- Update to version 4.0.1
* See included ChangeLog for complete changes. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
2c6731dedd
commit
23b6ef742a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jemalloc
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: jemalloc
|
||||
Version: 3.6.0
|
||||
Version: 4.0.1
|
||||
Release: 0
|
||||
%define lname libjemalloc1
|
||||
%define lname libjemalloc2
|
||||
Summary: General-purpose scalable concurrent malloc implementation
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
@@ -29,6 +29,7 @@ Url: http://canonware.com/jemalloc/
|
||||
Source: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: pkgconfig
|
||||
Requires: %lname = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -83,8 +84,6 @@ if [ "%_docdir" != "%{_datadir}/doc" ]; then
|
||||
mv "$b/%{_datadir}/doc/jemalloc" "$b/%_docdir/%{name}";
|
||||
fi;
|
||||
|
||||
mv %{buildroot}/%{_bindir}/pprof %{buildroot}/%{_bindir}/pprof-jemalloc
|
||||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
|
||||
make check
|
||||
@@ -92,18 +91,21 @@ make check
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/jemalloc.sh
|
||||
%{_bindir}/pprof-jemalloc
|
||||
%{_bindir}/jemalloc-config
|
||||
%{_bindir}/jeprof
|
||||
%{_mandir}/man*/*
|
||||
%_docdir/%{name}
|
||||
|
||||
%files -n %lname
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libjemalloc.so.1*
|
||||
%doc ChangeLog COPYING README
|
||||
%{_libdir}/libjemalloc.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/jemalloc
|
||||
%{_libdir}/libjemalloc.so
|
||||
%{_libdir}/pkgconfig/jemalloc.pc
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user