Projects
openEuler:24.03:SP1:Everything
rubygem-actionview
_service:tar_scm:rubygem-actionview.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rubygem-actionview.spec of Package rubygem-actionview
%global gem_name actionview %bcond_with bootstrap Name: rubygem-%{gem_name} Version: 7.0.7 Release: 1 Summary: Rendering framework putting the V in MVC (part of Rails) License: MIT URL: http://rubyonrails.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # The gem doesn't ship with the test suite. # You may check it out like so # git clone http://github.com/rails/rails.git # cd rails/actionview && git archive -v -o actionview-7.0.7-tests.txz v7.0.7 test/ Source1: %{gem_name}-%{version}-tests.txz # The tools are needed for the test suite, are however unpackaged in gem file. # You may get them like so # git clone http://github.com/rails/rails.git --no-checkout # cd rails && git archive -v -o rails-7.0.7-tools.txz v7.0.7 tools/ Source2: rails-%{version}-tools.txz # Fixes for Minitest 5.16+ # https://github.com/rails/rails/pull/45380 Patch0: rubygem-actionview-7.0.2.3-Remove-the-multi-call-form-of-assert_called_with.patch # https://github.com/rails/rails/pull/45370 Patch1: rubygem-actionview-7.0.2.3-Fix-tests-for-minitest-5.16.patch # https://github.com/rails/rails/commit/770060d93a897cb5fb5108bb828b927fe6bb5353 Patch2: Handle-non-string-partial-body-in-ActionView-Collect.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel rubygem(did_you_mean) %if %{without bootstrap} BuildRequires: rubygem(activesupport) = %{version} BuildRequires: rubygem(activerecord) = %{version} BuildRequires: rubygem(actionpack) = %{version} BuildRequires: rubygem(railties) = %{version} BuildRequires: rubygem(sqlite3) %endif BuildArch: noarch %description Simple, battle-tested conventions and helpers for building web pages. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b1 -b2 %patch2 -p2 pushd %{_builddir} %patch0 -p2 %patch1 -p2 popd %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %if %{without bootstrap} %check ln -s %{gem_dir}/gems/activerecord-%{version}/ .%{gem_dir}/gems/activerecord pushd .%{gem_instdir} ln -s %{_builddir}/tools .. mv %{_builddir}/test . # Test failure # https://github.com/rails/rails/issues/46130 mv test/template/date_helper_i18n_test.rb{,.disable} find test -type f -name '*_test.rb' -print0 | \ sort -z | \ xargs -0 -n1 -i sh -c "echo '* Test file: {}'; ruby -Itest -- '{}' || exit 255" popd %endif %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %license %{gem_instdir}/MIT-LICENSE %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.rdoc %doc %{gem_instdir}/CHANGELOG.md %changelog * Thu Aug 17 2023 wulei <wu_lei@hoperun.com> - 7.0.7-1 - Upgrade to version 7.0.7 * Thu Jan 19 2023 yanxiaobing <yanxiaobing@huawei.com> - 7.0.4-1 - Upgrade to version 7.0.4 * Mon May 02 2022 wangkerong <wangkerong@h-partners.com>- 6.1.4.1-1 - Upgrade to 6.1.4.1 * Wed Aug 04 2021 wangyue <wangyue92@huawei.com> - 5.2.4.4-2 - revert to 5.2.4.4 * Fri Jun 25 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 6.0.3.4-2 - Add code testing * Mon Jun 07 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 6.0.3.4-1 - Update to 6.0.3.4 * Mon Feb 8 2021 sunguoshuai<sunguoshuai@huawei.com>- 5.2.4.4-1 - Upgrade to 5.2.4.4 * Sat Aug 8 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2