Dan Čermák 2021-08-25 12:41:10 +00:00 committed by Git OBS Bridge
parent 48afe61e14
commit bdd598a8ca
3 changed files with 22 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# ---
---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
@ -33,9 +33,9 @@
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
:post_install: |-
# drop files from the git repository
find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.travis.yml' -o -name '.gitignore' \) | xargs rm
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 25 12:41:06 UTC 2021 - Dan Čermák <dcermak@suse.com>
- Cleanup spec
-------------------------------------------------------------------
Thu Jun 24 17:30:51 UTC 2021 - Stephan Kulow <coolo@suse.com>

View File

@ -16,28 +16,26 @@
#
%define mod_name http-cookie
%define mod_full_name %{mod_name}-%{version}
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-http-cookie
Version: 1.0.4
Release: 0
%define mod_name http-cookie
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
URL: https://github.com/sparklemotion/http-cookie
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: A Ruby library to handle HTTP Cookies based on RFC 6265
License: MIT
Group: Development/Languages/Ruby
URL: https://github.com/sparklemotion/http-cookie
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
%description
HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It
@ -54,6 +52,11 @@ and its modular API makes it easy to add support for a new backend store.
%gem_install \
--doc-files="CHANGELOG.md LICENSE.txt README.md" \
-f
# MANUAL
# drop files from the git repository
find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.travis.yml' -o -name '.gitignore' \) | xargs rm
# /MANUAL
%gem_packages