summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cassandra-cpp-driver.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/cassandra-cpp-driver.spec b/cassandra-cpp-driver.spec
index cc770ca..f9e5a19 100644
--- a/cassandra-cpp-driver.spec
+++ b/cassandra-cpp-driver.spec
@@ -67,9 +67,10 @@ make %{_smp_mflags}
make install DESTDIR="%{buildroot}"
+%if 0%{?fedora} < 28 && 0%{?rhel} < 8
%post -p /sbin/ldconfig
-
%postun -p /sbin/ldconfig
+%endif
%files