summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--argon2.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/argon2.spec b/argon2.spec
index b94bfe5..71d43c5 100644
--- a/argon2.spec
+++ b/argon2.spec
@@ -118,8 +118,10 @@ chmod -x %{buildroot}%{_includedir}/%{name}.h
make test
+%if 0%{?fedora} < 28 && 0%{?rhel} < 8
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
+%endif
%files