فهرست منبع

fix %post and %preun paths

Michael van Elst 22 سال پیش
والد
کامیت
c63a45a42f
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      instant/instant.spec

+ 3 - 3
instant/instant.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        SGML
 License:      BSD
 Version:      1.0
-Release:      20030605
+Release:      20030614
 
 #   list of sources
 Source0:      instant-%{version}.tar.gz
@@ -87,7 +87,7 @@ AutoReqProv:  no
 
 %post
     if [ $1 -eq 1 ]; then
-        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
+        %{l_prefix}/bin/sgmlcatalog \
             -p "-//OSF//DTD transpec" \
             -x \
             -i transpec
@@ -95,7 +95,7 @@ AutoReqProv:  no
 
 %preun
     if [ $1 -eq 0 ]; then
-        $RPM_INSTALL_PREFIX/bin/sgmlcatalog \
+        %{l_prefix}/bin/sgmlcatalog \
             -d transpec
     fi