diff --git a/actionpack-5.2.4.4.gem b/actionpack-5.2.4.4.gem deleted file mode 100644 index 296ed5f42e4b7c6e68911b3ae15598c59ce249d3..0000000000000000000000000000000000000000 Binary files a/actionpack-5.2.4.4.gem and /dev/null differ diff --git a/actionpack-6.0.3.4.gem b/actionpack-6.0.3.4.gem new file mode 100644 index 0000000000000000000000000000000000000000..87f80e8ffd6bd44703a4f3be866ec1911127c8b4 Binary files /dev/null and b/actionpack-6.0.3.4.gem differ diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec index 3d24da9d5ae2ca278bad0d65e9be2ed1aa200203..ac4d1c91ae806c1dee8655d6680ae73cc439b0b5 100644 --- a/rubygem-actionpack.spec +++ b/rubygem-actionpack.spec @@ -1,54 +1,84 @@ +# template: scl +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + %global gem_name actionpack -%{?_with_bootstrap: %global bootstrap 1} -%global bootstrap 1 -Name: rubygem-%{gem_name} -Epoch: 1 -Version: 5.2.4.4 -Release: 1 -Summary: Web-flow and rendering framework putting the VC in MVC (part of Rails) -License: MIT -URL: http://rubyonrails.org -Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -Source1: https://github.com/rails/rails/archive/v5.2.4.4.tar.gz -BuildRequires: ruby(release) rubygems-devel ruby >= 2.2.2 -%if ! 0%{?bootstrap} -BuildRequires: rubygem(activemodel) = %{version} rubygem(activerecord) = %{version} -BuildRequires: rubygem(activesupport) = %{version} rubygem(actionview) = %{version} -BuildRequires: rubygem(railties) = %{version} rubygem(rack) rubygem(rack-cache) -BuildRequires: rubygem(rack-test) rubygem(puma) rubygem(capybara) >= 2.13.0 -%endif -BuildArch: noarch +%global gem_require_name %{gem_name} + +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 6.0.3.4 +Release: 1 +Summary: Web-flow and rendering framework putting the VC in MVC (part of Rails) +Group: Development/Languages +License: MIT +URL: https://rubyonrails.org +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem + +# start specfile generated dependencies +Requires: %{?scl_prefix_ruby}ruby(release) +Requires: %{?scl_prefix_ruby}ruby >= 2.5.0 +Requires: %{?scl_prefix_ruby}ruby(rubygems) +Requires: %{?scl_prefix}rubygem(activesupport) = 6.0.3.4 +Requires: %{?scl_prefix}rubygem(rack) >= 2.0 +Requires: %{?scl_prefix}rubygem(rack) < 3 +Requires: %{?scl_prefix}rubygem(rack) >= 2.0.8 +Requires: %{?scl_prefix}rubygem(rack-test) >= 0.6.3 +Requires: %{?scl_prefix}rubygem(rails-html-sanitizer) >= 1.0 +Requires: %{?scl_prefix}rubygem(rails-html-sanitizer) < 2 +Requires: %{?scl_prefix}rubygem(rails-html-sanitizer) >= 1.2.0 +Requires: %{?scl_prefix}rubygem(rails-dom-testing) >= 2.0 +Requires: %{?scl_prefix}rubygem(rails-dom-testing) < 3 +Requires: %{?scl_prefix}rubygem(actionview) = 6.0.3.4 +BuildRequires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}ruby >= 2.5.0 +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} +# end specfile generated dependencies + +Obsoletes: tfm-ror52-rubygem-%{gem_name} <= 5.2.1 + %description -Eases web-request routing, handling, and response as a half-way front, -half-way page controller. Implemented with specific emphasis on enabling easy -unit/integration testing that doesn't require a browser. +Web apps on Rails. Simple, battle-tested conventions for building and testing +MVC web applications. Works with any Rack-compatible server. + %package doc -Summary: Documentation for %{name} -Requires: %{name} = %{epoch}:%{version}-%{release} -BuildArch: noarch +Summary: Documentation for %{pkg_name} +Group: Documentation +Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +BuildArch: noarch + %description doc -Documentation for %{name}. +Documentation for %{pkg_name}. %prep -%setup -q -c -T -%gem_install -n %{SOURCE0} +%{?scl:scl enable %{scl} - << \EOF} +gem unpack %{SOURCE0} +%{?scl:EOF} + +%setup -q -D -T -n %{gem_name}-%{version} + +%{?scl:scl enable %{scl} - << \EOF} +gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec +%{?scl:EOF} %build +# Create the gem as gem install only works on a gem file +%{?scl:scl enable %{scl} - << \EOF} +gem build %{gem_name}.gemspec +%{?scl:EOF} + +# %%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 +%{?scl:scl enable %{scl} - << \EOF} +%gem_install +%{?scl:EOF} %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ -%if ! 0%{?bootstrap} - -%check -pushd .%{gem_instdir} -tar xzvf %{SOURCE1} -cd rails-%{version}/%{gem_name} -ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' -popd -%endif %files %dir %{gem_instdir} @@ -63,8 +93,11 @@ popd %doc %{gem_instdir}/README.rdoc %changelog +* Mon Jun 07 2021 jiangxinyu - 6.0.3.4-1 +- Update to 6.0.3.4-1 + * Mon Feb 8 2021sunguoshuai- 5.2.4.4-1 - Upgrade to 5.2.4.4 * Sat Aug 8 2020 chengzihan - 5.2.3-1 -- Package init +- Package init \ No newline at end of file diff --git a/v5.2.4.4.tar.gz b/v5.2.4.4.tar.gz deleted file mode 100644 index 6191daf33e0601a05f29c470eca8d428974f5e8e..0000000000000000000000000000000000000000 Binary files a/v5.2.4.4.tar.gz and /dev/null differ