Yes, that fixes it.

There is a better fix in 1.2.0cvs for the po/Makefile.in.in which lets
us use "make DESTDIR=${RPM_BUILD_ROOT}" without also having to specify
prefix.

                        ---Kayvan

On Mon, Jan 14, 2002 at 03:09:18PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Niklas" == Niklas Werner <[EMAIL PROTECTED]> writes:
> 
> Niklas> Hi All! Maybe I am just being stupid, but there seems to be a
> Niklas> bug in the spec-file I can't find the reason for:
> 
> There is indeed a bug (but nobody told me before I tagged it :( ). I
> think the following patch (which is now in cvs) has been applied by
> Kayvan to produce rpms.
> 
> JMarc
> 
> Index: lyx-1.1.6fix4/development/lyx.spec.in
> ===================================================================
> RCS file: /cvs/lyx/lyx-devel/development/lyx.spec.in,v
> retrieving revision 1.8.2.2
> diff -u -u -r1.8.2.2 lyx.spec.in
> --- lyx-1.1.6fix4/development/lyx.spec.in     2001/10/17 15:57:50     1.8.2.2
> +++ lyx-1.1.6fix4/development/lyx.spec.in     2002/01/12 00:33:16
> @@ -45,7 +45,7 @@
>  unset LINGUAS || true
>  rm -rf ${RPM_BUILD_ROOT}
>  install -d -m 755 ${RPM_BUILD_ROOT}
> -make DESTDIR=${RPM_BUILD_ROOT} install
> +make DESTDIR=${RPM_BUILD_ROOT} prefix=${RPM_BUILD_ROOT}%{_prefix} install
>  gzip -f9 ${RPM_BUILD_ROOT}%{_mandir}/man?/*
>  
>  #
> @@ -94,7 +94,7 @@
>  texhash
>  
>  %files
> -%attr(-,root,root)
> +%defattr(-,root,root)
>  %doc ABOUT-NLS ANNOUNCE COPYING 
>  %doc README UPGRADING ChangeLog NEWS
>  %doc lib/CREDITS README.reLyX

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to