Issue #636 has been updated by Eivind Olsen.

The RHEL-provided openldap-servers RPM lists the files in 
/usr/share/doc/openldap-servers-2.4.23/ as documentation files. They don't seem 
to be included in the LTB RPM:

README.schema
README.smbk5pwd
allmail-en.png
allusersgroup-en.png
config_dit.png
config_local.png
config_ref.png
config_repl.png
delta-syncrepl.png
dual_dc.png
guide.html
intro_dctree.png
intro_tree.png
ldap-sync-refreshandpersist.png
ldap-sync-refreshonly.png
n-way-multi-master.png
push-based-complete.png
push-based-standalone.png
refint.png
set-following-references.png
set-memberUid.png
set-recursivegroup.png

In addition, it lists several files in /usr/share/man/man{5,8}.

Here's a very small patch which seems to work here, it marks everything in 
/usr/local/openldap/share/man as documentation:

--- openldap-ltb.spec-orig      2014-01-06 09:36:08.000000000 +0100
+++ openldap-ltb.spec   2014-01-06 09:39:03.000000000 +0100
@@ -327,6 +327,7 @@
 %files -n openldap-ltb
 %defattr(-, root, root, 0755)
 %{ldapdir}
+%docdir %{ldapserverdir}/share/man
 %config(noreplace) %{ldapserverdir}/etc/openldap/slapd.conf
 %config(noreplace) %{ldapserverdir}/etc/openldap/ldap.conf
 /etc/init.d/slapd

----------------------------------------
Bug #636: Mark documentation as such in the RPM spec file?
http://tools.lsc-project.org/issues/636

Author: Eivind Olsen
Status: Assigned
Priority: Low
Assigned to: Clément OUDOT
Category: OpenLDAP RPM
Target version: openldap-rpm-?


This is really not a big important issue, but I thought I'd report it here 
anyway, and see if anyone agree/disagree with me.

On RHEL (at least RHEL6), the regular openldap-servers package marks 74 files 
as documentation files. The openldap-ltb RPM marks 0 files as documentation 
(checked openldap-ltb-2.4.38-1.el6.x86_64).
Normally I'd expect the documentation files to be listed when I do: rpm -qd 
openldap-ltb

Agree? Disagree? Shall I look into making a patch against the 2.4.38-1 spec 
file?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to