Require annobin only if gcc is installed
Since b5ea4b290b
we started to require gcc
(because annobin requires gcc). Since annobin does work only with gcc,
we don't have to install it if user doesn't have it.
Reported-by: Dominick Grift <dac.override@gmail.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ea5600c887
commit
bbf2e891aa
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 70
|
Version: 71
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
@ -82,7 +82,7 @@ Requires: qt5-srpm-macros
|
|||||||
Requires: rpm >= 4.11.0
|
Requires: rpm >= 4.11.0
|
||||||
Requires: dwz >= 0.4
|
Requires: dwz >= 0.4
|
||||||
Requires: zip
|
Requires: zip
|
||||||
Requires: annobin
|
Requires: (annobin if gcc)
|
||||||
|
|
||||||
Provides: system-rpm-config = %{version}-%{release}
|
Provides: system-rpm-config = %{version}-%{release}
|
||||||
|
|
||||||
@ -151,6 +151,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 71-1
|
||||||
|
- Require annobin only if gcc is installed
|
||||||
|
|
||||||
* Thu Dec 21 2017 Björn Esser <besser82@fedoraproject.org> - 70-2
|
* Thu Dec 21 2017 Björn Esser <besser82@fedoraproject.org> - 70-2
|
||||||
- Add Requires: cmake-rpm-macros for CMake auto-{provides,requires} (#1498894)
|
- Add Requires: cmake-rpm-macros for CMake auto-{provides,requires} (#1498894)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user