Bug 4697

Summary: Newlines in REAME.urpmi are ignored when displayed by rpmdrake
Product: Mageia Reporter: Frédéric "LpSolit" Buclin <LpSolit>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: olav
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake-5.29-1.mga2 CVE:
Status comment:

Description Frédéric "LpSolit" Buclin 2012-02-25 19:40:31 CET
Newlines in README.urpmi are ignored, making the output absolutely ugly, see e.g. the output of bugzilla-4.2-3.mga2. CC'ing bkor, who maintains the bugzilla RPM.

No idea if that's related to bug 4190 or not.
Comment 1 Manuel Hiebel 2012-02-26 01:11:41 CET
I can reproduce with others readme.urpmi like the mariadb one.

Assignee: bugsquad => thierry.vignaud

Comment 2 Manuel Hiebel 2012-02-28 18:20:26 CET
and with mga 1 too :/
Comment 3 Thierry Vignaud 2012-03-02 11:52:12 CET
Terminal output is limited to 80 columns for historical reasons so manual end of lines (EOL) must be added for urpmi.
but for GUIes this is not the case and we ignore single EOL for better output.
If you want separated newlines, you must use double newlines (like with LaTeX).

You can see they're separated when changing size of this dialog.

However I will make clearer that paragraphs are separated by inserting a newline between them (done in my git repo).

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 claire robinson 2012-03-21 15:29:32 CET
Thierry, I think this needs to be applied to Mageia 1.

Please see https://bugs.mageia.org/show_bug.cgi?id=3641#c19 onwards.

Thanks.