summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsodium-last.spec11
1 files 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 <remi@remirepo.net> - 1.0.16-4
+- missing BR on C compiler
+- drop ldconfig scriptlets (F28+)
+
* Wed Dec 13 2017 Remi Collet <remi@remirepo.net> - 1.0.16-1
- update to 1.0.16