mcst-linux-kernel/patches-2024.06.26/concurrent-ruby-1.1.9/files/debian/gemspec-cleaner.rb

12 lines
417 B
Ruby
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
require 'gem2deb/metadata'
ENV['DH_RUBY_GEMSPEC']='concurrent-ruby.gemspec'
@metadata=Gem2Deb::Metadata.new('.')
File.open('debian/concurrent-ruby.gemspec', 'w') do |file|
file.write(@metadata.gemspec.to_ruby)
end
ENV['DH_RUBY_GEMSPEC']='concurrent-ruby-edge.gemspec'
@metadata2=Gem2Deb::Metadata.new('.')
File.open('debian/concurrent-ruby-edge.gemspec', 'w') do |file|
file.write(@metadata2.gemspec.to_ruby)
end