Ugh.  We both goofed :(

Here's a specfile patch:

--- a2ps.spec   Wed Jul 12 09:46:37 2000
+++ a2ps.spec.fixed     Thu Jul 13 04:57:54 2000
@@ -3,7 +3,7 @@

 %define name a2ps
 %define version 4.13
-%define release 2mdk
+%define release 3mdk

 Summary: Converts text and other types of files to PostScript(TM).
 Name: %{name}
@@ -55,17 +55,18 @@
 rm -rf $RPM_BUILD_ROOT

 %post
-/sbin/ldconfig
-%{_install_info} a2ps.info
-%{_install_info} ogonkify.info
-%{_install_info} regex.info
+%{_install_info a2ps.info}
+%{_install_info ogonkify.info}
+%{_install_info regex.info}
+
+%post devel -p /sbin/ldconfig

 %preun
-%{_remove_install_info} a2ps.info
-%{_remove_install_info} ogonkify.info
-%{_remove_install_info} regex.info
+%{_remove_install_info a2ps.info}
+%{_remove_install_info ogonkify.info}
+%{_remove_install_info regex.info}

-%postun -p /sbin/ldconfig
+%postun devel -p /sbin/ldconfig

 %files -f %{name}.lang
 %defattr(-,root,root)
@@ -89,6 +90,9 @@
 %{_includedir}/*

 %changelog
+* Thu Jul 13 2000 Anton Graham <[EMAIL PROTECTED]> 4.13-3mdk
+- Ugh.  Fix %post and %preun (my fault :( )
+- move ldconfig (%post and %postun) to -devel

 * Wed Jul 12 2000 Thierry Vignaud <[EMAIL PROTECTED]> 4.13-2mdk
 - split package in normal & -devel one
 
-- 
       _
     _|_|_
      ( )   *    Anton Graham
      /v\  /     <[EMAIL PROTECTED]>
    /(   )X
     (m_m)       GPG ID: 18F78541
Penguin Powered!

Reply via email to