[rubygem-mg/f16] The changes to meet current Ruby packaging guidelines.

Darryl L. Pierce mcpierce at fedoraproject.org
Wed Dec 26 12:56:28 UTC 2012


commit fb2ea2aa30ab60679374424729175287467d4aea
Author: Darryl L. Pierce <dpierce at redhat.com>
Date:   Wed Dec 26 07:56:07 2012 -0500

    The changes to meet current Ruby packaging guidelines.

 rubygem-mg.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-mg.spec b/rubygem-mg.spec
index 6c17774..81e3471 100644
--- a/rubygem-mg.spec
+++ b/rubygem-mg.spec
@@ -42,18 +42,18 @@ Documentation for %{name}
 
 %prep
 gem unpack %{SOURCE0}
-%setup -q -D -T -n %{gem_name}-%{version}
+%setup -q -D -T -n %{gemname}-%{version}
 
-gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+gem spec %{SOURCE0} -l --ruby > %{gemname}.gemspec
 
 # apply any patches here
 
 
 %build
-gem build %{gem_name}.gemspec
+gem build %{gemname}.gemspec
 
 gem install --local \
-            --install-dir .%{gem_dir} \
+            --install-dir .%{gemdir} \
             --force \
             --rdoc \
             %{SOURCE0}
@@ -61,7 +61,7 @@ gem install --local \
 
 %install
 mkdir -p %{buildroot}%{gemdir}
-cp -a .%{gem_dir}/* \
+cp -a .%{gemdir}/* \
       %{buildroot}%{gemdir}/
 
 


More information about the scm-commits mailing list