Projects
Mega:23.03
rubygem-globalid
_service:tar_scm:rubygem-globalid.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rubygem-globalid.spec of Package rubygem-globalid
%global gem_name globalid %{?_with_bootstrap: %global bootstrap 1} Name: rubygem-%{gem_name} Version: 1.0.0 Release: 1 Summary: Refer to any model with a URI: gid://app/class/id License: MIT URL: https://github.com/rails/%{gem_name} Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: https://github.com/rails/%{gem_name}/archive/v%{version}.tar.gz BuildRequires: ruby(release) rubygems-devel ruby >= 1.9.3 %if ! 0%{?bootstrap} BuildRequires: rubygem(activesupport) >= 4.1 rubygem(activemodel) >= 4.1 BuildRequires: rubygem(railties) >= 4.1 %endif BuildArch: noarch %description URIs for your models makes it easy to pass references around. %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}/ %if 0%{?bootstrap} %check pushd .%{gem_instdir} ln -s %{_builddir}/globalid-%{version}/test test sed -i "/bundler\/setup/ s/^/#/" ./test/helper.rb sed -i "/defaults to nil when secret_token is not present' do/a \\ skip 'Not compatible with Rails 5.2'" test/cases/railtie_test.rb ruby -Ilib:test -rforwardable -e "Dir.glob './test/cases/*test.rb', &method(:require)" popd %endif %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 * Tue Jan 17 2023 wangkai <wangkai385@h-partners.com> - 1.0.0-1 - Upgrade to version 1.0.0 * Thu Aug 12 2021 liyanan <liyanan32@huawei.com> - 0.4.2-3 - fix spec file name * Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 0.4.2-2 - fix build fail * Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 0.4.2-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