Hello community,

here is the log from the commit of package kio-fuse for openSUSE:Factory 
checked in at 2020-01-01 14:59:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kio-fuse (Old)
 and      /work/SRC/openSUSE:Factory/.kio-fuse.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kio-fuse"

Wed Jan  1 14:59:10 2020 rev:1 rq:760187 version:4.90.0

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Factory/.kio-fuse.new.6675/kio-fuse.changes      
2020-01-01 14:59:22.657964929 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Tue Dec 31 18:46:53 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Skip %check if fusermount3 is not executable. post-build-checks
+  breaks it in openSUSE:Factory (boo#1159963)
+
+-------------------------------------------------------------------
+Fri Nov 29 13:04:21 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Initial commit

New:
----
  0001-Use-target_link_libraries-instead-of-target_link_opt.patch
  kio-fuse-4.90.0.tar.xz
  kio-fuse-4.90.0.tar.xz.sig
  kio-fuse.changes
  kio-fuse.keyring
  kio-fuse.spec

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

Other differences:
------------------
++++++ kio-fuse.spec ++++++
#
# spec file for package kio-fuse
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%bcond_without lang
Name:           kio-fuse
Version:        4.90.0
Release:        0
Summary:        Access KIO over the regular filesystem
License:        GPL-3.0-or-later
Group:          System/GUI/KDE
URL:            https://www.kde.org
Source0:        
https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz
%if %{with lang}
Source1:        
https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig
Source2:        kio-fuse.keyring
%endif
# PATCH-FIX-UPSTREAM https://invent.kde.org/kde/kio-fuse/merge_requests/16
Patch1:         0001-Use-target_link_libraries-instead-of-target_link_opt.patch
BuildRequires:  extra-cmake-modules
BuildRequires:  pkgconfig
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5DBusAddons)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Test)
BuildRequires:  pkgconfig(fuse3)
Requires:       fuse3
# For %check
BuildRequires:  kio-extras5

%description
kio-fuse is a daemon which makes KIO URLs accessible to KIO unaware
applications using FUSE.

%prep
%autosetup -p1

%build
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
%make_jobs

%install
%kf5_makeinstall -C build

%if 0%{?suse_version} > 1500
%check
# The hack below only works with util-linux 3.34+.
# Without working umount, the tests can't work :-(

ret=0
fusermount3 || ret=$?
if [ $ret -eq 126 ] ; then
        # No permission to run fusermount3: boo#1159963
        exit 0
fi

# Hack to make "fusermount3 -u" work in the OBS context
# (https://github.com/openSUSE/obs-build/issues/535)
echo -e '#!/bin/sh\numount $2' >> fusermount3
chmod a+x fusermount3
export PATH=$PWD:$PATH

export CTEST_OUTPUT_ON_FAILURE=1
make %{?_smp_mflags} -C build VERBOSE=1 test
%endif

%files
%license COPYING*
%{_kf5_libdir}/libexec/kio-fuse
%{_tmpfilesdir}/kio-fuse-tmpfiles.conf
%{_kf5_sharedir}/dbus-1/services/org.kde.KIOFuse.service

%changelog
++++++ 0001-Use-target_link_libraries-instead-of-target_link_opt.patch ++++++
>From 14d16524ae0233518111ae7631f540178bc25dcf Mon Sep 17 00:00:00 2001
From: Fabian Vogt <[email protected]>
Date: Wed, 25 Dec 2019 14:15:51 +0100
Subject: [PATCH] Use target_link_libraries instead of target_link_options for
 FUSE3_LDFLAGS

target_link_options got added in CMake 3.13, which is not always available.
---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8fe1df9..94c3323 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,8 +55,7 @@ ecm_qt_declare_logging_category(KIOFUSE_SOURCES
 add_executable(kio-fuse ${KIOFUSE_SOURCES})
 target_include_directories(kio-fuse PRIVATE ${FUSE3_INCLUDE_DIRS})
 target_compile_definitions(kio-fuse PRIVATE FUSE_USE_VERSION=31 
${FUSE3_CFLAGS_OTHER})
-target_link_options(kio-fuse PRIVATE ${FUSE3_LDFLAGS})
-target_link_libraries(kio-fuse PRIVATE Qt5::Core KF5::KIOCore 
${FUSE3_LIBRARIES})
+target_link_libraries(kio-fuse PRIVATE Qt5::Core KF5::KIOCore 
${FUSE3_LIBRARIES} ${FUSE3_LDFLAGS})
 install(TARGETS kio-fuse DESTINATION ${KDE_INSTALL_FULL_LIBEXECDIR})
 install(FILES kio-fuse-tmpfiles.conf DESTINATION 
${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d)
 kdbusaddons_generate_dbus_service_file(kio-fuse org.kde.KIOFuse 
${KDE_INSTALL_FULL_LIBEXECDIR})
-- 
2.23.0


Reply via email to