Hello community,

here is the log from the commit of package gperftools for openSUSE:Factory 
checked in at 2014-09-30 19:40:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2014-09-17 
17:25:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gperftools.new/gperftools.changes       
2014-09-30 19:42:03.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Sep 28 18:44:03 UTC 2014 - [email protected]
+
+- Implement shlib packaging guidelines: split libraries
+- Improve on RPM group classification
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gperftools.spec ++++++
--- /var/tmp/diff_new_pack.eU8QtU/_old  2014-09-30 19:42:04.000000000 +0200
+++ /var/tmp/diff_new_pack.eU8QtU/_new  2014-09-30 19:42:04.000000000 +0200
@@ -19,23 +19,24 @@
 Name:           gperftools
 Version:        2.2
 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
 Patch4:         %{name}-fix_docdir.patch
 Patch12:        %{name}_fix_unassigned_malloc_in_unittest.patch
 Patch14:        %{name}_gcc46.patch
 #PATCH-FIX-UPSTREAM https://code.google.com/p/gperftools/issues/detail?id=268
 Patch15:        missing_includes.patch
-BuildRequires:  autoconf
+BuildRequires:  autoconf >= 2.59
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  libunwind-devel
 BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        Performance Tools for C++
-License:        BSD-3-Clause
-Group:          System/Libraries
 Provides:       google-perftools
 Obsoletes:      google-perftools
 ExcludeArch:    s390 s390x
@@ -45,13 +46,28 @@
 performance of C++ programs.  This includes an optimized thread-caching
 malloc() and cpu and heap profiling utilities.
 
+%package -n libprofiler0
+Summary:        CPU and Heap profiling library
+Group:          System/Libraries
+
+%description -n libprofiler0
+This subpackage contains a library with cpu and heap profiling.
+
+%package -n libtcmalloc4
+Summary:        Thread-caching malloc library
+Group:          System/Libraries
 
+%description -n libtcmalloc4
+This subpackage contains a library with optimized thread-caching
+malloc().
 
 %package devel
 Summary:        Performance tools for C++
-Group:          System/Libraries
-Requires:       gperftools = %{version}
+Group:          Development/Libraries/C and C++
+Requires:       %name = %version
+Requires:       libprofiler0 = %version
 Requires:       libstdc++-devel
+Requires:       libtcmalloc4 = %version
 Provides:       google-perftools-devel
 Obsoletes:      google-perftools-devel
 
@@ -70,8 +86,8 @@
 
 %build
 autoreconf -fi
-export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
+export CXXFLAGS="%optflags -fno-strict-aliasing"
+export CFLAGS="%optflags -fno-strict-aliasing"
 %configure --disable-static --with-gnu-ld --with-pic
 make %{?_smp_mflags}
 
@@ -79,22 +95,29 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%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
+
+%files -n libprofiler0
+%defattr(-,root,root)
 %_libdir/libprofiler.so.0*
 # %_libdir/libstacktrace.so.0*   # libstacktrace.so got removed in 0.96
+
+%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*
-%_mandir/man1/pprof.1.gz
-%_docdir/%name
 
 %files devel
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to