When building groff-1.16-2 the file GXditview gets installed in
${RPM_BUILD_ROOT}/usr/X11R6/lib/X11/app-defaults/GXditview
in the %makeinstall section but looked for in 
${RPM_BUILD_ROOT}/etc/X11/app-defaults/GXditview
in the %files section.

Is /etc/X11/app-defaults the new correct place according to FHS?

On my system, all previous app-defaults files are located in
/usr/X11R6/lib/X11/app-defaults.

Either way, the spec file has to be modified to build from source.

1. /etc/X11/app-defaults is correct
add to %makeinstall after ln -s nroff   ${RPM_BUILD_ROOT}%{_prefix}/bin/gnroff:
mkdir -p  ${RPM_BUILD_ROOT}/etc/X11/app-defaults
mv ${RPM_BUILD_ROOT}/usr/X11R6/lib/X11/app-defaults/GXditview
${RPM_BUILD_ROOT}/etc/X11/app-defaults/GXditview

2. /usr/X11R6/lib/X11/app-defaults is correct
change %files section to:
%config /usr/X11R6/lib/X11/app-defaults/GXditview

BTW: Earlier versions did not require root permissions to build, this
version does. Can this easily be changed? I prefer to be able to build
without being root, only install the package. In later releases the
number of packages requiring root permission to build have
decreased. Also the number of packages building for i686 have
increased. Very good improvement RedHat!!
 




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to