Heads up: rpm 4.11 alpha coming soon to rawhide near you

Panu Matilainen pmatilai at laiskiainen.org
Thu Nov 15 12:09:26 UTC 2012


On 11/15/2012 12:20 PM, Panu Matilainen wrote:
> On 11/15/2012 11:59 AM, Richard W.M. Jones wrote:
>> On Thu, Nov 15, 2012 at 10:28:49AM +0200, Panu Matilainen wrote:
>>> For further details see the draft release notes at
>>> http://rpm.org/wiki/Releases/4.11.0
>>
>> Should we start changing
>>
>> %doc README COPYING
>>
>> to
>>
>> %doc README
>> %license COPYING
>>
>> ?
>
> Eventually yes, although that'd be up to FPC I guess.
>
> Not yet however: while the produced packages are compatible with all
> older rpm versions, the spec is not. As long as there's a chance we
> might (temporarily) have to revert back to 4.10, you dont want to
> introduce spec-level changes that would cause build-failures on the
> older version.

Oh and btw, the same goes for using %autosetup: please do test it 
locally [*] and report any issues you may find, but avoid using in 
Fedora specs just yet.

The whole %autosetup thing is implemented with macros and should be easy 
to pull into older Fedora releases once any early bugs have been shaken out.

[*] Her's a quickstart guide to using %autosetup:

1) Make sure all the patches are using same prefix level (eg -p1)
2) Replace %setup with %autosetup (all the same switches apply), add 
patch prefix level if needed with -p<N>
3) Eliminate all %patch directives from the spec

%autosetup defaults to using plain old 'patch' for the automated patch 
application, add -S <git|quilt|hg|bzr> to experiment with the DVCS 
intergration.

	- Panu -


More information about the devel mailing list