summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2013-12-26 21:08:02 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2013-12-26 21:26:40 -0700
commit1e3db58698cb4dfdbf9eef8d174bec884f1734a9 (patch)
treea55530e4633548a72747188416a5925dd8895602
parent8f5c8516e83a64bb9ee9d4a5825d2aa99ef5916a (diff)
downloadrubygem-yajl-ruby-1e3db58698cb4dfdbf9eef8d174bec884f1734a9.tar.gz
rubygem-yajl-ruby-1e3db58698cb4dfdbf9eef8d174bec884f1734a9.tar.xz
rubygem-yajl-ruby-1e3db58698cb4dfdbf9eef8d174bec884f1734a9.zip
delete unnecessary gemspec during %install
It's not necessary to ship two gemspecs for this package. Delete the duplicate during %install.
-rw-r--r--rubygem-yajl-ruby.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/rubygem-yajl-ruby.spec b/rubygem-yajl-ruby.spec
index 1ab0f76..d1caae8 100644
--- a/rubygem-yajl-ruby.spec
+++ b/rubygem-yajl-ruby.spec
@@ -66,6 +66,8 @@ gem install --local \
%gem_install
%endif
+# Remove unnecessary gemspec file
+rm .%{gem_instdir}/%{gem_name}.gemspec
%install
mkdir -p %{buildroot}%{gem_dir}
@@ -124,7 +126,6 @@ popd
%{gem_instdir}/examples
%{gem_instdir}/spec
%{gem_instdir}/tasks
-%{gem_instdir}/%{gem_name}.gemspec
%changelog
* Tue Dec 25 2012 Julian C. Dunn <jdunn@aquezada.com> - 1.1.0-2