RPM Community Forums

Mailing List Message of <rpm-users>

Re: Spec file help

From: Anders F Björklund <afb@rpm5.org>
Date: Mon 29 Dec 2008 - 13:01:28 CET
Message-Id: <687430E7-4326-44F9-9EF7-B4741AB81002@rpm5.org>
Eric MSP Veith wrote:

> What about provided a nicely formatted example spec file or spec file
> template that could be packed with RPM as additional documentation?

I made an example spec, with all the RPM5 features I could think of...

- It has no BuildRoot or %clean section
- It uses only the default set of macros
- It has complete Source, for use with `rpmbuild -bf`
- It has a %track section, for use with `rpmbuild -bt`

The spec indentation is the same yaml-ready syntax as used by OpenPKG.

--anders



  • application/octet-stream attachment: wget.spec
Received on Mon Dec 29 13:01:24 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.