GNOME Bugzilla – Bug 123226
gnumeric spec file bugs
Last modified: 2004-12-22 21:47:04 UTC
Two problems: 1. the 1.2.0 build of gnumeric (specifically in doc/xmldocs.make) creates an absolute symlink as follows: -ln -s $(gnumeric_datadir)/share/gnome $(gnumeric_datadir)/gnome this upsets rpmbuild - as it finds a symlink into the build/install root which it knows would break on package install. fortunately, it's a simple fix - change the line above to the following: -cd $(gnumeric_datadir) ; ln -s ./share/gnome ./gnome 2. if you build gnumeric with bonobo enabled, the component doesn't get packaged: adding the following to the files section corrects that %if %{?_with_bonobo:1}%{!?_with_bonobo:0} %{_libexecdir}/* %endif
Re 1, why not just -ln -s ./share/gnome $(gnumeric_datadir)/gnome instead of messing with $PWD? (That probably assumes that the machine has true symlinks, but in a .spec file that ought to be ok.)
cause I didn't think of that :)
(1) was already in cvs (2) will be committed with a few other tweaks shortly.