Projects
home:Eustace:branches:Eulaceura:Factory
rubygem-domain_name
_service:obs_scm:rubygem-domain_name.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-domain_name.spec of Package rubygem-domain_name
%global gem_name domain_name %global rubyabi 1.9.1 Summary: Domain Name manipulation library for Ruby Name: rubygem-%{gem_name} Version: 0.6.20240107 Release: 1 License: BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 URL: https://github.com/knu/ruby-domain_name Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) BuildRequires: ruby(release) Requires: ruby(rubygems) rubygem(unf) BuildRequires: rubygems-devel rubygem(test-unit) rubygem(unf) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version}-%{release} %description This is a Domain Name manipulation library for Ruby. It can also be used for cookie domain validation based on the Public Suffix List. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %autosetup -n %{gem_name}-%{version} mv ../%{gem_name}-%{version}.gemspec . %build gem build %{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ # Clean up rm -f %{buildroot}%{gem_cache} pushd %{buildroot}%{gem_instdir} rm -rf \ .document \ .github/ \ .gitignore \ .travis.yml \ Gemfile \ Rakefile \ %{gem_name}.gemspec \ data/ \ test/ \ tool/ \ %{nil} popd %check pushd .%{gem_instdir} sed -i.orig \ -e '/begin/,/end/d' \ -e '/bundler/d' \ test/helper.rb for f in test/test_*.rb do ruby -Ilib:test:. $f done popd %files %dir %{gem_instdir} %doc %{gem_instdir}/[A-Z]* %{gem_libdir} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Tue Jun 11 2024 yaoxin <yao_xin001@hoperun.com> - 0.6.20240107-1 - Update to 0.6.20240107 * Fix regression: Allow DomainName.normalize to accept ASCII-only, non-unicode encoded input * Update the eTLD database to 2024-01-07 11:25:45 UTC * Update license to BSD-2-Clause AND BSD-3-Clause AND MPL-2.0 * Tue Aug 18 2020 wanglin <wanglin175@huawei.com> - 0.5.20190701-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