[rubygem-deltacloud-client] Fixed typo in %install section

Michal Fojtik mfojtik at fedoraproject.org
Thu Apr 19 10:40:42 UTC 2012


commit 948a47eb6514dd85677d1d8460467adf1aba67b7
Author: Michal Fojtik <mi at mifo.sk>
Date:   Thu Apr 19 12:40:21 2012 +0200

    Fixed typo in %install section

 rubygem-deltacloud-client.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-deltacloud-client.spec b/rubygem-deltacloud-client.spec
index 287dfaf..64f034e 100644
--- a/rubygem-deltacloud-client.spec
+++ b/rubygem-deltacloud-client.spec
@@ -4,7 +4,7 @@
 Summary: Deltacloud REST Client
 Name: rubygem-%{gem_name}
 Version: 0.5.0
-Release: 1%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: ASL 2.0
 URL: http://www.deltacloud.org
@@ -37,8 +37,9 @@ mv %{_builddir}/%{gem_name}-%{version}/* %{_builddir}/%{name}-%{version}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{geminstdir}
-mkdir -p %{buildroot}%{gemdir}
+mkdir -p %{buildroot}%{gem_dir}
+mkdir -p %{buildroot}%{_bindir}
+cp -a .%{gem_dir}/* %{buildroot}/%{gem_dir}
 mkdir -p %{buildroot}/%{_bindir}
 mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir}
 rmdir %{buildroot}%{gem_dir}/bin
@@ -70,6 +71,12 @@ rm -rf %{buildroot}
 %{gem_docdir}
 
 %changelog
+* Thu Apr 19 2012 Michal Fojtik <mfojtik at redhat.com> - 0.5.0-3
+- Fixed the install section
+
+* Thu Apr 19 2012 Michal Fojtik <mfojtik at redhat.com> - 0.5.0-2
+- Fixed typo in geminst macro
+
 * Thu Apr 19 2012 Michal Fojtik <mfojtik at redhat.com> - 0.5.0-1
 - Updated to 0.5.0 official release
 


More information about the scm-commits mailing list