From 33cc53240385c5397c9c962ea678ad55d3c3c1d6 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Wed, 26 May 2021 09:28:38 +0200 Subject: [PATCH] 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 16f47f18644bd4816bd45858fbec74b0458bbf08) --- libmtp.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libmtp.spec b/libmtp.spec index ae5521e..d89ace6 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -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 - 1.1.18-4 +- Drop redundant devel requires + * Fri Apr 16 2021 Mohan Boddu - 1.1.18-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937