Hello community, here is the log from the commit of package podofo for openSUSE:Factory checked in at 2018-10-17 08:41:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/podofo (Old) and /work/SRC/openSUSE:Factory/.podofo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "podofo" Wed Oct 17 08:41:52 2018 rev:28 rq:642256 version:0.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/podofo/podofo.changes 2018-07-21 10:24:42.774964852 +0200 +++ /work/SRC/openSUSE:Factory/.podofo.new/podofo.changes 2018-10-17 08:42:49.505783305 +0200 @@ -1,0 +2,6 @@ +Tue Oct 16 11:22:48 UTC 2018 - Christophe Giboudeaux <christo...@krop.fr> + +- Add fix-build.patch to fix a build issue with recent CMake versions. +- Run spec-cleaner + +------------------------------------------------------------------- New: ---- fix-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ podofo.spec ++++++ --- /var/tmp/diff_new_pack.zdviL4/_old 2018-10-17 08:42:50.693782298 +0200 +++ /var/tmp/diff_new_pack.zdviL4/_new 2018-10-17 08:42:50.697782295 +0200 @@ -12,21 +12,21 @@ # 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 libver 0_9_6 - Name: podofo Version: 0.9.6 Release: 0 Summary: Tools to work with PDF files License: GPL-2.0-or-later Group: Productivity/Publishing/PDF -Url: http://podofo.sourceforge.net/ +URL: http://podofo.sourceforge.net/ Source0: http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz - +# PATCH-FIX-UPSTREAM fix-build.patch +Patch0: fix-build.patch BuildRequires: cmake >= 2.5 BuildRequires: doxygen BuildRequires: fdupes @@ -42,13 +42,11 @@ BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Command line tools for working with PDF files. %package -n libpodofo%{libver} - Summary: PDF parsing and creation library License: LGPL-2.1-or-later Group: System/Libraries @@ -67,7 +65,7 @@ %prep %setup -q -%autopatch -p3 +%patch0 -p0 # Remove build time references so build-compare can do its work echo "HTML_TIMESTAMP = NO" >> Doxyfile @@ -92,7 +90,7 @@ %install pushd build -%makeinstall DESTDIR=%{buildroot} +%make_install DESTDIR=%{buildroot} popd # Install devel docs (do it manually to fix also rpmlint warning "files-duplicate" with %%fdupes) @@ -103,21 +101,20 @@ %fdupes -s %{buildroot} %post -n libpodofo%{libver} -p /sbin/ldconfig - %postun -n libpodofo%{libver} -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.html +%license COPYING +%doc AUTHORS README.html %{_bindir}/* -%doc %{_mandir}/man1/podofo*.1%{ext_man} +%{_mandir}/man1/podofo*.1%{?ext_man} %files -n libpodofo%{libver} -%defattr(-,root,root,-) +%license COPYING %{_libdir}/libpodofo.so.%{version} %files -n libpodofo-devel -%defattr(-,root,root,-) +%license COPYING %doc %{_docdir}/libpodofo-devel/ %{_includedir}/podofo/ %{_libdir}/libpodofo.so ++++++ fix-build.patch ++++++ ------------------------------------------------------------------------ r1942 | mc-zyx | 2018-09-30 18:16:47 +0200 (dim., 30 sept. 2018) | 4 lines Patch by heirecka: Fix build with cmake >= 3.12 Closes https://sourceforge.net/p/podofo/tickets/24/ Index: test/TokenizerTest/CMakeLists.txt =================================================================== --- test/TokenizerTest/CMakeLists.txt (revision 1941) +++ test/TokenizerTest/CMakeLists.txt (revision 1942) @@ -2,10 +2,3 @@ TARGET_LINK_LIBRARIES(TokenizerTest ${PODOFO_LIB} ${PODOFO_LIB_DEPENDS}) SET_TARGET_PROPERTIES(TokenizerTest PROPERTIES COMPILE_FLAGS "${PODOFO_CFLAGS}") ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET}) - -# Copy the test samples over to the build tree -ADD_CUSTOM_COMMAND( - TARGET TokenizerTest - POST_BUILD - COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects" - ) ------------------------------------------------------------------------