>>>>> "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