Author Login
Post Reply
pcpa wrote:
> Log:
> o Update to latest git "server-1.4-branch".
> o Update %%pre script to finish moving <basedir>/X11 files to %%{_datadir}/X11.
> The script has been updated to a recursive version because moving relative
> symlinks may leave broken ones.
> o Also change /usr/X11R6 from a real directory to a symlink to /usr.
>
[...]
> Modified: cooker/x11-server/current/SPECS/x11-server.spec
> ==============================================================================
> --- cooker/x11-server/current/SPECS/x11-server.spec (original)
> +++ cooker/x11-server/current/SPECS/x11-server.spec Wed May 14 18:48:42 2008
> +# Move anything that is still being installed in /usr/lib/X11 or /etc/X11
> +# to /usr/share/X11 and adjust symbolic link
> +for dir in %{buildroot}{%{_libdir},%{_sysconfdir}}/X11; do
> + if [ -d $dir ]; then
> + for file in `find $dir -maxdepth 1 -mindepth 1`; do
> + mv $file %{buildroot}%{_datadir}/X11/`basename $f`
> + done
> + rmdir $dir
> + fi
> + ln -sf %{_datadir}/X11 $dir
> +done
I'm strongly against moving configuration files such as xorg.conf into
/usr/share/X11. This is in a clear violation of FHS and our general policy.
There should be *no* configuration files under /usr.
--
Anssi Hannula