[Bug 1005047] New: cabal-rpm does not add documentation to files to install
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047 Bug ID: 1005047 Summary: cabal-rpm does not add documentation to files to install Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- To build packages with documentation I have to patch cabal-rpm generated spec like this @@ -125,6 +125,8 @@ %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE +%docdir /usr/share/%{pkg_name}-%{version} +/usr/share/%{pkg_name}-%{version} Since the change is generic and independent of the actual package it can be generated by cabal-rpm to start with Sure, some packages have documentation and some not. However, it is easier to delete pre-generated spec lines than it is to add them. Also I think it preferable to support documented packages out of the box and require manual intervention on undocumented packages rather than the other way around. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c1
Ondřej Súkup
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c2
--- Comment #2 from Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c3
Michal Suchanek
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c4
Ondřej Súkup
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047
Michal Suchanek
participants (1)
-
bugzilla_noreply@novell.com