# Generated from penman-1.0.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name penman Name: rubygem-%{gem_name} Version: 1.0.2 Release: 1%{?dist} Summary: Track realtime database changes and turn them into seed files License: MIT URL: https://github.com/uken/penman Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(mysql2) >= 0.3 # BuildRequires: rubygem(mysql2) < 1 # BuildRequires: rubygem(mysql2) >= 0.3.18 # BuildRequires: rubygem(rspec-rails) >= 3.3 # BuildRequires: rubygem(rspec-rails) < 4 # BuildRequires: rubygem(rspec-rails) >= 3.3.3 # BuildRequires: rubygem(pry-rails) >= 0.3 # BuildRequires: rubygem(pry-rails) < 1 # BuildRequires: rubygem(pry-rails) >= 0.3.4 # BuildRequires: rubygem(database_cleaner) >= 1.5 # BuildRequires: rubygem(database_cleaner) < 2 # BuildRequires: rubygem(database_cleaner) >= 1.5.1 BuildArch: noarch %description This project is a highly configurable rails engine that provides means to track database changes in realtime for models that you're interested in, when you're interested in them. Once recorded, Penman can produce seed / migration files that reflect these changes, allowing you to propagate them to other environments. %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}/MIT-LICENSE %{gem_instdir}/config %{gem_instdir}/db %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Rakefile %changelog * Tue Aug 24 2021 mockbuilder - 1.0.2-1 - Initial package