https://bugzilla.redhat.com/show_bug.cgi?id=1328892
--- Comment #6 from Matthew Barnes mbarnes@redhat.com --- Another update to comply (I think) with guidelines for pre-releases. This satisfies rpmlint's complaint about the invalid version.
----
SRPM URL: https://mbarnes.fedorapeople.org/commissaire/commissaire-0.0.1-0.3.rc3.fc23....
Spec diff:
@@ -1,10 +1,12 @@ +%global prerelease rc3 + Name: commissaire -Version: 0.0.1rc3 -Release: 2%{?dist} +Version: 0.0.1 +Release: 0.3.%{prerelease}%{?dist} Summary: Simple cluster host management License: GPLv3+ URL: http://github.com/projectatomic/commissaire -Source0: https://github.com/projectatomic/%%7Bname%7D/archive/%%7Bversion%7D.tar.gz +Source0: https://github.com/projectatomic/%%7Bname%7D/archive/%%7Bversion%7D%%7Bprere...
BuildArch: noarch
@@ -50,7 +52,7 @@ Example tasks include:
%prep -%autosetup +%autosetup -n %{name}-%{version}%{prerelease}
%build @@ -92,6 +94,10 @@ install -D contrib/systemd/commissaire.s
%changelog +* Mon Jun 06 2016 Matthew Barnes mbarnes@redhat.com - 0.0.1-0.3.rc3 +- Move pre-release indicator ('rc3') to Release tag for compliance with + packaging guidelines. + * Thu Jun 02 2016 Matthew Barnes mbarnes@redhat.com - 0.0.1rc3-2 - Switch to python3, drop RHEL hackarounds for Fedora. - Package the correct documentation files.