I almost agreed with you until I realized that you are only
half correct.  If you want to give a fully qualified path
then it should be

$RPM_BUILD_DIR/%{name}-%{version}/contrib/lshd.rhlinux.init

$RPM_SOURCE_DIR refers to where the tarballs and patches are
kept prior to unpacking.

If someone want the absolute filename rather than a relative
filename then do it - either way it should work.

"Edward S. Marshall" wrote:
> 
> On Mon, 20 Dec 1999, Thayne Harbaugh wrote:
> > "rpm -ta lsh-0.1.19.tar.gz" almost worked.  Somehow the
> > Source0: line was split into two lines and now that
> > lshd.rhlinux.init is in the contrib directory it doesn't
> > need to be tracked as Source1.
> 
> Is this actually correct?
> 
> -install -m 0755 $RPM_SOURCE_DIR/lshd.rhlinux.init \
> +install -m 0755 contrib/lshd.rhlinux.init \
> 
> Shouldn't that be "$RPM_SOURCE_DIR/contrib/lshd.rhlinux.init", since
> you're making an assumption about the current working directory when
> install runs? Yes, it's probably correct most of the time. I don't
> necessarily trust Red Hat to not change the semantics at some point,
> though...;-)
> 
> -esm (picking nits for fun and profit ;-)
> 
> --
> Edward S. Marshall <[EMAIL PROTECTED]>          http://www.xnet.com/~emarshal/
> -------------------------------------------------------------------------------
> [                  Felix qui potuit rerum cognoscere causas.                  ]

Reply via email to