add build requires for resolving building errors

This commit is contained in:
baizg1107 2021-06-08 14:45:43 +08:00
parent faaf2cfff1
commit c7c59c4aea

View File

@ -1,13 +1,13 @@
Name: gphoto2
Version: 2.5.17
Release: 3
Release: 4
Summary: Access software for digital cameras
License: GPLv2+
Url: http://www.gphoto.org/
Source0: http://downloads.sourceforge.net/gphoto/gphoto2-%{version}.tar.bz2
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
BuildRequires: pkgconfig(libexif) popt-devel readline-devel
BuildRequires: pkgconfig(libexif) popt-devel readline-devel gcc
%description
The gPhoto2 project is a universal free application and library framework that allows you to download
@ -39,5 +39,9 @@ This package provides documentation for gphoto2.
%{_mandir}/man1/gphoto2.1*
%changelog
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 2.5.17-4
- Fix building error: configure: error: no acceptable C compiler found in $PATH
- Add gcc in BuildRequires
* Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3
- Package init