Package: gem2deb
Version: 1.4

Since the gemspec file has some binary data quilt is failing to create a patch. Attached is the generated gemspec file. I had to manually remove the offending characters using gedit and add it as debian/gemspec for the build to work.

I'm not sure if it is really gem2deb issue or an upstream issue.

#########################################################
# This file has been automatically generated by gem2tgz #
#########################################################
# -*- encoding: utf-8 -*-
# stub: ruby-magic-static 0.3.5 ruby liblib
# stub: ext/magic/extconf.rb

Gem::Specification.new do |s|
  s.name = "ruby-magic-static".freeze
  s.version = "0.3.5"

  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
  s.metadata = { "bug_tracker_uri" => "https://gitlab.com/gitlab-org/ruby-magic/-/issues";, "changelog_uri" => "https://gitlab.com/gitlab-org/ruby-magic/-/blob/main/CHANGELOG.md";, "documentation_uri" => "https://www.rubydoc.info/gems/ruby-magic-static";, "source_code_uri" => "https://gitlab.com/gitlab-org/ruby-magic"; } if s.respond_to? :metadata=
  s.require_paths = ["lib".freeze, "lib".freeze]
  s.authors = ["Krzysztof Wilczy\u0144ski".freeze]
  s.cert_chain = ["kwilczynski-public.pem".freeze]
  s.date = "2021-03-31"
  s.description = "File Magic in Ruby.\n\nSimple interface to libmagic for Ruby Programming Language.\n".freeze
  s.email = "k...@linux.com".freeze
  s.extensions = ["ext/magic/extconf.rb".freeze]
  s.files = ["AUTHORS".freeze, "CHANGELOG.md".freeze, "COPYRIGHT".freeze, "LICENSE".freeze, "NOTICE".freeze, "README.md".freeze, "VERSION".freeze, "ext/magic/common.h".freeze, "ext/magic/extconf.rb".freeze, "ext/magic/functions.c".freeze, "ext/magic/functions.h".freeze, "ext/magic/ruby-magic.c".freeze, "ext/magic/ruby-magic.h".freeze, "kwilczynski-public.pem".freeze, "lib/magic.rb".freeze, "lib/magic/core/file.rb".freeze, "lib/magic/core/string.rb".freeze, "lib/magic/version.rb".freeze]
  s.homepage = "https://gitlab.com/gitlab-org/ruby-magic".freeze
  s.licenses = ["Apache-2.0".freeze]
  s.post_install_message = "Thank you for installing!\n".freeze
  s.required_ruby_version = Gem::Requirement.new(">= 2.5.0".freeze)
  s.rubygems_version = "3.2.0.rc.2".freeze
  s.summary = "File Magic in Ruby".freeze

  if s.respond_to? :specification_version then
    s.specification_version = 4
  end

  if s.respond_to? :add_runtime_dependency then
    s.add_runtime_dependency(%q<mini_portile2>.freeze, ["~> 2.5.0"])
  else
    s.add_dependency(%q<mini_portile2>.freeze, ["~> 2.5.0"])
  end
end

Reply via email to