[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 <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |mimi.vx@gmail.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047 http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c1 Ondřej Súkup <osukup@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |osukup@suse.com Resolution|--- |INVALID --- Comment #1 from Ondřej Súkup <osukup@suse.com> --- docs are in devel package ... plus this patch is wrong -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047 http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c2 --- Comment #2 from Michal Suchanek <msuchanek@suse.com> --- All the more reason to generate the doc installation template by cabal-rpm automagically. TBH I don't really care where the docs are so long as the build finishes rather than complaining that docs are installed and not packaged. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047 http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c3 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #3 from Michal Suchanek <msuchanek@suse.com> --- . -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005047 http://bugzilla.opensuse.org/show_bug.cgi?id=1005047#c4 Ondřej Súkup <osukup@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mimi.vx@gmail.com |msuchanek@suse.com --- Comment #4 from Ondřej Súkup <osukup@suse.com> --- in this case isn't bug , but feature request for upstrem. -> so https://github.com/juhp/cabal-rpm -- 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 <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|UPSTREAM |WORKSFORME -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com