[rubygem-deltacloud-client/f15] Version bump 0.4.0
Michal Fojtik
mfojtik at fedoraproject.org
Mon Sep 19 12:16:26 UTC 2011
commit e5c53d79ea53b17c8ab0b534482a3f7a77ff64bc
Author: Michal Fojtik <mi at mifo.sk>
Date: Mon Sep 19 14:14:59 2011 +0200
Version bump 0.4.0
.gitignore | 2 ++
rubygem-deltacloud-client.spec | 19 ++++++++++++++-----
sources | 7 ++-----
3 files changed, 18 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 66759de..9c665de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
/deltacloud-client-0.1.1.gem
/deltacloud-client-0.3.0.gem
/deltacloud-client-0.3.1.gem
+/fix_architecture_in_hwp.patch
+/deltacloud-client-0.4.0.gem
diff --git a/rubygem-deltacloud-client.spec b/rubygem-deltacloud-client.spec
index 8c70f03..90ad3fc 100644
--- a/rubygem-deltacloud-client.spec
+++ b/rubygem-deltacloud-client.spec
@@ -5,12 +5,13 @@
Summary: Deltacloud REST Client
Name: rubygem-%{gemname}
-Version: 0.3.1
+Version: 0.4.0
Release: 1%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://www.deltacloud.org
Source0: http://rubygems.org/downloads/%{gemname}-%{version}.gem
+Patch0: fix_architecture_in_hwp.patch
Requires: ruby(abi) = %{rubyabi}
Requires: rubygems
Requires: rubygem(rest-client) >= 1.4.0
@@ -31,18 +32,23 @@ Requires:%{name} = %{version}-%{release}
Documentation for %{name}
%prep
+%setup -q -c -T
+mkdir -p ./%{gemdir}
%build
+gem install --local --install-dir .%{gemdir} -V --force %{SOURCE0}
+pushd .%{geminstdir}
+cat %PATCH0 | patch -s -p0
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
- --force --rdoc %{SOURCE0}
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{gemdir}/* %{buildroot}/%{gemdir}
mkdir -p %{buildroot}/%{_bindir}
mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
rmdir %{buildroot}%{gemdir}/bin
-find %{buildroot}%{geminstdir}/bin -type f | xargs chmod a+x
+find %{buildroot}%{geminstdir}/bin -type f | xargs chmod 0755
# There are Test::Unit files inside test directory, however those
# require deltacloud-core server running.
@@ -56,7 +62,6 @@ rm -rf %{buildroot}
%dir %{geminstdir}
%{geminstdir}/bin
%{geminstdir}/lib
-%{geminstdir}/init.rb
%{_bindir}/deltacloudc
%doc %{geminstdir}/LICENSE
%{gemdir}/cache/%{gemname}-%{version}.gem
@@ -71,6 +76,10 @@ rm -rf %{buildroot}
%{gemdir}/doc/%{gemname}-%{version}
%changelog
+* Mon Sep 19 2011 Michal Fojtik <mfojtik at redhat.com> - 0.4.0-1
+- Version bump
+- Added patch to fix incorrect hardware properties handling for architecture property
+
* Thu Jun 16 2011 Michal Fojtik <mfojtik at redhat.com> - 0.3.1-1
- Version bump
diff --git a/sources b/sources
index f4e2eb5..677bf3e 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,2 @@
-0b477bf83c2e974023821d433cf3d5a1 deltacloud-client-0.0.9.8.gem
-6b82c81d41a739db4d0f1d467e29f01d deltacloud-client-0.1.0.gem
-54a0a33bd538bb799ddc2321ad404aad deltacloud-client-0.1.1.gem
-7428837be034d13a6f6c170144ec11ea deltacloud-client-0.3.0.gem
-d52ba548fea40747137a4223ef84f246 deltacloud-client-0.3.1.gem
+2bf1c8573b5703509fa786f60fad30b6 fix_architecture_in_hwp.patch
+ff4a356a9a588525b3264b1f8178fddc deltacloud-client-0.4.0.gem
More information about the scm-commits
mailing list