What is tmpdir?
    Pavel Roskin 
    proski w gnu.org
       
    Wto, 27 Cze 2000, 02:28:59 CEST
    
    
  
Hello!
I cannot rebuild heimdal-0.2t-1.src.rpm on Linux/PPC 1999 Q3 because
heimdal.spec uses %{tmpdir} that is not defined. I have upgraded to
rpm-3.0.4 but it also doesn't define %{tmpdir}
However, %{_tmppath} is defined to /var/lib, and this is probably what you
meant. Changelog for rpm mentions %{_tmppath} in 2.4.x versions of rpm, so
it should be Ok to rely on it.
Another problem is that many utilities (e.g. ftpd) are installed under
/usr/libexec but are expected to be found in /usr/sbin.
This patch to heimdal.spec made it possible to rebuild the package on
Linux/PPC:
===================
--- heimdal.spec	Wed May 17 19:08:37 2000
+++ heimdal.spec	Mon Jun 26 19:59:44 2000
@@ -21,7 +21,7 @@
 BuildRequires:	flex
 BuildRequires:	mawk
 BuildRequires:	XFree86-devel
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:	krb5-lib
 Requires:	rc-scripts
 
@@ -236,7 +236,8 @@
 	--enable-new-des3-code \
 	--with-readline \
 	--with-x \
-	--with-ipv6
+	--with-ipv6 \
+	--libexecdir=%{_libexecdir}
 
 # --enable-netinfo - czo to takiego ?
 # można używać albo krb5.conf albo netinfo
===================
You may want to make it differently, but please test your SPRMS. I don't
even understand how you managed to compile this for Intel.
Regards,
Pavel Roskin
    
    
Więcej informacji o liście dyskusyjnej pld-devel-pl