diff --git a/0000-Allow-any-version-in-the-signal-2.3-series.patch b/0000-Allow-any-version-in-the-signal-2.3-series.patch new file mode 100644 index 0000000..d3af8be --- /dev/null +++ b/0000-Allow-any-version-in-the-signal-2.3-series.patch @@ -0,0 +1,28 @@ +From 79bc80ac3da4aeaa77d1019837dd140b0f32071a Mon Sep 17 00:00:00 2001 +From: Randy Barlow +Date: Sat, 15 Aug 2020 12:11:23 -0400 +Subject: [PATCH] Allow any version in the signal-2.3 series + +This way we don't fail to build with 2.3.3. + +Signed-off-by: Randy Barlow +--- + plugins/signal-protocol/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/signal-protocol/CMakeLists.txt b/plugins/signal-protocol/CMakeLists.txt +index 0ae8411..9bc4e69 100644 +--- a/plugins/signal-protocol/CMakeLists.txt ++++ b/plugins/signal-protocol/CMakeLists.txt +@@ -32,7 +32,7 @@ if(NOT BUILD_LIBSIGNAL_IN_TREE) + # libsignal-protocol-c has a history of breaking compatibility on the patch level + # we'll have to check compatibility for every new release + # distro maintainers may update this dependency after compatibility tests +- find_package(SignalProtocol 2.3.2 EXACT REQUIRED) ++ find_package(SignalProtocol 2.3 REQUIRED) + else() + add_subdirectory(libsignal-protocol-c EXCLUDE_FROM_ALL) + set_property(TARGET curve25519 PROPERTY POSITION_INDEPENDENT_CODE ON) +-- +2.25.4 + diff --git a/dino.spec b/dino.spec index 2bfa06e..2fb2929 100644 --- a/dino.spec +++ b/dino.spec @@ -1,6 +1,6 @@ Name: dino Version: 0.1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3 Summary: Modern XMPP ("Jabber") Chat Client using GTK+/Vala @@ -18,6 +18,8 @@ Source1: %{url}/releases/download/v%{version}/dino-%{version}.tar.gz.asc # # [0] https://wiki.gnupg.org/WKD Source2: https://dino.im/.well-known/openpgpkey/hu/kf5ictsogs7pr4rbewa9ie1he85r9ghc +# Allow dino to build with any libsignalprotocol-2.3 version, not just 2.3.2 +Patch0: 0000-Allow-any-version-in-the-signal-2.3-series.patch BuildRequires: cmake BuildRequires: desktop-file-utils @@ -112,6 +114,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/im.dino.Dino.desktop %changelog +* Sat Aug 15 2020 Randy Barlow - 0.1.0-2 +- Fix FTBFS. + * Fri Jan 31 2020 Randy Barlow - 0.1.0-1 - Update to the first Dino release. - https://dino.im/blog/2020/01/dino-0.1-release/