From 017b3acd47608a355a501d7b40a27a50a9a55868 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Wed, 26 May 2021 09:42:25 +0200 Subject: [PATCH] Use pkgconfig for libusb PKG_CHECK_MODULES is used for libusb dependency, so the build requirement should also use pkgconfig. --- libmtp.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmtp.spec b/libmtp.spec index 83ceda3..49c5e8d 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -12,7 +12,7 @@ License: LGPLv2+ Requires: udev BuildRequires: gcc BuildRequires: make -BuildRequires: libusbx-devel +BuildRequires: pkgconfig(libusb-1.0) BuildRequires: doxygen %if ! 0%{?rhel} BuildRequires: libgcrypt-devel @@ -113,6 +113,7 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* * Wed May 26 2021 Ondrej Holy - 1.1.18-3 - Drop redundant devel requires - Disable MTPZ support in RHEL +- Use pkgconfig for libusb * Tue Jan 26 2021 Fedora Release Engineering - 1.1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild