Projects
Eulaceura:Mainline
rubygem-deep_cloneable
_service:obs_scm:rubygem-deep_cloneable.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-deep_cloneable.spec of Package rubygem-deep_cloneable
%global pkgname %{name} %define gem_name deep_cloneable Summary: This gem gives every ActiveRecord::Base object the possibility to do a deep clone Name: rubygem-%{gem_name} Version: 3.0.0 Release: 1 Group: Development/Languages License: MIT URL: https://github.com/moiristo/deep_cloneable Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: https://github.com/moiristo/%{gem_name}/archive/refs/tags/%{gem_name}-%{version}.tar.gz Requires: ruby(release) Requires: ruby(rubygems) Requires: ruby Requires: rubygem(activerecord) >= 3.1.0 Requires: rubygem(activerecord) < 7 BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description Extends the functionality of ActiveRecord::Base#dup to perform a deep clone that includes user specified associations. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -pa .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %doc %{gem_instdir}/LICENSE %{gem_instdir}/* %{gem_instdir}/lib %exclude %{gem_cache} %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.travis.yml %exclude %{gem_instdir}/.document %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/LICENSE %doc %{gem_instdir}/readme.md %doc %{gem_instdir}/CHANGELOG.md %changelog * Mon Jun 7 2021 liqiuyu <liqiuyu@kylinos.cn> - 3.0.0-1 - Init project
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