On Tue, Dec 10, 2013 at 01:06:26PM +0100, Suvayu Ali wrote:
Done! Repo creation failed again though. People can find the rpm
here:
[...] mutt-kz-1.5.22-1.20131210.git.d9309dab
Please, be more careful with versioing
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Package_Versioning
<name>-<version>-<release>
* <version> should be based on upstream version, the current version
is "1.5.22.1"
* <release> is .spec file specific, if you create rpms for pre-release
(beta, -rc, ..) packages then use ".0" prefix in the <release>
For example:
mutt-kz-1.5.22.1-0.20131210gitd9309dab
(and maybe the hash "d9309dab" is unnecessary as you probably don't create
more
than one snapshot per day:-)
in .spec file:
Version: 1.5.22.1
Release: 0.20131210gitd9309dab
Anyway, we have tarballs at
ftp://redcrew.org/pub/mutt-kz/v1.5.22.1/ so you don't
have to use snapshots from git.
All you need is:
Version: 1.5.22.1
Release: 0.1
%define upstream_version %{version}-rc1
Source:
ftp://redcrew.org/pub/mutt-kz/v%{version}/mutt-kz-%{upstream_version}.tar.gz
%prep
%setup -q -n %{name}-%{upstream_version}
to make it easy.
Thanks!
Karel
--
Karel Zak <kzak(a)redhat.com>
http://karelzak.blogspot.com