Hello community,

here is the log from the commit of package commoncpp2 for openSUSE:Factory 
checked in at 2013-06-18 10:29:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/commoncpp2 (Old)
 and      /work/SRC/openSUSE:Factory/.commoncpp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "commoncpp2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/commoncpp2/commoncpp2.changes    2012-09-26 
16:10:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.commoncpp2.new/commoncpp2.changes       
2013-06-18 10:29:38.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jun 13 20:58:12 UTC 2013 - [email protected]
+
+- Implement shlib packaging guidelines
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ commoncpp2.spec ++++++
--- /var/tmp/diff_new_pack.3Xloym/_old  2013-06-18 10:29:38.000000000 +0200
+++ /var/tmp/diff_new_pack.3Xloym/_new  2013-06-18 10:29:38.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package commoncpp2
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products 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,25 +17,28 @@
 
 
 Name:           commoncpp2
-BuildRequires:  doxygen
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
-BuildRequires:  pkg-config
-BuildRequires:  zlib-devel
-Provides:       CommonC++
-Provides:       commonc++
-Obsoletes:      CommonC++
-Obsoletes:      commonc++
-Summary:        A GNU package for creating portable C++ program
+%define lname  libcommoncpp2-1_8-0
+Summary:        A GNU lirbary package for creating portable C++ programs
 License:        GPL-2.0+
 Group:          Development/Libraries/C and C++
 Version:        1.8.1
 Release:        0
 Url:            http://www.gnu.org/software/commoncpp/
+
 Source:         %{name}-%{version}.tar.gz
 Patch:          commoncpp2-overflow.patch
 Patch1:         commoncpp2-applog.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  doxygen
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  pkg-config
+BuildRequires:  zlib-devel
+Provides:       CommonC++
+Provides:       commonc++
+Obsoletes:      CommonC++
+Obsoletes:      commonc++
 
 %description
 Common C++ is a GNU package which offers portable "abstraction" of
@@ -52,8 +55,22 @@
 --------
     David Sugar <[email protected]>
 
+%package -n %lname
+Summary:        A GNU library package for creating portable C++ programs
+Group:          System/Libraries
+# Added for 13.1
+Obsoletes:      commoncpp2 < %version-%release
+Provides:       commoncpp2 = %version-%release
+
+%description -n %lname
+Common C++ is a GNU package which offers portable "abstraction" of
+system services such as threads, networks, and sockets.  Common C++
+also offers individual frameworks generally useful to developing
+portable C++ applications including a object persistance engine, math
+libraries, threading, sockets, etc.
+
 %package devel
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
 Requires:       libstdc++-devel
 Requires:       zlib-devel
 Provides:       CommonC++-devel = %{version}
@@ -115,14 +132,15 @@
 install -m 644 AUTHORS COPYING COPYING.addendum NEWS README TODO ChangeLog  
$RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/
 rm -f $RPM_BUILD_ROOT/usr/share/info/commoncpp2.info*
 rm -f %{buildroot}%{_libdir}/libcc*.la
+%fdupes %buildroot/%_prefix
 
-%post -p /sbin/ldconfig
+%post   -n %lname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%files
+%files -n %lname
 %defattr(-,root,root,0755)
-%{_libdir}/libcc*-*.so.*
+%{_libdir}/libcc*-1.8.so.0*
 
 %files devel 
 %defattr(-,root,root,0755)

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

Reply via email to