This commit is contained in:
root 2020-08-26 15:34:08 +08:00
parent 00e0abc6ff
commit 401433cb4c
2 changed files with 17 additions and 19 deletions

View File

@ -1,18 +1,18 @@
%global gem_name http-cookie %global gem_name http-cookie
%global rubyabi 1.9.1 %global rubyabi 1.9.1
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 1.0.3 Version: 1.0.3
Release: 1 Release: 1
Summary: Ruby library to handle HTTP Cookies based on RFC 6265 Summary: Ruby library to handle HTTP Cookies based on RFC 6265
License: MIT License: MIT
URL: https://github.com/sparklemotion/http-cookie URL: https://github.com/sparklemotion/http-cookie
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(release) Requires: ruby(release)
BuildRequires: ruby(release) BuildRequires: ruby(release)
BuildRequires: rubygems-devel rubygem(test-unit) rubygem(domain_name) rubygem(sqlite3) BuildRequires: rubygems-devel rubygem(test-unit) rubygem(domain_name) rubygem(sqlite3)
Requires: ruby(rubygems) rubygem(domain_name) Requires: ruby(rubygems) rubygem(domain_name)
BuildArch: noarch BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}-%{release} Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description %description
HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It
has with security, standards compliance and compatibility in mind, to behave has with security, standards compliance and compatibility in mind, to behave
@ -21,10 +21,9 @@ legacy cookies.txt and the latest cookies.sqlite formats of Mozilla Firefox,
and its modular API makes it easy to add support for a new backend store. and its modular API makes it easy to add support for a new backend store.
%package doc %package doc
Summary: Documentation for %{name} Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description doc %description doc
Documentation for %{name} Documentation for %{name}
@ -71,5 +70,5 @@ popd
%exclude %{gem_instdir}/test/ %exclude %{gem_instdir}/test/
%changelog %changelog
* Wed Aug 19 2020 tuShenmei <tushenmei@huawei.com> - 1.0.3-1 * Wed Aug 26 2020 tushenmei <tushenmei@huawei.com> - 1.0.3-1
- package init - package init

View File

@ -1,4 +1,3 @@
---
version_control: gitHub version_control: gitHub
src_repo: sparklemotion/http-cookie src_repo: sparklemotion/http-cookie
tag_prefix: "http-cookie-" tag_prefix: "http-cookie-"