Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libharu for openSUSE:Factory checked in at 2022-09-14 13:45:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libharu (Old) and /work/SRC/openSUSE:Factory/.libharu.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libharu" Wed Sep 14 13:45:13 2022 rev:9 rq:1003460 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libharu/libharu.changes 2018-01-19 11:51:34.732260113 +0100 +++ /work/SRC/openSUSE:Factory/.libharu.new.2083/libharu.changes 2022-09-14 13:45:27.349965808 +0200 @@ -1,0 +2,23 @@ +Mon Sep 12 08:53:51 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 2.4.2: + * Fixed library name + * Set correct version number + * Add support for free-form triangle shading objects. + * Fix config constant to match use in hpdf_mmgr.c + * Improve small number writing in HPDF_FToA. + * Fix missing /CapHeight key in font definition + * Change HPDF_Page_CreateXObjectFromImage zoom parameter type to HPDF??? + * Fix another case of png files with background mask save uncompressed + * Avoid issue with libtiff duplicate symbols + * Reajust bit_depth of png image after striping depth from 16 to 8. + * Fixed typo in Japanese font name: Mincyo -> Mincho + * Fix various typos + * hpdf.h: add missing HPDF_Boolean typedef + * Moved to a CMake only build environment. + * Fix bad unicode in comment + * Fix various typos +- package license +- drop upstream patches: libharu-cmake.patch, libharu-link-libm.patch + +------------------------------------------------------------------- Old: ---- RELEASE_2_3_0.tar.gz libharu-cmake.patch libharu-link-libm.patch New: ---- libharu-2.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libharu.spec ++++++ --- /var/tmp/diff_new_pack.tNZWaN/_old 2022-09-14 13:45:27.861967097 +0200 +++ /var/tmp/diff_new_pack.tNZWaN/_new 2022-09-14 13:45:27.865967107 +0200 @@ -1,7 +1,7 @@ # # spec file for package libharu # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define relver 2_3_0 +%define relver 2_4_2 +%define lname libhpdf%{relver} Name: libharu -Version: 2.3.0 +Version: 2.4.2 Release: 0 -%define lname libhpdf%{relver} Summary: Library for generating PDF files License: Zlib Group: Productivity/Office/Other -Url: http://libharu.org -Source0: https://github.com/libharu/libharu/archive/RELEASE_%{relver}.tar.gz -# PATCH-FIX-UPSTREAM libharu-link-libm.patch gh#libharu/libharu#158 badshah...@opensuse.org -- Add libm to linker argument to fix build failures -Patch0: libharu-link-libm.patch -# PATCH-FIX-UPSTREAM libharu-cmake.patch badshah...@opensuse.org -- Fix installation locations when using cmake-based build; patch taken from Fedora -Patch1: libharu-cmake.patch +URL: http://libharu.org +Source0: https://github.com/libharu/libharu/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: cmake BuildRequires: libpng-devel BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libHaru is a library for generating PDF files. @@ -48,12 +43,12 @@ - Using various character sets (ISO8859-1~16, MSCP1250~8, KOI8-R). - CJK fonts and encodings. -%package -n %lname +%package -n %{lname} Summary: Library for generating PDF files # used wrong shlib packaging name.. Group: System/Libraries -%description -n %lname +%description -n %{lname} libHaru is a library for generating PDF files. It supports the following features: - Generating PDF files with lines, text, images. @@ -77,11 +72,7 @@ applications that use %{name}. %prep -%setup -q -n %{name}-RELEASE_%{relver} -%patch0 -p1 -%patch1 -p1 -# fix wrong-file-end-of-line-encoding -sed -i 's/\r$//' README +%setup -q %build %cmake -DLIBHPDF_STATIC=NO @@ -89,21 +80,18 @@ %install %cmake_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{lname} -p /sbin/ldconfig - %postun -n %{lname} -p /sbin/ldconfig %files -n %{lname} -%defattr(-,root,root) -%doc README -%{_libdir}/libhpdf.so.%{version} +%license LICENSE +%doc README.md +%{_libdir}/libhpdf.so %files devel -%defattr(-,root,root) %{_includedir}/*.h -%{_libdir}/libhpdf.so %{_datadir}/%{name}/ %changelog