[PATCH] [Fedora] Introduce better rpm versioning scheme

Jan Lieskovsky jlieskov at redhat.com
Thu Sep 26 14:51:19 UTC 2013


Prior being able to provide additional checks for Fedora,
I needed to modify the way how newly generated Fedora rpm
packages will be versioned.

This patch introduces better versioning scheme for Fedora rpm
packages.

Former state:
  Generated tarball was based on package name and version only,
  therefore the sequence would be (IOW raising "too quickly"):
    scap-security-guide-0.1.tar.gz
    scap-security-guide-0.2.tar.gz
    ..

Proposed state:
  Generated tarball to be based on package name, version, and
  Fedora spec's release, thus the sequence to be:

    scap-security-guide-0.1-1.tar.gz - "stable" release

    scap-security-guide-0.1-2.rc1.tar.gz   \
    scap-security-guide-0.1-2.rc2.tar.gz    \
    ..                                        "devel" releases
    scap-security-guide-0.1-2.rc9.tar.gz    /

    scap-security-guide-0.1-2.tar.gz - another "stable" release,
                                       incorporating changes from rc1 up to rc9
    ..

Regression testing - proposed patch has been tested and
confirmed as working wrt to the following:
* Fedora tarball, source rpm, and rpm generation,
* Fedora guide, content, checks, validate && eval-common Makefile
  rules.

This is an (s)rpm generation / functionality related patch.
No change has been made to existing Fedora content.

Please review.

Thank you && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Technologies Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fedora-Introduce-better-rpm-versioning-scheme.patch
Type: text/x-patch
Size: 6270 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20130926/7a0872c0/attachment.bin>


More information about the scap-security-guide mailing list