Add missing build-requires on GCC

Packages that are built with GCC must BuildRequire it.
See: https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
This commit is contained in:
Mikolaj Izdebski 2017-01-31 22:34:05 +01:00
parent a2a5d73b35
commit dc00d81637

View File

@ -4,7 +4,7 @@
Summary: ANother Tool for Language Recognition Summary: ANother Tool for Language Recognition
Name: antlr Name: antlr
Version: 2.7.7 Version: 2.7.7
Release: 43%{?dist} Release: 44%{?dist}
Epoch: 0 Epoch: 0
License: Public Domain License: Public Domain
URL: http://www.antlr2.org/ URL: http://www.antlr2.org/
@ -22,6 +22,8 @@ BuildRequires: mono-core
BuildRequires: mono-winforms BuildRequires: mono-winforms
%endif %endif
%endif %endif
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: ant BuildRequires: ant
BuildRequires: java-devel >= 1:1.7.0 BuildRequires: java-devel >= 1:1.7.0
BuildRequires: java-javadoc BuildRequires: java-javadoc
@ -176,6 +178,9 @@ cd ../..
%{python2_sitelib}/antlr-* %{python2_sitelib}/antlr-*
%changelog %changelog
* Tue Jan 31 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7.7-44
- Add missing build-requires on GCC
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.7-43 * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.7-43
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages