Use pkgconfig for libusb

PKG_CHECK_MODULES is used for libusb dependency, so the build requirement
should also use pkgconfig.
This commit is contained in:
Ondrej Holy 2021-05-26 09:42:25 +02:00
parent 960cbc5951
commit 017b3acd47

View File

@ -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 <oholy@redhat.com> - 1.1.18-3
- Drop redundant devel requires
- Disable MTPZ support in RHEL
- Use pkgconfig for libusb
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild