Update to cookiejar 0.3.3.

Also enhance spec file.
f38
Pavel Valena 7 years ago
parent 315caad2b5
commit ca9f2c159d

2
.gitignore vendored

@ -1 +1 @@
/cookiejar-0.3.2.gem
/cookiejar-*.gem

@ -1,21 +1,17 @@
%global gem_name cookiejar
Name: rubygem-%{gem_name}
Version: 0.3.2
Release: 13%{?dist}
Version: 0.3.3
Release: 1%{?dist}
Summary: Parsing and returning cookies in Ruby
License: BSD
URL: https://github.com/dwaite/cookiejar
Source0: https://rubygems.org/gems/cookiejar-%{version}.gem
BuildRequires: rubygem(rspec-collection_matchers)
BuildRequires: rubygem(rspec)
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildArch: noarch
%if 0%{?fc19} || 0%{?fc20}
Requires: ruby(release)
Requires: rubygems
Provides: rubygem(%{gem_name}) = %{version}
%endif
%description
The Ruby CookieJar is a library to help manage client-side cookies in pure
@ -33,15 +29,10 @@ BuildArch: noarch
Documentation for %{name}
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%setup -q -n %{gem_name}-%{version}
%build
gem build %{gem_name}.gemspec
gem build ../%{gem_name}-%{version}.gemspec
%gem_install
@ -53,7 +44,7 @@ popd
%install
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
@ -62,15 +53,21 @@ cp -pa .%{gem_dir}/* \
%exclude %{gem_cache}
%exclude %{gem_instdir}/contributors.json
%{gem_spec}
%doc %{gem_instdir}/spec/*
%doc %{gem_instdir}/LICENSE
%license %{gem_instdir}/LICENSE
%exclude %{gem_instdir}/.*
%exclude %{gem_instdir}/%{gem_name}.gemspec
%exclude %{gem_instdir}/spec
%files doc
%{gem_docdir}
%{gem_instdir}/README.markdown
%doc %{gem_instdir}/README.markdown
%{gem_instdir}/Rakefile
%{gem_instdir}/Gemfile
%changelog
* Tue Apr 03 2018 Pavel Valena <pvalena@redhat.com> - 0.3.3-1
- Update to cookiejar 0.3.3.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
306741dd4027911d1ff8f8fc9492c311 cookiejar-0.3.2.gem
SHA512 (cookiejar-0.3.3.gem) = 52ef655ef7f5219812216328ae24bbae0f5f6edea493bb96dffb1f9d665efa22cd3d1567e84c5cc3bec53ab3ceb8243afb4d710631cd274801e5b2de63a6edbe

Loading…
Cancel
Save