I have the following modifications for foo.spec

Hi!

I have seen the following line quite frequently in build logs:

I have the following modifications for foo.spec
23c23
< Release:        1.2.3
---
> Release:        2.1

I grepped source package but could not locate the new release number.

I grepped OBS source and could not locate the “I have the following…” string.

Is that an OBS feature or already a rpmbuild feature?

Any pointers where this magic release number modification is described?

(I believe the question might have been previously answered in…

… but the link is broken by now.)

Packaging/SUSE Package Conventions/RPM Style - openSUSE

Thanks, that was quick.

I’ve read the description. So behaviour has obviously changed from old the reference I had found.

But from reading the text it still unclear to me what is (supposed to be) done by the spec file writer and what is done automagically by some software. And especially what piece of software does it, would be nice to know.

Right now I saw the issue, when was branching a package locally. In that case it’s probably not really important what the numbers are. But I think it could still be useful to understand the magic, especially if I want to be made aware of future security updates to my branched package.

At least I found the source code of the “some software”: the script called “build” in build in openSUSE - Gitorious

At the moment I’m in a hurry and cannot investigate what it does.