# Generated from puppet-lint-2.3.6.gem by gem2rpm -*- rpm-spec -*- %global gem_name puppet-lint Name: rubygem-%{gem_name} Version: 2.3.6 Release: 1%{?dist} Summary: Ensure your Puppet manifests conform with the Puppetlabs style guide Group: Development/Languages License: MIT URL: https://github.com/rodjek/puppet-lint/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description Checks your Puppet manifests against the Puppetlabs style guide and alerts you to any discrepancies. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} cp -pa .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x # Run the test suite %check pushd .%{gem_instdir} popd %files %dir %{gem_instdir} %{_bindir}/puppet-lint %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.rubocop_todo.yml %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE %{gem_instdir}/appveyor.yml %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_instdir}/puppet-lint.gemspec %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Fri Nov 02 2018 drgraham - 2.3.6-1 - Update to 2.3.6 * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jan 14 2015 Russell Harrison 1.1.0-1 - Upstream update to 1.1.0 * Sun Jun 08 2014 Fedora Release Engineering - 0.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 14 2013 Russell Harrison 0.3.2-3 - Update for Ruby 2.0 in F19+ * Thu Feb 14 2013 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Oct 30 2012 Russell Harrison 0.3.2-1 - New upstream version. http://puppet-lint.com/changelog/ - Remove exit code patch. Fixed in upstream * Tue Sep 25 2012 Russell Harrison 0.2.1-3 - Drop requirement for the puppet package - Pull in all of rspec as build requires - Moving files not required at run time to the doc subpackage - Excluding files not meant for packaging instead of removing them durring install - Other fixes requested durring package review * Wed Sep 12 2012 Russell Harrison 0.2.1-2 - Patch to pass exit value to the shell https://github.com/rodjek/puppet-lint/pull/141 * Fri Sep 7 2012 Russell Harrison - 0.2.1-1 - New upstream version - Updated URL for new upstream website * Sun Aug 26 2012 Russell Harrison - 0.2.0-1 - Initial package