<commit_before>class Massren < FPM::Cookery::Recipe
  description 'Easily rename multiple files using your text edit'

  name     'massren'
  version  '20150325'
  revision '0.werrett'
  homepage 'https://github.com/laurent22/massren'

  source 'https://github.com/laurent22/massren',
    :with => :git, :ref => 'd77c4da85c'

  section 'utilities'

  provides  name
  conflicts name
  replaces  name

  # Define the build and install dependancies for RedHat-a-likes (RPM names)
  platforms [:redhat, :fedora, :centos] do
    build_depends 'golang'
  end

  def build
    ENV['GOPATH'] = builddir
    builddir.mkdir
    builddir('src/github.com/laurent22').mkdir
    sourcedir = builddir("#{name}-HEAD")
    system "ln -s #{sourcedir} #{builddir}/src/github.com/laurent22/massren"
    system "go get"
    system "go install github.com/laurent22"
  end

  def install
    bin.install builddir('massren-HEAD'), 'massren'
  end
end<commit_msg>Massren now building an RPM properly<commit_after>class Massren < FPM::Cookery::Recipe
  description 'Easily rename multiple files using your text edit'

  name     'massren'
  version  '20150325'
  revision '0.werrett'
  homepage 'https://github.com/laurent22/massren'

  source 'https://github.com/laurent22/massren',
    :with => :git, :ref => 'd77c4da85c'

  section 'utilities'

  provides  name
  conflicts name
  replaces  name

  # Define the build and install dependancies for RedHat-a-likes (RPM names)
  platforms [:redhat, :fedora, :centos] do
    build_depends 'golang'
  end

  def build
    ENV['GOPATH'] = builddir
    ENV['GOBIN'] = builddir('bin')
    system "go get"
    system "go build"
  end

  def install
    bin.install builddir("bin/#{name}-HEAD"), name
  end
end
{'fraction_non_alphanumeric': 0.11631944444444445, 'fraction_numerical': 0.024305555555555556, 'mean_word_length': 3.586206896551724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4579788', 'n_tokens_mistral': 641, 'n_tokens_neox': 605, 'n_words': 156}