# Generated from puppet-lint-0.2.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name puppet-lint Name: rubygem-%{gem_name} Version: 2.3.6 Release: 2%{?dist} Summary: Ensure your Puppet manifests conform with the Puppetlabs style guide License: MIT URL: http://puppet-lint.com/ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(rspec) BuildRequires: rubygem(rspec-its) BuildRequires: rubygem(rspec-collection_matchers) => 1.0 BuildArch: noarch %description Checks your Puppet manifests against the Puppetlabs style guide and alerts you to any discrepancies. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -n %{gem_name}-%{version} %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -ap ./%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} cp -ap ./%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x # remove unecisary execute bit chmod a-x %{buildroot}%{gem_instdir}/lib/puppet-lint/bin.rb %check pushd .%{gem_instdir} sed -i -e "/^require 'simplecov'$/,/^end$/ s/^/#/g" \ spec/spec_helper.rb rspec spec popd %files %dir %{gem_instdir} %{_bindir}/puppet-lint %{gem_instdir}/bin %{gem_libdir} %{gem_instdir}/Gemfile %doc %{gem_instdir}/LICENSE %exclude %{gem_cache} %exclude %{gem_instdir}/.* %{gem_spec} %exclude %{gem_instdir}/appveyor.yml %files doc %doc %{gem_docdir} %{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/Rakefile %doc %{gem_instdir}/README.md %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/spec %changelog * Thu Jan 30 2020 Fedora Release Engineering - 2.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 07 2019 Pavel Valena - 2.3.6-1 - Update to puppet-lint 2.3.6. * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * 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