From 3caf0aacace31864a5d1177ee0fb5ec0dc1f1d5c Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Wed, 24 Oct 2001 23:26:20 +0000 Subject: [PATCH] Minor portability nit to appease the Texan. SVN revision: 5569 --- imlib2.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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)