diff --git a/am-utils.spec b/am-utils.spec index 7611ed9..149e9c3 100644 --- a/am-utils.spec +++ b/am-utils.spec @@ -1,7 +1,7 @@ Summary: Automount utilities including an updated version of Amd. Name: am-utils Version: 6.0.9 -Release: 6.1 +Release: 7 License: BSD Epoch: 5 Group: System Environment/Daemons @@ -87,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT %pre # Check if we have an old fashioned amd.conf and rename if to amd.net -if [ "$1" = "0" ] ; then +if [ "$1" -ne "0" ] ; then if grep -q "auto_dir" /etc/amd.conf 2>/dev/null ; then # this is okay exit 0 @@ -109,7 +109,7 @@ exit 0 /sbin/install-info %{_infodir}/am-utils.info.gz %{_infodir}/dir %preun -if [ $1 = 0 ]; then +if [ $1 -ne 0 ]; then /sbin/install-info --delete %{_infodir}/am-utils.info.gz %{_infodir}/dir /sbin/service amd stop >/dev/null 2>&1 /sbin/chkconfig --del amd @@ -139,6 +139,12 @@ fi %{_libdir}/libamu.so.* %changelog +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Mon Mar 15 2004 Nalin Dahyabhai +- fix incorrect invocation of test in %%pre and %%preun + * Tue Mar 02 2004 Elliot Lee - rebuilt