# Generated from sprockets-rails-2.0.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name sprockets-rails Name: rubygem-%{gem_name} Version: 3.2.2 Release: 1%{?dist} Summary: Sprockets Rails integration License: MIT URL: https://github.com/rails/sprockets-rails Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # Get the tests # git clone --no-checkout https://github.com/rails/sprockets-rails.git # cd sprockets-rails && git archive -v -o sprockets-rails-3.2.2-tests.txz v3.2.2 test/ Source1: sprockets-rails-%{version}-tests.txz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(minitest) BuildRequires: rubygem(railties) >= 3.0 BuildRequires: rubygem(rake) BuildRequires: rubygem(sprockets) BuildArch: noarch %description Provides Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ln -s %{_builddir}/test . ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/MIT-LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Fri Oct 9 04:24:35 CEST 2020 Pavel Valena - 3.2.2-1 - Update to sprockets-rails 3.2.2. Resolves: rhbz#1878349 * Wed Jul 29 2020 Fedora Release Engineering - 3.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 3.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 3.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 3.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 3.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 19 2018 Pavel Valena - 3.2.1-1 - Update to Sprockets Rails 3.2.1. * Fri Feb 09 2018 Fedora Release Engineering - 3.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Aug 15 2017 Jun Aruga - 3.2.0-5 - Fix tests for FTBFS. * Thu Jul 27 2017 Fedora Release Engineering - 3.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jul 13 2017 Vít Ondruch - 3.2.0-3 - Fix test compatibility with Rails 5.1. * Sat Feb 11 2017 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Dec 15 2016 Jun Aruga - 3.2.0-1 - Update to sprockets-rails 3.2.0. * Mon Aug 15 2016 Vít Ondruch - 3.1.1-1 - Update to sprockets-rails 3.1.1. * Thu Feb 04 2016 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jun 29 2015 Josef Stribny - 2.3.2-1 - Update to 2.3.2 * Thu Jun 18 2015 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 18 2015 Josef Stribny - 2.3.1-1 - Update to 2.3.1 * Thu Jan 29 2015 Vít Ondruch - 2.2.4-2 - Drop the boostrap and depend on railties instead of rails. * Wed Jan 28 2015 Vít Ondruch - 2.2.4-1 - Update to sprockets-rails 2.2.4. * Fri Jul 04 2014 Vít Ondruch - 2.1.3-1 - Update to sprockets-rails 2.1.3. * Sun Jun 08 2014 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 07 2014 Josef Stribny - 2.0.1-1 - Update to 2.0.1 * Thu Aug 08 2013 Josef Stribny - 2.0.0-3 - Enable tests * Wed Jul 31 2013 Josef Stribny - 2.0.0-2 - Disable tests for now due to broken deps in Rails * Mon Jul 22 2013 Josef Stribny - 2.0.0-1 - Initial package