[packages/ruby/dev-2.3: 3/8] package rake files; cleanup unused files

glen glen at pld-linux.org
Mon Apr 24 21:05:15 CEST 2017


commit e236ea00257abcb88f7bfdd4394dfa429a8c9b56
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 24 21:21:17 2017 +0300

    package rake files; cleanup unused files

 ruby.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 583dab7..97cd659 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -768,10 +768,10 @@ ln -sf %{gem_dir}/gems/rake-%{rake_ver}/bin/rake $RPM_BUILD_ROOT%{_bindir}/rake%
 
 # gem non library files
 %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/minitest-%{minitest_ver}/test
-%{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/test-unit-%{test_unit_ver}/{doc,sample,test}
-%{__rm} $RPM_BUILD_ROOT%{gem_dir}/gems/test-unit-%{test_unit_ver}/[A-Z]*
-%{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/power_assert-%{power_assert_ver}/test
+%{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/test-unit-%{test_unit_ver}/{[A-Z]*,doc,sample,test}
+%{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/power_assert-%{power_assert_ver}/{[A-Z]*,test}
 %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}/{[A-Z]*,doc,test}
+%{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/rake-%{rake_ver}/{[A-Z]*,doc,test}
 
 %if %{without batteries}
 # packaged separately
@@ -885,6 +885,7 @@ rm -rf $RPM_BUILD_ROOT
 #%{ruby_libdir}/rake.rb
 %dir %{gem_dir}/gems/rake-%{rake_ver}
 %{gem_dir}/gems/rake-%{rake_ver}/lib
+%{gem_dir}/gems/rake-%{rake_ver}/rakelib
 %dir %{gem_dir}/gems/rake-%{rake_ver}/bin
 %attr(755,root,root) %{gem_dir}/gems/rake-%{rake_ver}/bin/rake
 %{gem_dir}/specifications/rake-%{rake_ver}.gemspec
@@ -927,6 +928,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/testrb%{ruby_suffix}.1*
 
 %files did_you_mean
+%defattr(644,root,root,755)
 %dir %{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}
 %{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}/benchmark
 %{gem_dir}/gems/did_you_mean-%{did_you_mean_ver}/evaluation
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/ec151791f7e5ded8130e6e4bd4b033b9ac4dade6



More information about the pld-cvs-commit mailing list