|
|
fc2ce9 |
%{?scl:%scl_package jemalloc}
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
Name: %{?scl:%scl_prefix}jemalloc
|
|
|
fc2ce9 |
Version: 3.6.0
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
Release: 12%{?dist}
|
|
|
fc2ce9 |
Summary: General-purpose scalable concurrent malloc implementation
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
Group: System Environment/Libraries
|
|
|
fc2ce9 |
License: BSD
|
|
|
fc2ce9 |
URL: http://www.canonware.com/jemalloc/
|
|
|
fc2ce9 |
Source0: http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
|
|
|
fc2ce9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
# Remove pprof, as it already exists in google-perftools
|
|
|
fc2ce9 |
Patch0: jemalloc-3.5.1.no_pprof.patch
|
|
|
fc2ce9 |
# ARMv5tel has no atomic operations
|
|
|
fc2ce9 |
Patch2: jemalloc-armv5-force-atomic.patch
|
|
|
fc2ce9 |
# RHEL5/POWER has no atomic operations
|
|
|
fc2ce9 |
Patch3: jemalloc-3.0.0.atomic_h_ppc_32bit_operations.patch
|
|
|
fc2ce9 |
Patch4: jemalloc-3.6.0.no_explicit_altivec.patch
|
|
|
fc2ce9 |
Patch5: jemalloc-3.6.0-rh-passenger40.patch
|
|
|
fc2ce9 |
BuildRequires: /usr/bin/xsltproc
|
|
|
fc2ce9 |
%ifnarch s390
|
|
|
fc2ce9 |
BuildRequires: valgrind-devel
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
%{?scl:Requires:%scl_runtime}
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%description
|
|
|
fc2ce9 |
General-purpose scalable concurrent malloc(3) implementation.
|
|
|
fc2ce9 |
This distribution is the stand-alone "portable" implementation of %{name}.
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%package devel
|
|
|
fc2ce9 |
Summary: Development files for %{name}
|
|
|
fc2ce9 |
Requires: %{name} = %{version}-%{release}
|
|
|
fc2ce9 |
Group: Development/Libraries
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%description devel
|
|
|
fc2ce9 |
The %{name}-devel package contains libraries and header files for
|
|
|
fc2ce9 |
developing applications that use %{name}.
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%prep
|
|
|
fc2ce9 |
%setup -q -n jemalloc-%{version}
|
|
|
fc2ce9 |
%patch0
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%patch2 -p1 -b .armv5tel
|
|
|
fc2ce9 |
%ifarch ppc ppc64
|
|
|
fc2ce9 |
%if 0%{?rhel} == 5
|
|
|
fc2ce9 |
%patch3 -b .ppc
|
|
|
fc2ce9 |
%patch4 -b .ppc
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%patch5 -p1 -b .rh-varnish4
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%build
|
|
|
fc2ce9 |
%ifarch i686
|
|
|
fc2ce9 |
%if 0%{?fedora} >= 21
|
|
|
fc2ce9 |
CFLAGS="%{optflags} -msse2"
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
%configure
|
|
|
fc2ce9 |
make %{?_smp_mflags}
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%check
|
|
|
fc2ce9 |
make check
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%install
|
|
|
fc2ce9 |
rm -rf %{buildroot}
|
|
|
fc2ce9 |
make install DESTDIR=%{buildroot}
|
|
|
fc2ce9 |
# Install this with doc macro instead
|
|
|
fc2ce9 |
rm -rf %{buildroot}%{_datadir}/doc/jemalloc
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
# None of these in fedora
|
|
|
fc2ce9 |
find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%clean
|
|
|
fc2ce9 |
rm -rf %{buildroot}
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%files
|
|
|
fc2ce9 |
%defattr(-,root,root,-)
|
|
|
fc2ce9 |
%{_libdir}/librh-varnish4jemalloc.so.*
|
|
|
fc2ce9 |
%{_bindir}/jemalloc.sh
|
|
|
fc2ce9 |
%doc COPYING README VERSION
|
|
|
fc2ce9 |
%doc doc/jemalloc.html
|
|
|
fc2ce9 |
%ifarch ppc ppc64
|
|
|
fc2ce9 |
%if 0%{?rhel} == 5
|
|
|
fc2ce9 |
%doc COPYING.epel5-ppc
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
%endif
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%files devel
|
|
|
fc2ce9 |
%defattr(-,root,root,-)
|
|
|
fc2ce9 |
%{_includedir}/jemalloc
|
|
|
fc2ce9 |
%{_libdir}/librh-varnish4jemalloc.so
|
|
|
fc2ce9 |
%{_mandir}/man3/jemalloc.3*
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%post -p /sbin/ldconfig
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%postun -p /sbin/ldconfig
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
%changelog
|
|
|
fc2ce9 |
* Mon Aug 17 2015 Jan Kaluza <jkaluza@redhat.com> - 3.6.0-12
|
|
|
fc2ce9 |
- add rh-varnish4 infix to jemalloc library (#1254034)
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Wed Jul 08 2015 Jan Kaluza <jkaluza@redhat.com> - 3.6.0-10
|
|
|
fc2ce9 |
- rebuild against new scl-utils
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu Jul 02 2015 Jan Kaluza <jkaluza@redhat.com> - 3.6.0-9
|
|
|
fc2ce9 |
- packaged as Software collection
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Aug 18 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-8
|
|
|
fc2ce9 |
- valgrind-devel is not available on s390, closes #1131014
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-7
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-6
|
|
|
fc2ce9 |
- bz #1106933 fix only for fedora 21 and above
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-5
|
|
|
fc2ce9 |
- Added valgrind-devel to BuildRequires, fixing bz #974270
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Aug 15 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-4
|
|
|
fc2ce9 |
- Added an i686 build fixing bz #1106933
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-2
|
|
|
fc2ce9 |
- Patch that removes explicit altivec on el5/ppc
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Mar 31 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.6.0-1
|
|
|
fc2ce9 |
- New upstream release. This release fixes a critical regression
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Mar 28 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.5.1-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Updated nopprof patch to match new release
|
|
|
fc2ce9 |
- Fixed a few bogus changelog entries
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Jun 07 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.4.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Mar 11 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.1-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Dropped s390 patch, it's in upstream now.
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Jan 25 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.3.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Nov 19 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.2.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Tue Oct 23 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.1.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Removed ptmalloc_lock_all patch, it is merged upstream
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-3
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu May 24 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-2
|
|
|
fc2ce9 |
- Added a patch from upstream, fixing a crash in ptmalloc_lock_all,
|
|
|
fc2ce9 |
closing #824646
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon May 14 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Updated no_pprof patch to match new release
|
|
|
fc2ce9 |
- Updated s390 patch to match new relase
|
|
|
fc2ce9 |
- Added make check
|
|
|
fc2ce9 |
- Added new script jemalloc.sh
|
|
|
fc2ce9 |
- Added a patch for atomic operations on epel5/ppc
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sat Apr 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.2.5-5
|
|
|
fc2ce9 |
- Improve ARM patch
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Apr 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.2.5-4
|
|
|
fc2ce9 |
- no attomics on armv5tel
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Wed Feb 08 2012 Dan Horák <dan[at]danny.cz> - 2.2.5-3
|
|
|
fc2ce9 |
- substitute version information in the header (#788517)
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.5-2
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.5-1
|
|
|
fc2ce9 |
- New upstream release, closes #75618
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sun Nov 06 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.4-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu Oct 13 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.3-1
|
|
|
fc2ce9 |
- New upstream release, closes #735057
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Aug 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.2-1
|
|
|
fc2ce9 |
- New upstream release, closes #727103
|
|
|
fc2ce9 |
- Updated no_pprof patch for 2.2.2
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu Mar 31 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.1-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sun Mar 27 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.2.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Updated no_pprof patch for 2.2.0
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Tue Mar 15 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-2
|
|
|
fc2ce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.1-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Wed Jan 05 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.0-1
|
|
|
fc2ce9 |
- New upstream release
|
|
|
fc2ce9 |
- Updated patch to remove pprof
|
|
|
fc2ce9 |
- Added html doc and xsltproc as a requirement to build it
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Sat Dec 11 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-3
|
|
|
fc2ce9 |
- fix build on s390
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Thu Nov 18 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-2
|
|
|
fc2ce9 |
- Added a patch that removes pprof, as it already exists in the
|
|
|
fc2ce9 |
google-perftools package
|
|
|
fc2ce9 |
- Cosmetic fixes as requested in the package review (rhbz#653682)
|
|
|
fc2ce9 |
|
|
|
fc2ce9 |
* Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.0.1-1
|
|
|
fc2ce9 |
- First cut of an rpm distribution of jemalloc
|