# Generated from friendly_id-method_scopes-0.3.7.gem by gem2rpm -*- rpm-spec -*- %global gem_name friendly_id-method_scopes Name: rubygem-%{gem_name} Version: 0.3.7 Release: 1%{?dist} Summary: FriendlyId Extension to allow method scopes License: MIT URL: http://www.gemvein.com/museum/cases/friendly_id-method_scopes Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(juwelier) >= 2 # BuildRequires: rubygem(juwelier) < 3 # BuildRequires: rubygem(sqlite3) >= 1 # BuildRequires: rubygem(sqlite3) < 2 # BuildRequires: rubygem(rspec-rails) >= 4.0.1 # BuildRequires: rubygem(rspec-rails) < 5 # BuildRequires: rubygem(shoulda-matchers) >= 4.3 # BuildRequires: rubygem(shoulda-matchers) < 5 # BuildRequires: rubygem(rolify) >= 4 # BuildRequires: rubygem(rolify) < 6 # BuildRequires: rubygem(seedbank) >= 0.3 # BuildRequires: rubygem(seedbank) < 1 # BuildRequires: rubygem(factory_bot_rails) >= 4.8.2 # BuildRequires: rubygem(factory_bot_rails) < 6 # BuildRequires: rubygem(faker) >= 2.12 # BuildRequires: rubygem(faker) < 3 # BuildRequires: rubygem(haml) >= 5 # BuildRequires: rubygem(haml) < 6 # BuildRequires: rubygem(database_cleaner) >= 1.4 # BuildRequires: rubygem(database_cleaner) < 2 # BuildRequires: rubygem(rails-controller-testing) >= 1 # BuildRequires: rubygem(rails-controller-testing) < 2 # BuildRequires: rubygem(coveralls) >= 0.8 # BuildRequires: rubygem(coveralls) < 1 BuildArch: noarch %description FriendlyId Extension to allow method scopes, in addition to column and relationship scopes. %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} %{gem_instdir}/.ruby-gemspec %{gem_instdir}/.ruby-version %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/MIT-LICENSE %{gem_instdir}/VERSION %{gem_instdir}/coverage %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/friendly_id-method_scopes.gemspec %{gem_instdir}/spec %changelog * Mon Sep 13 2021 mockbuilder - 0.3.7-1 - Initial package