[packages/podofo] - "fix" broken test target - rel 2
baggins
baggins at pld-linux.org
Sun Nov 25 00:02:32 CET 2018
commit 4ee7bac59b4ca6677ea7e240520a7dadb126fc66
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Nov 24 23:02:05 2018 +0000
- "fix" broken test target
- rel 2
fix-broken-test.patch | 13 +++++++++++++
podofo.spec | 4 +++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/podofo.spec b/podofo.spec
index 652b0e5..3538c16 100644
--- a/podofo.spec
+++ b/podofo.spec
@@ -6,11 +6,12 @@ Summary: Library to work with PDF files
Summary(pl.UTF-8): Biblioteka do obsługi PDF-ów
Name: podofo
Version: 0.9.6
-Release: 1
+Release: 2
License: LGPL with OpenSSL exception
Group: Libraries
Source0: http://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
# Source0-md5: 46336fc4c4ce4be814bb5fbb4d918334
+Patch0: fix-broken-test.patch
URL: http://podofo.sourceforge.net/
BuildRequires: cmake >= 2.6
BuildRequires: cppunit-devel
@@ -113,6 +114,7 @@ Programy przykładowe do PoDoFo.
%prep
%setup -q
+%patch0 -p1
%build
install -d build
diff --git a/fix-broken-test.patch b/fix-broken-test.patch
new file mode 100644
index 0000000..37e878f
--- /dev/null
+++ b/fix-broken-test.patch
@@ -0,0 +1,13 @@
+--- podofo-0.9.6/test/TokenizerTest/CMakeLists.txt~ 2007-09-16 09:33:38.000000000 +0000
++++ podofo-0.9.6/test/TokenizerTest/CMakeLists.txt 2018-11-24 22:55:30.537463201 +0000
+@@ -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"
+- )
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/podofo.git/commitdiff/4ee7bac59b4ca6677ea7e240520a7dadb126fc66
More information about the pld-cvs-commit
mailing list