diff --git a/imlib2.spec b/imlib2.spec index b4ce0d7..ac9dfab 100644 --- a/imlib2.spec +++ b/imlib2.spec @@ -123,9 +123,15 @@ make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post +%ifos linux +/sbin/ldconfig +%endif -%postun -p /sbin/ldconfig +%postun +%ifos linux +/sbin/ldconfig +%endif %files %defattr(-,root,root,0755)