Drop redundant devel requirements

It is first time I see that "-devel" package requires packages which are
needed for build only. Also the "libusb1-devel" dependency seems to be
outdated. Let's remove those "Requires:" statements completely.

Resolves: #1976905

(cherry picked from Fedora commit 16f47f1864)
This commit is contained in:
Ondrej Holy 2021-05-26 09:28:38 +02:00
parent 88490ee932
commit 33cc532403

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 1.1.18
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -35,9 +35,6 @@ devices.
%package devel
Summary: Development files for libmtp
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Requires: libusb1-devel
Requires: libgcrypt-devel
%description devel
This package provides development files for the libmtp
@ -107,6 +104,9 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp*
%{_libdir}/pkgconfig/libmtp.pc
%changelog
* Wed May 26 2021 Ondrej Holy <oholy@redhat.com> - 1.1.18-4
- Drop redundant devel requires
* 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