changeset 396:1d28f978f57a

changes to build on centos 6
author Carl Byington <carl@five-ten-sg.com>
date Sun, 12 Jan 2020 14:20:53 -0800
parents fbe51207b963
children acb9fcc58dea
files libpst.spec.in
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpst.spec.in	Sun Jan 12 14:10:17 2020 -0800
+++ b/libpst.spec.in	Sun Jan 12 14:20:53 2020 -0800
@@ -127,8 +127,12 @@
 mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{name}
 
 
+%if 0%{?fedora} > 27
 %ldconfig_scriptlets libs
-
+%else
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+%endif
 
 %files
 %{_bindir}/*