Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rnp for openSUSE:Factory checked in 
at 2022-01-15 20:05:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rnp (Old)
 and      /work/SRC/openSUSE:Factory/.rnp.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rnp"

Sat Jan 15 20:05:08 2022 rev:4 rq:946592 version:0.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rnp/rnp.changes  2021-08-10 10:27:34.741804712 
+0200
+++ /work/SRC/openSUSE:Factory/.rnp.new.1892/rnp.changes        2022-01-15 
20:05:12.053759064 +0100
@@ -1,0 +2,5 @@
+Sat Jan 15 08:14:17 UTC 2022 - Andreas Stieger <[email protected]>
+
+- disable tests
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rnp.spec ++++++
--- /var/tmp/diff_new_pack.C3Qt3f/_old  2022-01-15 20:05:12.505759416 +0100
+++ /var/tmp/diff_new_pack.C3Qt3f/_new  2022-01-15 20:05:12.509759419 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package rnp
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2021 Andreas Stieger <[email protected]>
+# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2022 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
 
 
 %define soname 0
+%bcond_with rnp_tests
 Name:           rnp
 Version:        0.15.2
 Release:        0
@@ -30,13 +31,15 @@
 # https://github.com/rnpgp/rnp/issues/1579
 BuildRequires:  git
 BuildRequires:  gpg2 >= 2.2
-BuildRequires:  gtest
 BuildRequires:  pkgconfig
 BuildRequires:  cmake(json-c) >= 0.11
 BuildRequires:  pkgconfig(botan-2) >= 2.14.0
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(zlib)
 BuildRequires:  rubygem(asciidoctor)
+%if %{with rnp_tests}
+BuildRequires:  gtest
+%endif
 
 %description
 RNP is a set of OpenPGP (RFC4880) tools, an alternative to GnuPG.
@@ -63,9 +66,13 @@
 %build
 %cmake \
        -DBUILD_SHARED_LIBS=on \
-       -DBUILD_TESTING=on \
        -DDOWNLOAD_GTEST=off \
        -DDOWNLOAD_RUBYRNP=off \
+%if %{with rnp_tests}
+       -DBUILD_TESTING=on \
+%else
+       -DBUILD_TESTING=off \
+%endif
 
 %cmake_build
 
@@ -73,7 +80,9 @@
 %cmake_install
 
 %check
+%if %{with rnp_tests}
 %ctest
+%endif
 
 %post -n librnp%{soname} -p /sbin/ldconfig
 %postun -n librnp%{soname} -p /sbin/ldconfig

Reply via email to