```ruby
require 'spec_helper'

describe 'rpmbuilder::packages::essential', :type => 'class' do

  context "Packages which should be installed on every OS" do

    packages = [
    'createrepo',
    'fedora-packager',
    'gnupg2',
    'make',
    'mock',
    'rpmdevtools',
    'rpm-libs',
    'rubygem-gem2rpm',
    'rubygem-rake',
    'yum',
    'yum-utils',]

    packages.each do|pkg|
      it { should contain_package("#{pkg}").with_ensure('latest') }
    end

  end

  context "On a Fedora OS" do
    let(:facts) {{ :operatingsystem => 'fedora' }}

    packages = ['rpm-sign']
    packages.each do|pkg|
       it { should contain_package("#{pkg}").with_ensure('latest') }
    end
  end
end
```

Update spec tests with new required packages
user
```ruby
require 'spec_helper'

describe 'rpmbuilder::packages::essential', :type => 'class' do

  context "Packages which should be installed on every OS" do

    packages = [
    'autoconf',
    'automake',
    'createrepo',
    'fedora-packager',
    'gcc',
    'gnupg2',
    'make',
    'mock',
    'rpmdevtools',
    'rpm-libs',
    'rubygem-gem2rpm',
    'rubygem-rake',
    'yum',
    'yum-utils',]

    packages.each do|pkg|
      it { should contain_package("#{pkg}").with_ensure('latest') }
    end

  end

  context "On a Fedora OS" do
    let(:facts) {{ :operatingsystem => 'fedora' }}

    packages = ['rpm-sign']
    packages.each do|pkg|
       it { should contain_package("#{pkg}").with_ensure('latest') }
    end
  end
end
```
assistant