From de35c3de24d4785c4e7dc75cb474bdd438e0a56f Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 8 Jun 2021 11:28:05 +0800 Subject: [PATCH] fixes failed: error: no acceptable C compiler found in PATH --- libmtp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libmtp.spec b/libmtp.spec index 9b84a42..86e3399 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -1,13 +1,13 @@ Name: libmtp Version: 1.1.14 -Release: 5 +Release: 6 Summary: An Initiator implementation of the Media Transfer Protocol (MTP) in the form of a library License: LGPLv2+ URL: http://libmtp.sourceforge.net/ Source0: https://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch -BuildRequires: libusbx-devel, doxygen, libgcrypt-devel, chrpath +BuildRequires: libusbx-devel, doxygen, libgcrypt-devel, chrpath, gcc Requires: udev Provides: %{name}-examples%{?_isa} %{name}-examples Obsoletes: %{name}-examples @@ -65,5 +65,8 @@ chrpath -d $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* %{_libdir}/pkgconfig/%{name}.pc %changelog +* Tue Jun 08 2021 wulei - 1.1.14-6 +- fixes failed: error: no acceptable C compiler found in $PATH + * Fri Nov 29 2019 openEuler Buildteam - 1.1.14-5 - Package init