On Tue, Sep 18, 2001 at 01:08:37AM +0200, Lars Gullik Bjønnes wrote:
> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
> ...
> -%attr(-,root,root) /usr/bin/*
> -%attr(-,root,root) /usr/man/*
> -%attr(-,root,root) /usr/share/locale/*/LC_MESSAGES/*
> -%attr(-,root,root) /usr/share/lyx
> -%attr(-,root,root) /usr/share/texmf/tex/latex/lyx
> +%attr(-,root,root) %{_bindir}/*
> +%attr(-,root,root) %{_mandir}/*
> +%attr(-,root,root) %{_datadir}/locale/*/LC_MESSAGES/*
> +%attr(-,root,root) %{_datadir}/lyx
> +%attr(-,root,root) %{_datadir}/texmf/tex/latex/lyx
>
> I am running with this now, and it seems to work well.
>
> --
> Lgb
All this is already done in my spec file and I bet Kayvan is putting
changes in already. I'm running LyX created by RPM from that spec file
for a long time already. Besides, that attr stuff shouldn't be repeated
over and over. This is an excerpt from my spec file
(http://www.cs.wm.edu/~zvezdan/programs/RPMS/LyX/lyx.spec):
%files
%defattr(-,root,root)
%doc ABOUT-NLS ANNOUNCE COPYING
%doc README UPGRADING ChangeLog NEWS
%doc lib/CREDITS README.reLyX
%config(missingok) %{_sysconfdir}/X11/applnk/Applications/lyx.desktop
%{_bindir}/*
%{_mandir}/man?/*
%{_datadir}/locale/*/LC_MESSAGES/*
%{_datadir}/%{name}
%{_datadir}/texmf/tex/latex/%{name}
--
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/