Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-debase-ruby_core_source for
openSUSE:Factory checked in at 2021-09-14 21:14:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-debase-ruby_core_source (Old)
and /work/SRC/openSUSE:Factory/.rubygem-debase-ruby_core_source.new.1899
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-debase-ruby_core_source"
Tue Sep 14 21:14:33 2021 rev:5 rq:918838 version:0.10.12
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-debase-ruby_core_source/rubygem-debase-ruby_core_source.changes
2021-01-21 21:55:28.509798933 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-debase-ruby_core_source.new.1899/rubygem-debase-ruby_core_source.changes
2021-09-14 21:14:51.556432688 +0200
@@ -1,0 +2,5 @@
+Tue Sep 14 07:40:06 UTC 2021 - Dan ??erm??k <[email protected]>
+
+- Fix rpmlintrc name & add fdupes call
+
+-------------------------------------------------------------------
Old:
----
rpmlintrc
New:
----
rubygem-debase-ruby_core_source-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-debase-ruby_core_source.spec ++++++
--- /var/tmp/diff_new_pack.n64F4b/_old 2021-09-14 21:14:52.104433226 +0200
+++ /var/tmp/diff_new_pack.n64F4b/_new 2021-09-14 21:14:52.104433226 +0200
@@ -16,29 +16,30 @@
#
+%define mod_name debase-ruby_core_source
+%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-debase-ruby_core_source
Version: 0.10.12
Release: 0
-%define mod_name debase-ruby_core_source
-%define mod_full_name %{mod_name}-%{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{ruby >= 1.9.3}
-BuildRequires: %{rubygem gem2rpm}
-BuildRequires: ruby-macros >= 5
-URL: http://github.com/os97673/debase-ruby_core_source
-Source: https://rubygems.org/gems/%{mod_full_name}.gem
-Source1: rpmlintrc
-Source2: gem2rpm.yml
Summary: Provide Ruby core source files
License: MIT
Group: Development/Languages/Ruby
+URL: https://github.com/os97673/debase-ruby_core_source
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source1: rubygem-debase-ruby_core_source-rpmlintrc
+Source2: gem2rpm.yml
+BuildRequires: %{ruby >= 1.9.3}
+BuildRequires: %{rubygem gem2rpm}
+BuildRequires: ruby-macros >= 5
+# MANUAL
+BuildRequires: fdupes
+# /MANUAL
%description
Provide Ruby core source files for C extensions that need them.
@@ -51,6 +52,12 @@
%gem_install \
--doc-files="CHANGELOG.md LEGAL LICENSE.txt README.md" \
-f
+# MANUAL
+# drop files from the git repository
+find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.gitignore' \) | xargs rm
+%fdupes %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_full_name}/
+# /MANUAL
+
%gem_packages
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.n64F4b/_old 2021-09-14 21:14:52.132433252 +0200
+++ /var/tmp/diff_new_pack.n64F4b/_new 2021-09-14 21:14:52.136433257 +0200
@@ -1,4 +1,4 @@
-# ---
+---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
@@ -15,8 +15,8 @@
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
-# :preamble: |-
-# BuildRequires: foobar
+:preamble: |-
+ BuildRequires: fdupes
# Requires: foobar
# ## used by gem2rpm
# :patches:
@@ -26,7 +26,7 @@
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
- - rpmlintrc
+ - rubygem-debase-ruby_core_source-rpmlintrc
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
@@ -36,9 +36,10 @@
# 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 '.gitignore' \) | xargs rm
+ %fdupes %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_full_name}/
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
++++++ rubygem-debase-ruby_core_source-rpmlintrc ++++++
# The package ships header files in the gems directory on purpose
addFilter("devel-file-in-non-devel-package.*h")