http://bugzilla.novell.com/show_bug.cgi?id=546023
http://bugzilla.novell.com/show_bug.cgi?id=546023#c6
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Platform|i586 |All
Resolution| |UPSTREAM
Target Milestone|Future 11.3 |---
OS/Version|Other |openSUSE 11.2
--- Comment #6 from Johannes Meixner 2010-05-04 14:48:06 UTC ---
In the CUPS sources the CHANGES-1.1.txt file explains it:
-------------------------------------------------------------
- Configuration script changes, including new
"--with-docdir=/dir" option to relocate CUPS
documentation and web content according to your
favorite version of the FHS.
-------------------------------------------------------------
Therefore our
"configure --with-docdir=%{_defaultdocdir}/%{name}"
is both right and wrong because it installs CUPS documentation
at the right place /usr/share/doc/packages/cups but
it also installs the CUPS web content at the same place.
Additionally "configure --with-docdir=%{_defaultdocdir}/%{name}"
sets the default value of cupsd's DocumentRoot directive, see
http://localhost:631/help/ref-cupsd-conf.html
--------------------------------------------------------------------
The DocumentRoot directive specifies the location
of web content for the HTTP server in CUPS.
..
The default directory is /usr/share/doc/packages/cups.
--------------------------------------------------------------------
According to the upstream documentation at
http://www.cups.org/documentation.php/doc-1.4/ref-cupsd-conf.html
--------------------------------------------------------------------
The DocumentRoot directive specifies the location
of web content for the HTTP server in CUPS.
..
The default directory is /usr/share/doc/cups.
--------------------------------------------------------------------
Therefore our /usr/share/doc/packages/cups directory
is in compliance with the upstream default (both are
directories for documentation).
Therefore I will not change it for now and break compliance
with upstream (i.e. there will be no change for openSUSE 11.3).
I will ask upstream if it makes sense to separate
the CUPS documentation from the CUPS web content
and therefore I resolve the bug as "upstream".
Alternatively I might package those files as regular files
in the RPM but I wonder if it is in compliance to the
RPM packaging conventions to have in cups.spec a plain
----------------------------------------------------------------
%files
..
%{_defaultdocdir}/cups
----------------------------------------------------------------
i.e. without a leading "%doc" so that those files are no longer
documentation files for RPM.
But according to comment #1 it seems for regular files
this means "not install it into %docdir" which would be
no longer in compliance with the CUPS upstream default
(which installs those files into a documentation directory).
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.