Hello community, here is the log from the commit of package libharu for openSUSE:Factory checked in at 2015-12-16 17:42:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libharu (Old) and /work/SRC/openSUSE:Factory/.libharu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libharu" Changes: -------- --- /work/SRC/openSUSE:Factory/libharu/libharu.changes 2013-04-10 20:26:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libharu.new/libharu.changes 2015-12-16 17:42:28.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Dec 7 20:55:40 UTC 2015 - jengelh@inai.de + +- Correct shlib package name; adjust RPM groups + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libharu.spec ++++++ --- /var/tmp/diff_new_pack.9kmNpD/_old 2015-12-16 17:42:29.000000000 +0100 +++ /var/tmp/diff_new_pack.9kmNpD/_new 2015-12-16 17:42:29.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libharu # -# Copyright (c) 2013 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 @@ -19,10 +19,10 @@ Name: libharu Version: 2.2.1 Release: 0 -%define libver 2_2_1 +%define lname libhpdf-2_2_1 Summary: Cross platform library for generating PDF files License: Zlib -Group: System/Libraries +Group: Productivity/Office/Other Url: http://libharu.org Source0: http://libharu.org/files/%{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc @@ -46,11 +46,14 @@ - Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). - Supporting CJK fonts and encodings. -%package -n %{name}-%{libver} +%package -n %lname Summary: Cross platform library for generating PDF files Group: System/Libraries +# used wrong shlib packaging name.. +Obsoletes: libharu-2_2_1 < %version-%release +Provides: libharu-2_2_1 = %version-%release -%description -n %{name}-%{libver} +%description -n %lname libHaru is a free, cross platform, open source library for generating PDF files. It supports the following features: - Generating PDF files with lines, text, images. @@ -65,7 +68,7 @@ %package devel Summary: Development files for libharu Group: Development/Libraries/C and C++ -Requires: %{name}-%{libver} = %{version} +Requires: %lname = %version Requires: libpng-devel Requires: zlib-devel @@ -85,14 +88,14 @@ make %{?_smp_mflags} %install -%makeinstall +%make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%post -n %{name}-%{libver} -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%postun -n %{name}-%{libver} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %{name}-%{libver} +%files -n %{lname} %defattr(-,root,root) %doc README %{_libdir}/libhpdf-%{version}.so