Add make to BuildRequires and Requires(post)

This commit is contained in:
Nikolai Kondrashov 2018-09-07 14:17:31 +03:00
parent 943006a476
commit 99b478f15b

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server
Name: freeradius
Version: 3.0.15
Release: 15%{?dist}
Release: 16%{?dist}
License: GPLv2+ and LGPLv2+
Group: System Environment/Daemons
URL: http://www.freeradius.org/
@ -27,6 +27,7 @@ Patch2: freeradius-Use-system-crypto-policy-by-default.patch
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
BuildRequires: autoconf
BuildRequires: make
BuildRequires: gcc
BuildRequires: gdbm-devel
BuildRequires: openssl
@ -52,6 +53,8 @@ Requires: openssl >= %(rpm -q --queryformat '%%{EPOCH}:%%{VERSION}' openssl)
Requires(pre): shadow-utils glibc-common
Requires(post): systemd-sysv
Requires(post): systemd-units
# Needed for certificate generation
Requires(post): make
Requires(preun): systemd-units
Requires(postun): systemd-units
@ -801,6 +804,12 @@ exit 0
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog
* Fri Sep 07 2018 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.15-16
- Add make to BuildRequires and Requires(post) to fix build and certificate
generation on install.
Resolves: Bug#1574783 Installing freeradius without make results in an
unworkable default configuration
* Tue Sep 04 2018 Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> - 3.0.15-15
- Add gcc to BuildRequires.
Resolves: Bug#1622470 FTBFS freeradius (rawhide)