RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM5 and YML-like Specfiles

From: Anders F Björklund <afb@rpm5.org>
Date: Sun 10 May 2009 - 21:40:16 CEST
Message-Id: <CD0B7252-FE9E-4C6D-AE0B-7E803C8A208B@rpm5.org>
Eric MSP Veith wrote:

> I've been trying to adopt this to my own projects. (I actually just  
> began
> re-formatting my old specfiles.) What I found out is that it really  
> works in
> the script parts, a thing that broke the spec file parser before.  
> However,
> the description part still doesn't seem to get it, or I am making  
> mistakes.
> When I write something like:
> %description
>     This is some indented text for this package.
>     It shouldn't look like this when using "rpm -qi PKG".
> The description is indented, too, when I run "rpm -qi PKG". While I
> understand that there's no good way to have YML-like indentation *and*
> preserve text formatting that might have been done in the  
> description part,
> I long for a real YML-ish look of my spec files. :-)

I think indenting the description could be perceived as a feature,
at least I know that OpenPKG was doing this in RPM 4.2.1 as well...

If I understand the issue correctly, you *don't* want the indentation
stored in the package ? (like it is not being stored for other parts)

Received on Sun May 10 21:56:47 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.