[elrepo-devel] Naming guidelines
Nikolay Ulyanitsky
lystor at lystor.org.ua
Wed Nov 25 14:28:17 EST 2009
I have not found any ELRepo naming guidelines.
I think we must use Fedora Naming Guidelines
(http://fedoraproject.org/wiki/Packaging/NamingGuidelines)
as template of ELRepo naming guidelines.
Example of Naming guidelines:
* %{X} - original module version
* %{Y} - incremented release number
* %{VCSTAG} - version control system tag (20050515cvs, svn12345,
git5aef11739b, etc).
* %{DIST} - macro, for example .el5.repo
I. Packages with backported modules:
%{NAME}-0.0-%{Y}%{DIST}
Many kernel modules have a version < 1.0.0, for example: 0.0.3,
0.12, 0.99t-ac, etc.
We should never change the version from 0.0.
foo-0.0-1.el5.repo
foo-0.0-2.el5.repo
foo-0.0-3.el5.repo
...
II. Pre-Release Packages:
%{NAME}-%{X}-0.%{Y}.%{PRETAG}%{DIST}
foo-1.2-0.1.alpha.el5.repo
foo-1.2-0.2.alpha.el5.repo
foo-1.2-0.3.beta1.el5.repo
foo-1.2-0.4.beta1.el5.repo
foo-1.2-0.5.beta1.el5.repo
foo-1.2-0.6.beta2.el5.repo
foo-1.2-0.7.beta2.el5.repo
foo-1.2-0.8.beta2.el5.repo
...
III. Pre-Release Snapshot Packages
%{NAME}-%{X}-0.%{Y}.%{VCSTAG}%{DIST}
foo-1.2-0.1.20050515cvs.el5.repo
foo-1.2-0.2.20050515cvs.el5.repo
foo-1.2-0.3.20050515cvs.el5.repo
foo-1.2-0.4.20090311cvs.el5.repo
foo-1.2-0.5.20090311cvs.el5.repo
...
IV. Packages:
%{NAME}-%{X}-%{Y}%{DIST}
foo-1.2-1.el5.repo
foo-1.2-2.el5.repo
foo-2.0-1.el5.repo
...
V. Snapshot packages
%{NAME}-%{X}-%{Y}.%{VCSTAG}%{DIST}
foo-1.2-1.20050515cvs.el5.repo
foo-1.2-2.20050515cvs.el5.repo
foo-1.2-3.20050515cvs.el5.repo
foo-1.2-4.20090311cvs.el5.repo
foo-1.2-5.20090311cvs.el5.repo
...
VI. Post-Release Packages:
%{NAME}-%{X}-%{Y}.%{POSTTAG}%{DIST}
foo-1.2-1.sp1.el5.repo
foo-1.2-2.sp1.el5.repo
foo-1.2-3.sp2.el5.repo
foo-1.2-4.sp2.el5.repo
...
--
With best regards,
Nikolay Ulyanitsky
http://www.lystor.org.ua
More information about the elrepo-devel
mailing list