Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=677693
--- Comment #12 from Petr Sabata psabata@redhat.com 2011-02-16 11:16:58 EST --- (In reply to comment #11)
(In reply to comment #10)
upstream ships the docs directory with 0711 permissions; I have to change this if I want to include the directory without moving the files out of it, don't I?
nope.
%files %defattr(-,root,root,755) %doc %attr(0644,root,root) COPYING CREDITS FAQ INSTALL README %doc %attr(0755,root,root) mods %{_bindir}/tt++
%files doc %defattr(-,root,root,755) %doc %attr(0644,root,root) COPYING %doc %attr(0644,root,root) SCRIPTS %doc %attr(0644,root,root) docs/*
If I use this, I get some weird results
# ls -ld /usr/share/doc/tintin-* drw-r--r-- 3 root root 4096 Feb 16 17:11 /usr/share/doc/tintin-2.00.5 drw-r--r-- 2 root root 4096 Feb 16 17:11 /usr/share/doc/tintin-doc-2.00.5 # ls -l /usr/share/doc/tintin-2.00.5/ total 48 -rw-r--r-- 1 root root 18009 Jul 5 2009 COPYING -rw-r--r-- 1 root root 1916 Dec 28 18:10 CREDITS -rw-r--r-- 1 root root 4840 Dec 28 18:37 FAQ -rw-r--r-- 1 root root 1209 Aug 2 2009 INSTALL drw-r--r-- 2 root root 4096 Feb 16 17:11 mods -rw-r--r-- 1 root root 6736 Dec 28 18:40 README
Could you tell why executable bits aren't set? I guess it could be caused by some mask in the case of the mods directory but the parent directories in docdir scare me. (current, stable F-14)
Ad doc files on one line: this is just a cosmetic change; I like to separate certain files from others if they are e.g. a "different documentation category".
yep ;)