diff --git a/jemalloc.changes b/jemalloc.changes index eb3dc92..18e727d 100644 --- a/jemalloc.changes +++ b/jemalloc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 4 11:20:31 UTC 2019 - Jan Engelhardt + +- Drop static library package, nothing seems to use it. +- Remove openSUSE 11.1 build support. + ------------------------------------------------------------------- Thu Apr 4 09:44:44 UTC 2019 - Martin Liška diff --git a/jemalloc.spec b/jemalloc.spec index d778def..122cbf6 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -23,17 +23,13 @@ Release: 0 Summary: General-purpose scalable concurrent malloc implementation License: BSD-2-Clause Group: Development/Libraries/C and C++ -Url: https://github.com/jemalloc/jemalloc -Source: https://github.com/jemalloc/jemalloc/releases/download/%{version}/jemalloc-%{version}.tar.bz2 +URL: http://jemalloc.net/ +Source: https://github.com/jemalloc/jemalloc/releases/download/%version/jemalloc-%version.tar.bz2 Patch0: disable-test_prof_log_many_traces-test.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: libxslt BuildRequires: pkg-config Requires: %lname = %version -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} == 1110 -BuildRequires: gcc48 -%endif %description jemalloc is a general-purpose scalable concurrent malloc(3) implementation. @@ -56,33 +52,13 @@ Requires: %lname = %version Headers for jemalloc, general-purpose scalable concurrent malloc(3) implementation. -%package devel-static -Summary: Static libraries for jemalloc -Group: Development/Libraries/C and C++ -Requires: %name-devel = %version - -%description devel-static -Static libraries of jemalloc, general-purpose scalable concurrent -malloc(3) implementation. - %prep %setup -q %patch0 -p1 %build export EXTRA_CFLAGS="%optflags -std=gnu99" -%if 0%{?suse_version} == 1110 -if [ -f "%_bindir/gcc-4.6" ]; then - export CC=gcc-4.6 -fi -if [ -f "%_bindir/gcc-4.7" ]; then - export CC=gcc-4.7 -fi -if [ -f "%_bindir/gcc-4.8" ]; then - export CC=gcc-4.8 -fi -%endif -%configure \ +%configure --disable-static \ %ifarch %arm --disable-thp \ --disable-prof @@ -98,8 +74,7 @@ make %{?_smp_mflags} %install b="%buildroot" -make install DESTDIR="$b" -chmod -x "%buildroot/%_libdir"/*.a +%make_install if [ "%_docdir" != "%_datadir/doc" ]; then # Makefile apparently ignored the --docdir in %%configure mkdir -p "$b/%_docdir" @@ -132,8 +107,4 @@ make %{?_smp_mflags} check %_libdir/libjemalloc.so %_libdir/pkgconfig/jemalloc.pc -%files devel-static -%defattr(-,root,root) -%_libdir/libjemalloc*.a - %changelog