From: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Tue, 28 Jan 2025 06:29:39 -0300
Subject: _disable_ext

Forwarded: not-needed
---
 racc.gemspec | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/racc.gemspec b/racc.gemspec
index c25c0c2..a38ae18 100644
--- a/racc.gemspec
+++ b/racc.gemspec
@@ -45,15 +45,4 @@ DESC
   s.rdoc_options = ["--main", "README.rdoc"]
   s.extra_rdoc_files = ["README.ja.rdoc", "README.rdoc"]
   s.metadata["changelog_uri"] = "https://github.com/ruby/racc/releases"
-
-  if RUBY_PLATFORM =~ /java/
-    s.files << 'lib/java/racc/cparse-jruby.jar'
-    s.platform = 'java'
-  else
-    s.extensions = ["ext/racc/cparse/extconf.rb"]
-    s.files.concat(%w[
-      ext/racc/cparse/cparse.c
-      ext/racc/cparse/extconf.rb
-    ])
-  end
 end
