Skip to content

Commit f681c36

Browse files
Assure upgradability: Increase QEMU's Epoch and fix SLOF's version (#4)
CentOS's qemu-img packages sets its epoch[0] to 10, so in order to assure the upgradability we need to make it at least 10 in our spec, but we decided to go with 11 just for the sake of sense. In SLOF's case, CentOS's SLOF uses the follow name/versioning standard: - SLOF-20150313-5.gitc89b0df.el7.noarch.rpm to make our SLOF an upgrade option to that we need to change it from: - SLOF-0.1.git20160525-1.el7.centos.1.noarch.rpm to - SLOF-20160525-1.el7.centos.1.noarch.rpm All this is to adequate our packages to what rpm/yum does to compare versions, following N-E-V-R-A[1] [0]- https://fedoraproject.org/wiki/Packaging:Naming#Package_Versioning [1]- http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions
1 parent 578fdbf commit f681c36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SLOF/centOS/7.2/SLOF.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global gittag qemu-slof-%{gittagdate}
44

55
Name: SLOF
6-
Version: 0.1.git%{gittagdate}
6+
Version: %{gittagdate}
77
%define ibm_release %{?repo}.1
88
Release: 1%{?dist}%{?ibm_release}
99
Summary: Slimline Open Firmware
@@ -14,7 +14,7 @@ BuildArch: noarch
1414

1515
# There are no upstream tarballs. To prepare a tarball, do:
1616
#
17-
# git clone git://9.42.66.204/slof/slof-frobisher.git
17+
# git clone https://github.com/open-power-host-os/slof.git
1818
# cd slof-frobisher
1919
# git checkout powerkvm-v3.1
2020
# git archive --format=tar --prefix=SLOF-%{gittagdate}/ HEAD | gzip > ../SLOF-%{gittagdate}.tar.gz

qemu/centOS/7.2/qemu.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Version: 2.5
195195
%define pkvm_release .pkvm3_1_1.%{?release_week}0%{?release_day}.%{?release_spin}
196196

197197
Release: 6%{?dist}%{?pkvm_release}
198-
Epoch: 2
198+
Epoch: 11
199199
License: GPLv2+ and LGPLv2+ and BSD
200200
Group: Development/Tools
201201
URL: http://www.qemu.org/

0 commit comments

Comments
 (0)