Ralf S. Engelschall 24 anni fa
parent
commit
0d7a85bfda
1 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 6 4
      pgp/pgp.spec

+ 6 - 4
pgp/pgp.spec

@@ -45,7 +45,7 @@ Patch0:       pgpsrc%{V_strip}unix.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 0.9-20011025.0
+BuildPreReq:  OpenPKG, openpkg >= 0.9-20011025.0, patch, gzip, tar
 PreReq:       OpenPKG, openpkg >= 0.9-20011025.0
 AutoReq:      no
 AutoReqProv:  no
@@ -57,10 +57,12 @@ AutoReqProv:  no
 %prep
     %setup -c -n pgp-%{V_long}
     rm -rf pgpsrc pgp-%{V_long}
-    %{l_gzip} -d -c %{SOURCE pgpsrc%{V_strip}unix.tar.gz} | %{l_tar} xf -
-    %{l_gzip} -d -c pgpsrc%{V_strip}unix.tar.gz | %{l_tar} xf -
+    %{l_prefix}/bin/gzip -d -c %{SOURCE pgpsrc%{V_strip}unix.tar.gz} |\
+        %{l_prefix}/bin/tar xf -
+    %{l_prefix}/bin/gzip -d -c pgpsrc%{V_strip}unix.tar.gz |\
+        %{l_prefix}/bin/tar xf -
     cd pgpsrc
-    %{l_patch} -p0 <%{SOURCE pgpsrc%{V_strip}unix.patch}
+    %{l_prefix}/bin/patch -p0 <%{SOURCE pgpsrc%{V_strip}unix.patch}
 
 %build
     cd pgpsrc