Accepting request 392946 from KDE:Distro:Factory
- Added require-lower-LibGMP.patch: 6.0.0 version was chosen randomly, and we know the code compiles with at least 5.1.3 OBS-URL: https://build.opensuse.org/request/show/392946 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libktorrent?expand=0&rev=34
This commit is contained in:
parent
b920e54e68
commit
7e8b6d8bfb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 29 18:58:13 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Added require-lower-LibGMP.patch: 6.0.0 version was chosen
|
||||
randomly, and we know the code compiles with at least 5.1.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 11:33:32 UTC 2016 - tittiatcoke@gmail.com
|
||||
|
||||
|
@ -27,10 +27,12 @@ License: GPL-2.0+
|
||||
Group: Productivity/Networking/File-Sharing
|
||||
Url: http://ktorrent.org/
|
||||
Source0: http://download.kde.org/stable/ktorrent/%{ktor_ver}/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-OPENSUSE require-lower-LibGMP.patch
|
||||
Patch0: require-lower-LibGMP.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: gmp-devel >= 5.1.3
|
||||
BuildRequires: karchive-devel
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: ki18n-devel
|
||||
@ -71,6 +73,7 @@ libktorrent is a torrent downloading library.
|
||||
%lang_package -n libktorrent%{sonum}
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
13
require-lower-LibGMP.patch
Normal file
13
require-lower-LibGMP.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index fab39f2..7790d39 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -26,7 +26,7 @@ include(ECMSetupVersion)
|
||||
include(ECMPackageConfigHelpers)
|
||||
|
||||
set(Boost_MIN_VERSION "1.34.0")
|
||||
-set(LibGMP_MIN_VERSION "6.0.0")
|
||||
+set(LibGMP_MIN_VERSION "5.1.3")
|
||||
set(LibGcrypt_MIN_VERSION "1.4.5")
|
||||
set(KF5_MIN_VERSION "5.15")
|
||||
set(QT_MIN_VERSION "5.2.0")
|
Loading…
x
Reference in New Issue
Block a user