diff --git a/.gitignore b/.gitignore index 85a60c1..2801d1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cloud-utils-0.27-bzr216.tar.gz +/cloud-utils-0.27.tar.gz diff --git a/cloud-utils.spec b/cloud-utils.spec index 05a8bd2..1fb2ed9 100644 --- a/cloud-utils.spec +++ b/cloud-utils.spec @@ -1,17 +1,21 @@ Summary: Cloud image management utilities Name: cloud-utils Version: 0.27 -Release: 0.2.bzr216%{?dist} +Release: 1%{?dist} License: GPLv3 Group: System Environment/Base -URL: https://launchpad.net/cloud-utils +URL: https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz -# bzr export -r 216 cloud-utils-0.27-bzr216.tar.gz lp:cloud-utils -Source0: %{name}-%{version}-bzr216.tar.gz +Source0: %{name}-%{version}.tar.gz Source1: LICENSE BuildArch: noarch +%if 0%{?rhel} +# Only build on x86_64 for EPEL because qemu-img only exists for that arch +ExclusiveArch: x86_64 +%endif + Requires: gawk Requires: gdisk Requires: e2fsprogs @@ -35,7 +39,7 @@ with a much simpler interface. %prep -%setup -q -n %{name}-%{version}-bzr216 +%setup -q %build @@ -62,7 +66,11 @@ cp man/* $RPM_BUILD_ROOT/%{_mandir}/man1/ %changelog -* Tue Feb 12 2013 Juerg Haefliger - 0.27-0.2.bzr216 +* Tue Apr 2 2013 Juerg Haefliger - 0.27-1 +- Update to upstream release 0.27. +- Fix spec file to only build on x86_64 for EPEL. + +* Wed Feb 12 2013 Juerg Haefliger - 0.27-0.2.bzr216 - Add GPL-3 license. - Exclude Ubuntu-specific tools. - Fix some spec file issues per reviewers comments. diff --git a/sources b/sources index 7db3c54..2a89b52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0bd124f0bec59c613f883c43ab96279c cloud-utils-0.27-bzr216.tar.gz +b9ebfc4f13f65bc58c49fc57c0703cc8 cloud-utils-0.27.tar.gz