From 5a17c5e27452e9a6b2abeb1c2fd64bf08f3c6d8a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Feb 2018 10:36:08 +0100 Subject: missing BR on C compiler drop ldconfig scriptlets (F28+) --- libsodium-last.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libsodium-last.spec b/libsodium-last.spec index e346243..3fbbebe 100644 --- a/libsodium-last.spec +++ b/libsodium-last.spec @@ -31,6 +31,8 @@ License: ISC URL: http://libsodium.org/ Source0: http://download.libsodium.org/libsodium/releases/%{libname}-%{version}.tar.gz +BuildRequires: gcc + %if "%{libname}" != "%{name}" Provides: %{libname} = %{version}-%{release} Provides: %{libname}%{?_isa} = %{version}-%{release} @@ -119,9 +121,10 @@ rm -f %{buildroot}%{_libdir}/%{libname}.la make check -%post -p /sbin/ldconfig - +%if 0%{?fedora} < 28 && 0%{?rhel} < 8 +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%endif %files @@ -143,6 +146,10 @@ make check %changelog +* Tue Feb 20 2018 Remi Collet - 1.0.16-4 +- missing BR on C compiler +- drop ldconfig scriptlets (F28+) + * Wed Dec 13 2017 Remi Collet - 1.0.16-1 - update to 1.0.16 -- cgit