From b772d726301ace0af840211e374b7d13b40b0675 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Wed, 5 Aug 2020 11:16:04 +0200 Subject: [PATCH] Fix libusb(x) requirements Remove outdated libusb-devel requirement from gvfs-gphoto2 and add libusbx resp. libusb-1.0 versioned requirement for gvfs-mtp. --- gvfs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index 6848a27..4931f16 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -132,7 +132,6 @@ 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 %description gphoto2 @@ -177,6 +176,7 @@ Summary: MTP support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-client%{?_isa} = %{version}-%{release} BuildRequires: pkgconfig(libmtp) >= %{libmtp_version} +BuildRequires: pkgconfig(libusb-1.0) >= %{libusb_version} %description mtp This package provides support for reading and writing files on