2020-08-25 12:03:14 +08:00
|
|
|
%global gem_name rails
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Epoch: 1
|
2023-01-19 11:32:54 +08:00
|
|
|
Version: 7.0.4
|
2020-08-25 12:03:14 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Full-stack web application framework
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://rubyonrails.org
|
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
BuildRequires: ruby(release) rubygems-devel >= 1.8.11 ruby >= 2.2.2
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%description
|
|
|
|
|
Ruby on Rails is a full-stack web framework optimized for programmer happiness
|
|
|
|
|
and sustainable productivity. It encourages beautiful code by favoring
|
|
|
|
|
convention over configuration.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
License: MIT and (MIT or GPL+)
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%description doc
|
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-03-02 18:32:50 +08:00
|
|
|
%setup -q -n %{gem_name}-%{version}
|
2020-08-25 12:03:14 +08:00
|
|
|
|
|
|
|
|
%build
|
2022-03-02 18:32:50 +08:00
|
|
|
gem build ../%{gem_name}-%{version}.gemspec
|
|
|
|
|
%gem_install
|
2020-08-25 12:03:14 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-01-19 11:32:54 +08:00
|
|
|
* Thu Jan 19 2023 wangkai <wangkai385@h-partners.com> - 1:7.0.4-1
|
|
|
|
|
- Upgrade to version 7.0.4
|
|
|
|
|
|
2022-03-02 18:32:50 +08:00
|
|
|
* Wed Mar 02 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 6.1.4.1-1
|
|
|
|
|
- update to 6.1.4.1
|
|
|
|
|
|
2021-02-03 06:10:25 +00:00
|
|
|
* Wed Feb 03 2021 shinwell_hu <micromotive@qq.com> - 5.2.4.4-1
|
|
|
|
|
- Upgrade to 5.2.4.4 to fix following CVE issue
|
|
|
|
|
CVE-2020-8165
|
|
|
|
|
CVE-2020-8162
|
|
|
|
|
|
2020-08-25 12:03:14 +08:00
|
|
|
* Thu Aug 20 2020 luoshengwei <luoshengwei@huawei.com> - 5.2.3-1
|
|
|
|
|
- package init
|