Package: ruby-mimemagic / 0.4.3-2

no_ext_gemspec.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: remove the fake extension from the gemspec file
  this tricked gem2deb into thinking it is an arch:any package
Author: Cédric Boutillier
Last-Update: 2025-07-12
Forwarded: no

--- a/mimemagic.gemspec
+++ b/mimemagic.gemspec
@@ -12,7 +12,6 @@
 
   s.files         = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|script)/}) }
   s.require_paths = %w(lib)
-  s.extensions = %w(ext/mimemagic/Rakefile)
 
   s.summary = 'Fast mime detection by extension or content'
   s.description = 'Fast mime detection by extension or content (Uses freedesktop.org.xml shared-mime-info database)'