Hello community, here is the log from the commit of package gperftools for openSUSE:Factory checked in at 2015-11-02 12:55:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gperftools (Old) and /work/SRC/openSUSE:Factory/.gperftools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gperftools" Changes: -------- --- /work/SRC/openSUSE:Factory/gperftools/gperftools.changes 2015-01-14 11:45:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes 2015-11-02 12:55:20.000000000 +0100 @@ -1,0 +2,6 @@ +Sat Oct 31 13:35:12 UTC 2015 - mplus...@suse.com + +- Update project and download url +- Tiny spec file cleanup with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gperftools.spec ++++++ --- /var/tmp/diff_new_pack.mDVVsj/_old 2015-11-02 12:55:21.000000000 +0100 +++ /var/tmp/diff_new_pack.mDVVsj/_new 2015-11-02 12:55:21.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gperftools # -# 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 @@ -15,15 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: gperftools Version: 2.4 Release: 0 Summary: Performance Tools for C++ License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://code.google.com/p/gperftools/ - -Source0: %{name}-%{version}.tar.gz +Url: https://github.com/gperftools/gperftools +Source0: https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz Patch4: %{name}-fix_docdir.patch Patch12: %{name}_fix_unassigned_malloc_in_unittest.patch Patch14: %{name}_gcc46.patch @@ -33,9 +33,9 @@ BuildRequires: libtool BuildRequires: libunwind-devel BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: google-perftools Obsoletes: google-perftools +BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch: s390 s390x %description @@ -61,10 +61,10 @@ %package devel Summary: Performance tools for C++ Group: Development/Libraries/C and C++ -Requires: %name = %version -Requires: libprofiler0 = %version +Requires: %{name} = %{version} +Requires: libprofiler0 = %{version} Requires: libstdc++-devel -Requires: libtcmalloc4 = %version +Requires: libtcmalloc4 = %{version} Provides: google-perftools-devel Obsoletes: google-perftools-devel @@ -72,8 +72,6 @@ The gperftools-devel package contains static and debug libraries and header files for developing applications that use the gperftools package. - - %prep %setup -q %patch4 -p1 @@ -82,48 +80,54 @@ %build autoreconf -fi -export CXXFLAGS="%optflags -fno-strict-aliasing" -export CFLAGS="%optflags -fno-strict-aliasing" -%configure --disable-static --with-gnu-ld --with-pic +export CXXFLAGS="%{optflags} -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing" +%configure \ + --disable-static \ + --with-gnu-ld \ + --with-pic make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -%{__rm} -f %{buildroot}%{_libdir}/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print %post -n libprofiler0 -p /sbin/ldconfig + %postun -n libprofiler0 -p /sbin/ldconfig + %post -n libtcmalloc4 -p /sbin/ldconfig + %postun -n libtcmalloc4 -p /sbin/ldconfig %files %defattr(-,root,root) -%_bindir/pprof -%_mandir/man1/pprof.1.gz -%_docdir/%name +%{_bindir}/pprof +%{_mandir}/man1/pprof.1.* +%{_docdir}/%{name} %files -n libprofiler0 %defattr(-,root,root) -%_libdir/libprofiler.so.0* +%{_libdir}/libprofiler.so.0* %files -n libtcmalloc4 %defattr(-,root,root) -%_libdir/libtcmalloc.so.4* -%_libdir/libtcmalloc_debug.so.4* -%_libdir/libtcmalloc_minimal.so.4* -%_libdir/libtcmalloc_minimal_debug.so.4* -%_libdir/libtcmalloc_and_profiler.so.4* +%{_libdir}/libtcmalloc.so.4* +%{_libdir}/libtcmalloc_debug.so.4* +%{_libdir}/libtcmalloc_minimal.so.4* +%{_libdir}/libtcmalloc_minimal_debug.so.4* +%{_libdir}/libtcmalloc_and_profiler.so.4* %files devel %defattr(-,root,root) -%_includedir/google -%_includedir/gperftools -%_libdir/libprofiler.so -%_libdir/libtcmalloc.so -%_libdir/libtcmalloc_debug.so -%_libdir/libtcmalloc_minimal.so -%_libdir/libtcmalloc_minimal_debug.so -%_libdir/libtcmalloc_and_profiler.so -%_libdir/pkgconfig/*.pc +%{_includedir}/google +%{_includedir}/gperftools +%{_libdir}/libprofiler.so +%{_libdir}/libtcmalloc.so +%{_libdir}/libtcmalloc_debug.so +%{_libdir}/libtcmalloc_minimal.so +%{_libdir}/libtcmalloc_minimal_debug.so +%{_libdir}/libtcmalloc_and_profiler.so +%{_libdir}/pkgconfig/*.pc %changelog