Use pkgconfig for libusb
PKG_CHECK_MODULES is used for libusb dependency, so the build requirement
should also use pkgconfig.
Resolves: #1976905
(cherry picked from Fedora commit 017b3acd47
)
This commit is contained in:
parent
ce3d98d88b
commit
fce62bd629
@ -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-4
|
||||
- Drop redundant devel requires
|
||||
- Disable MTPZ support in RHEL
|
||||
- Use pkgconfig for libusb
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.18-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
Loading…
Reference in New Issue
Block a user