[packages/libktorrent] - fixed linking - rel 3
baggins
baggins at pld-linux.org
Thu Jan 2 18:29:05 CET 2014
commit 1360ce05bf4596024600c285cfbec374dfc807c2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jan 2 18:28:54 2014 +0100
- fixed linking
- rel 3
libktorrent.spec | 5 ++++-
link.patch | 9 +++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/libktorrent.spec b/libktorrent.spec
index d5b5ce2..f4112b3 100644
--- a/libktorrent.spec
+++ b/libktorrent.spec
@@ -9,15 +9,17 @@ Summary: libktorrent
Summary(pl.UTF-8): libktorrent
Name: libktorrent
Version: 1.1.3
-Release: 2
+Release: 3
License: GPL
Group: X11/Libraries
Source0: http://ktorrent.org/downloads/%{ktorrentver}/%{name}-%{version}.tar.bz2
# Source0-md5: 665b6139ab68b83c6465509e29e839e0
+Patch0: link.patch
URL: http://ktorrent.org/
BuildRequires: automoc4 >= 0.9.88
BuildRequires: cmake >= 2.8.0
BuildRequires: kde4-kdelibs-devel >= %{kdever}
+BuildRequires: qca-devel
BuildRequires: qt4-build >= %{qtver}
BuildRequires: qt4-qmake >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.293
@@ -43,6 +45,7 @@ Pliki nagłówkowe biblioteki ktorrent.
%prep
%setup -q
+%patch0 -p1
%build
install -d build
diff --git a/link.patch b/link.patch
new file mode 100644
index 0000000..7b47668
--- /dev/null
+++ b/link.patch
@@ -0,0 +1,9 @@
+--- libktorrent-1.1.3/src/util/tests/CMakeLists.txt~ 2011-11-22 18:21:28.000000000 +0100
++++ libktorrent-1.1.3/src/util/tests/CMakeLists.txt 2014-01-02 18:27:13.519362634 +0100
+@@ -14,4 +14,4 @@
+
+ set(fileopstest_SRCS fileopstest.cpp)
+ kde4_add_unit_test(fileopstest TESTNAME fileopstest ${fileopstest_SRCS})
+-target_link_libraries( fileopstest ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY} ktorrent)
+\ No newline at end of file
++target_link_libraries( fileopstest ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} ${QT_QTTEST_LIBRARY} ktorrent)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libktorrent.git/commitdiff/1360ce05bf4596024600c285cfbec374dfc807c2
More information about the pld-cvs-commit
mailing list