On Wed, Jul 26, 2017 at 02:11:58PM -0300, Antonio Terceiro wrote: > See the attached patch, you will want to send that upstream. now really attached
diff --git a/glib2/lib/gnome2/rake/package-task.rb b/glib2/lib/gnome2/rake/package-task.rb
index 1529c82..2ce1010 100644
--- a/glib2/lib/gnome2/rake/package-task.rb
+++ b/glib2/lib/gnome2/rake/package-task.rb
@@ -286,6 +286,13 @@ module GNOME2
def define_package_tasks
Gem::PackageTask.new(@spec) do |pkg|
end
+ desc "Write #{@spec.name}.gemspec"
+ task :gemspec do
+ File.open("#{@spec.name}.gemspec", 'w') do |f|
+ f.write(@spec.to_ruby)
+ end
+ puts "#{@spec.name}.gemspec created"
+ end
end
class DependencyConfiguration
Attachment:
signature.asc
Description: PGP signature