Hello community,

here is the log from the commit of package chmlib for openSUSE:Factory checked 
in at 2012-02-16 16:11:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chmlib (Old)
 and      /work/SRC/openSUSE:Factory/.chmlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chmlib", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/chmlib/chmlib.changes    2011-09-23 
01:53:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.chmlib.new/chmlib.changes       2012-02-16 
16:11:49.000000000 +0100
@@ -1,0 +2,12 @@
+Mon Feb 13 10:44:58 UTC 2012 - [email protected]
+
+- patch license to follow spdx.org standard
+
+-------------------------------------------------------------------
+Sat Sep 17 22:55:07 UTC 2011 - [email protected]
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+- Implement shlib policy
+
+-------------------------------------------------------------------

New:
----
  baselibs.conf

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

Other differences:
------------------
++++++ chmlib.spec ++++++
--- /var/tmp/diff_new_pack.Xwec5y/_old  2012-02-16 16:11:49.000000000 +0100
+++ /var/tmp/diff_new_pack.Xwec5y/_new  2012-02-16 16:11:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package chmlib (Version 0.40)
+# spec file for package chmlib
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,64 +15,52 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           chmlib
+%define lname  libchm0
 BuildRequires:  gcc-c++
-License:        LGPL v2.1 or later
-Group:          System/Libraries
-AutoReqProv:    on
 Version:        0.40
-Release:        2
+Release:        0
 Source0:        %{name}-%{version}.tar.bz2
+Source2:        baselibs.conf
 Patch:          %{name}-0.39.diff
 Url:            http://www.jedrea.com/chmlib/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        A library for dealing with ITSS/CHM files
+License:        LGPL-2.1+
+Group:          System/Libraries
 
 %description
 CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
 
+%package -n %lname
+Summary:        A library for dealing with ITSS/CHM files
+Group:          System/Libraries
+Obsoletes:      chmlib < %version-%release
+Provides:       chmlib = %version-%release
 
-
-Authors:
---------
-    Jed Wing <[email protected]>
+%description -n %lname
+CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
 
 %package      devel
-License:        LGPL v2.1 or later
 Summary:        Documentation and Headers for chmlib
 Group:          System/Libraries
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
 
 %description   devel
 This package contains the headers and documentation for the chmlib API
 that programmers will need to develop applications which use chmlib,
 the software library for dealing with Microsoft ITSS/CHM format files.
 
-
-
-Authors:
---------
-    Jed Wing <[email protected]>
-
 %package        examples
-License:        LGPL v2.1 or later
 Summary:        Example applications for chmlib
 Group:          System/Libraries
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
 
 %description   examples
 This package contains examples built on chmlib which may be useful
 to convert chm files from command line.
 
-
-
-Authors:
---------
-    Jed Wing <[email protected]>
-
 %prep
 %setup -q
 %patch
@@ -82,20 +70,17 @@
 export CXXFLAGS="$CFLAGS"
 export CXXCPP="g++ -E"
 %configure --disable-static --with-pic --disable-pread --enable-examples
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%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)
 %doc AUTHORS COPYING NEWS README
 %{_libdir}/*.so.*

++++++ baselibs.conf ++++++
libchm0
        obsoletes "chmlib < <version>"
        provides "chmlib = <version>"
chmlib-devel
        requires -chmlib-<targettype>
        requires "libchm0-<targettype> = <version>"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to