44 строки
1.3 KiB
Plaintext
44 строки
1.3 KiB
Plaintext
%global debug_package %{nil}
|
|
%global gem_name public_suffix
|
|
Summary: Domain name parser for Ruby based on the Public Suffix List
|
|
Name: rubygem-%{gem_name}
|
|
Version: 5.0.3
|
|
Release: 1%{?dist}
|
|
License: MIT
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Azure Linux
|
|
Group: Development/Languages
|
|
URL: https://simonecarletti.com/code/publicsuffix-ruby/
|
|
Source0: https://github.com/weppos/publicsuffix-ruby/archive/refs/tags/v%{version}.tar.gz#/publicsuffix-ruby-%{version}.tar.gz
|
|
BuildRequires: git
|
|
BuildRequires: ruby
|
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
|
|
|
%description
|
|
PublicSuffix is a Ruby domain name parser based on the Public Suffix List.
|
|
|
|
%prep
|
|
%autosetup -p1 -n publicsuffix-ruby-%{version}
|
|
|
|
%build
|
|
gem build %{gem_name}
|
|
|
|
%install
|
|
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.txt
|
|
%{gemdir}
|
|
|
|
%changelog
|
|
* Sat Mar 23 2024 Riken Maharjan <rmaharjan@microsoft.com> - 5.0.3-1
|
|
- Auto-upgrade to 5.0.3 - azl3.0
|
|
|
|
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 4.0.6-2
|
|
- Build from .tar.gz source.
|
|
|
|
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 4.0.6-1
|
|
- License verified
|
|
- Original version for CBL-Mariner
|