From 6b31318a6f7af75a3a5be87dd77caf7db298e280 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Tue, 14 Mar 2017 10:41:15 +0100 Subject: [PATCH] Add explicit gvfs-client requirements Add an explicit gvfs-client requirements in order to avoid the following errors from rpmdiff: "Subpackage ... consumes library libgvfscommon.so from subpackage gvfs-client but does not have explicit package version requirement." --- gvfs.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gvfs.spec b/gvfs.spec index e8ecef3..00a2631 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -96,6 +96,7 @@ required to develop applications using gvfs. %package fuse Summary: FUSE support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(fuse) >= %{fuse_version} Requires: fuse >= %{fuse_version} @@ -107,6 +108,7 @@ to access the gvfs filesystems. %package smb Summary: Windows fileshare support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: libsmbclient-devel >= %{libsmbclient_version} BuildRequires: pkgconfig(talloc) >= %{talloc_version} @@ -118,6 +120,7 @@ shares (SMB) to applications using gvfs. %package archive Summary: Archiving support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(libarchive) >= %{libarchive_version} %description archive @@ -128,6 +131,7 @@ as well as ISO images, to applications using gvfs. %package gphoto2 Summary: gphoto2 support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(libgphoto2) >= %{libgphoto2_version} BuildRequires: libusb-devel >= %{libusb_version} BuildRequires: libexif-devel @@ -142,6 +146,7 @@ media players (Media Transfer Protocol) to applications using gvfs. %package afc Summary: AFC support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} Requires: usbmuxd BuildRequires: pkgconfig(libimobiledevice-1.0) >= %{libimobiledevice_version} BuildRequires: pkgconfig(libplist) >= %{libplist_version} @@ -155,6 +160,7 @@ including phones and music players to applications using gvfs. %package afp Summary: AFP support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: libgcrypt-devel >= %{libgcrypt_version} # this should ensure having this new subpackage installed on upgrade from older versions Obsoletes: %{name} < 1.9.4-1 @@ -168,6 +174,7 @@ to applications using gvfs. %package mtp Summary: MTP support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(libmtp) >= %{libmtp_version} %description mtp @@ -178,6 +185,7 @@ MTP based devices (Media Transfer Protocol) to applications using gvfs. %package nfs Summary: NFS support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(libnfs) >= %{libnfs_version} %description nfs @@ -188,6 +196,7 @@ NFS network shares (Network File System) to applications using gvfs. %package goa Summary: GOA support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(goa-1.0) >= %{goa_version} BuildRequires: pkgconfig(libgdata) >= %{libgdata_version} Requires: libgdata%{?_isa} >= %{libgdata_version}