[Bug 789326] New: rpm: %doc mistakenly adds %_docdir/%name to files

https://bugzilla.novell.com/show_bug.cgi?id=789326 https://bugzilla.novell.com/show_bug.cgi?id=789326#c0 Summary: rpm: %doc mistakenly adds %_docdir/%name to files Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: mls@suse.com ReportedBy: jengelh@inai.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- When %doc is used in the %files list of the (main) package in a specfile, openSUSE rpm will implicitly add %_docdir/%name to the filelist of (main) as well. Fedora:17's rpm does not do that, so I suppose openSUSE rpm has a bug here. See attached specfile. What I observe: $ rpm -qlp rpmbuild/RPMS/x86_64/z-0-0.x86_64.rpm /usr/share/doc/packages/z /usr/share/doc/packages/z/README /usr/share/doc/packages/z/TEST What I expected: $ rpm -qlp rpmbuild/RPMS/x86_64/z-0-0.x86_64.rpm /usr/share/doc/packages/z/README -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=789326 https://bugzilla.novell.com/show_bug.cgi?id=789326#c1 --- Comment #1 from Jan Engelhardt <jengelh@inai.de> 2012-11-12 23:07:19 CET --- Created an attachment (id=512840) --> (http://bugzilla.novell.com/attachment.cgi?id=512840) test spec -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com