From 99b478f15ba4d39970d531fde98ddf5a7ea6fc29 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Fri, 7 Sep 2018 14:17:31 +0300 Subject: [PATCH] Add make to BuildRequires and Requires(post) --- freeradius.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/freeradius.spec b/freeradius.spec index a6e9357..35b423e 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -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 - 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 - 3.0.15-15 - Add gcc to BuildRequires. Resolves: Bug#1622470 FTBFS freeradius (rawhide)