Add gcc to BuildRequires (#1604654)

This commit is contained in:
Peter Hutterer 2018-07-20 10:56:44 +10:00
parent c01b721616
commit 7008781f0a

View File

@ -2,13 +2,13 @@
Name: libratbag
Version: 0.9.902
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Summary: Programmable input device library
License: MIT
URL: https://github.com/libratbag/libratbag
Source0: https://github.com/libratbag/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: git gcc gcc-c++
BuildRequires: meson pkgconfig
BuildRequires: libevdev-devel
BuildRequires: libudev-devel
@ -56,9 +56,9 @@ developing applications that use liblur.
%build
# s390x builds sometimes fails during the tests, let just disable those
%ifarch s390x
%meson -Dudev-dir=%{udevdir} -Denable-documentation=false -Denable-tests=false
%meson -Dudev-dir=%{udevdir} -Ddocumentation=false -Denable-tests=false
%else
%meson -Dudev-dir=%{udevdir} -Denable-documentation=false
%meson -Dudev-dir=%{udevdir} -D-documentation=false
%endif
%meson_build
@ -104,6 +104,10 @@ developing applications that use liblur.
%{_libdir}/pkgconfig/liblur.pc
%changelog
* Fri Jul 20 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.9.902-4
- Add gcc to BuildRequires (#1604654)
- Change to use the correct -Ddocumentation=false
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.902-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild