Projects
Eulaceura:Mainline:GA
rubygem-public_suffix
_service:obs_scm:rubygem-public_suffix.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-public_suffix.spec of Package rubygem-public_suffix
%global gem_name public_suffix Name: rubygem-%{gem_name} Version: 5.0.3 Release: 1 Summary: Domain name parser based on the Public Suffix List License: MIT and MPLv2.0 URL: https://simonecarletti.com/code/publicsuffix-ruby Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest) rubygem(mocha) BuildArch: noarch %description PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains. %package doc Summary: Documentation for %{name} License: MIT and Public Domain Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} sed -i '/[Rr]eporters/ s/^/#/' test/test_helper.rb LANG=C.utf-8 ruby -Itest -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt %exclude %{gem_instdir}/bin %{gem_instdir}/data %{gem_libdir} %exclude %{gem_instdir}/public_suffix.gemspec %exclude %{gem_cache} %{gem_spec} %exclude %{gem_instdir}/codecov.yml %files doc %doc %{gem_docdir} %doc %{gem_instdir}/2.0-Upgrade.md %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/SECURITY.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/test %exclude %{gem_instdir}/test/.empty %changelog * Thu Nov 16 2023 Ge Wang <wang__ge@126.com> - 5.0.3-1 - Upgrade to 5.0.3 * Thu Jun 30 2022 wulei <wulei80@h-partners.com> - 4.0.7-1 - Upgrade to 4.0.7 * Fri Feb 11 2022 liyanan <liyanan32@huawei.com> - 3.0.1-2 - Fix build error * Wed Aug 19 2020 luoshengwei <luoshengwei@huawei.com> - 3.0.1-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