comparison libpst.spec.in @ 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 05753b1906f9
comparison
equal deleted inserted replaced
395:fbe51207b963 396:1d28f978f57a
125 #Remove libtool archives. 125 #Remove libtool archives.
126 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f 126 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
127 mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{name} 127 mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{name}
128 128
129 129
130 %if 0%{?fedora} > 27
130 %ldconfig_scriptlets libs 131 %ldconfig_scriptlets libs
131 132 %else
133 %post libs -p /sbin/ldconfig
134 %postun libs -p /sbin/ldconfig
135 %endif
132 136
133 %files 137 %files
134 %{_bindir}/* 138 %{_bindir}/*
135 %{_mandir}/man1/* 139 %{_mandir}/man1/*
136 %{_mandir}/man5/* 140 %{_mandir}/man5/*