Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ebook-tools for openSUSE:Factory checked in at 2021-01-15 19:43:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old) and /work/SRC/openSUSE:Factory/.ebook-tools.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ebook-tools" Fri Jan 15 19:43:36 2021 rev:22 rq:861866 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes 2019-05-03 22:25:46.752134964 +0200 +++ /work/SRC/openSUSE:Factory/.ebook-tools.new.28504/ebook-tools.changes 2021-01-15 19:43:39.841783698 +0100 @@ -1,0 +2,5 @@ +Mon Jan 4 10:34:41 UTC 2021 - Dirk M??ller <[email protected]> + +- use cmake build macros + spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ebook-tools.spec ++++++ --- /var/tmp/diff_new_pack.8rYnd5/_old 2021-01-15 19:43:40.321784484 +0100 +++ /var/tmp/diff_new_pack.8rYnd5/_new 2021-01-15 19:43:40.321784484 +0100 @@ -1,7 +1,7 @@ # # spec file for package ebook-tools # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,23 @@ Name: ebook-tools +Version: 0.2.2 +Release: 0 Summary: A library for reading ebook files License: MIT Group: Development/Libraries/C and C++ -Version: 0.2.2 -Release: 0 -Url: http://sourceforge.net/projects/ebook-tools -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: libxml2-devel -BuildRequires: libzip-devel -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: %name-%{version}.tar.gz +URL: https://sourceforge.net/projects/ebook-tools/ +Source: %{name}-%{version}.tar.gz Source1: baselibs.conf Patch1: ebook-tools-64bit-installation.diff Patch2: ebook-tools-visibility-hidden.patch # PATCH-FIX-OPENSUSE - fix https://sourceforge.net/p/ebook-tools/bugs/8/ Patch3: 0001-Avoid-crash-on-toc-navPoint-without-navLabel.patch +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libzip) %description ebook-tools provides some tools to handle ebook files @@ -55,30 +54,22 @@ %description -n libepub-devel Header files for the libepub library - %prep -%setup +%setup -q %patch1 -p1 %patch2 %patch3 -p2 %build -mkdir build -cd build - export CFLAGS=$RPM_OPT_FLAGS - export CXXFLAGS=$RPM_OPT_FLAGS - export LDFLAGS="-Wl,-Bsymbolic-functions $LDFLAGS" - _libsuffix=$(echo %_lib | cut -b4-) - cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%_prefix -DLIB_SUFFIX="$_libsuffix" .. -%{__make} %{?_smp_mflags} VERBOSE=1 +%cmake + +%cmake_build %install -cd build -%{__make} install DESTDIR=%{buildroot} +%cmake_install nm -C -D %{buildroot}%{_libdir}/libepub.so.* %post -n libepub0 -p /sbin/ldconfig - %postun -n libepub0 -p /sbin/ldconfig %files
