Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: adding a toplevel zsh.spec.in file
- X-seq: zsh-workers 12278
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: adding a toplevel zsh.spec.in file
- Date: Mon, 17 Jul 2000 15:56:50 +0100
- In-reply-to: <m2hfa1lxwv.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>; from chmouel@xxxxxxxxxxxxxxxx on Fri, Jul 07, 2000 at 09:15:12AM -0700
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000707125317.A1626@xxxxxxxxxxxxxxxxxxxxxxx> <m2hfa1lxwv.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Chmouel Boudjnah (chmouel@xxxxxxxxxxxxxxxx) wrote:
> Be careful you'll have by the way need to fight with the
> RPM_BUILD_ROOT in the %install :
>
> --- zsh-3.1.9/Src/zsh.mdd.chmou Tue Jul 4 10:06:32 2000
> +++ zsh-3.1.9/Src/zsh.mdd Tue Jul 4 10:54:11 2000
> @@ -53,8 +53,10 @@
> rm -f zshpaths.h.tmp; \
> echo "\`zshpaths.h' is up to date." ; \
> else \
> + if [ ! -f .in_rpm_install ]; then \
> mv -f zshpaths.h.tmp zshpaths.h; \
> echo "Updated \`zshpaths.h'." ; \
> + fi; \
> fi
>
> bltinmods.list: modules.stamp modules-bltin xmods.conf mkbltnmlst.sh
>
> and this in %install :
>
> # Zsh hardcode the prefix in binary even at install.
> pushd Src/ && {
> touch .in_rpm_install
> %makeinstall
> } && popd
Are you sure? I've built many rpms of zsh in the past, and if you're
talking about the problem I think you are, I got around them by using
DESTDIR:
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/info $RPM_BUILD_ROOT/bin $RPM_BUILD_ROOT/etc $RPM_B
UILD_ROOT/etc/zprofile.d $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/lib $RPM_BU
ILD_ROOT/usr/doc/zsh-%{version}
make DESTDIR=$RPM_BUILD_ROOT install
make DESTDIR=$RPM_BUILD_ROOT install.modules
make DESTDIR=$RPM_BUILD_ROOT install.info
Messages sorted by:
Reverse Date,
Date,
Thread,
Author