# Generated from paper_trail-12.1.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name paper_trail Name: rubygem-%{gem_name} Version: 12.1.0 Release: 1%{?dist} Summary: Track changes to your models License: MIT URL: https://github.com/paper-trail-gem/paper_trail Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.6 BuildRequires: ruby >= 2.5.0 # BuildRequires: rubygem(appraisal) >= 2.4.1 # BuildRequires: rubygem(appraisal) < 2.5 # BuildRequires: rubygem(byebug) >= 11.0 # BuildRequires: rubygem(byebug) < 12 # BuildRequires: rubygem(ffaker) >= 2.19.0 # BuildRequires: rubygem(ffaker) < 2.20 # BuildRequires: rubygem(generator_spec) >= 0.9.4 # BuildRequires: rubygem(generator_spec) < 0.10 # BuildRequires: rubygem(memory_profiler) >= 1.0.0 # BuildRequires: rubygem(memory_profiler) < 1.1 # BuildRequires: rubygem(rails) >= 5.2 # BuildRequires: rubygem(rspec-rails) >= 5.0.2 # BuildRequires: rubygem(rspec-rails) < 5.1 # BuildRequires: rubygem(rubocop) >= 1.20.0 # BuildRequires: rubygem(rubocop) < 1.21 # BuildRequires: rubygem(rubocop-packaging) >= 0.5.1 # BuildRequires: rubygem(rubocop-packaging) < 0.6 # BuildRequires: rubygem(rubocop-performance) >= 1.11.5 # BuildRequires: rubygem(rubocop-performance) < 1.12 # BuildRequires: rubygem(rubocop-rails) >= 2.11.3 # BuildRequires: rubygem(rubocop-rails) < 2.12 # BuildRequires: rubygem(rubocop-rake) >= 0.6.0 # BuildRequires: rubygem(rubocop-rake) < 0.7 # BuildRequires: rubygem(rubocop-rspec) >= 2.4.0 # BuildRequires: rubygem(rubocop-rspec) < 2.5 # BuildRequires: rubygem(simplecov) >= 0.21 # BuildRequires: rubygem(simplecov) < 0.22 # BuildRequires: rubygem(mysql2) >= 0.5 # BuildRequires: rubygem(mysql2) < 1 # BuildRequires: rubygem(pg) >= 0.18 # BuildRequires: rubygem(pg) < 2.0 # BuildRequires: rubygem(sqlite3) >= 1.4 # BuildRequires: rubygem(sqlite3) < 2 BuildArch: noarch %description Track changes to your models, for auditing or versioning. See how a model looked at any stage in its lifecycle, revert it to any version, or restore it after it has been destroyed. %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 # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.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}/ %check pushd .%{gem_instdir} # Run the test suite. popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Tue Sep 14 2021 mockbuilder - 12.1.0-1 - Initial package