forked from pool/ruby-common
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4902ef27e2 | |||
| 476f68b573 | |||
| 7bb34162f7 | |||
| 0412ae229e | |||
| d461f359b5 | |||
| 74dea9518b |
@@ -154,12 +154,12 @@
|
|||||||
<%= requires_for_feature('yjit') %>
|
<%= requires_for_feature('yjit') %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
Summary: <%= config[:summary] or spec.summary %>
|
Summary: <%= config[:summary] or spec.summary %>
|
||||||
Group: Development/Languages/Ruby
|
|
||||||
<% unless spec.executables.empty? -%>
|
<% unless spec.executables.empty? -%>
|
||||||
PreReq: update-alternatives
|
Requires(preun): update-alternatives
|
||||||
|
Requires(post): update-alternatives
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% if has_plugins -%>
|
<% if has_plugins -%>
|
||||||
Conflicts: rubygem(<%= rb_pkg_abi %>)
|
Conflicts: rubygem(<%= rb_pkg_abi %>) = %{version}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
Enhances: <%= rb_pkgname %>
|
Enhances: <%= rb_pkgname %>
|
||||||
|
|
||||||
@@ -169,7 +169,6 @@ Enhances: <%= rb_pkgname %>
|
|||||||
<% if spec.has_rdoc? && !(config[:disable_docs]) -%>
|
<% if spec.has_rdoc? && !(config[:disable_docs]) -%>
|
||||||
%package -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
%package -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
||||||
Summary: RDoc documentation for <%= spec.name %>
|
Summary: RDoc documentation for <%= spec.name %>
|
||||||
Group: Development/Languages/Ruby
|
|
||||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||||
|
|
||||||
%description -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
%description -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
||||||
@@ -214,7 +213,6 @@ Usually in RDoc and RI formats.
|
|||||||
<% unless test_frameworks.empty? -%>
|
<% unless test_frameworks.empty? -%>
|
||||||
%package -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
%package -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
||||||
Summary: Test suite for <%= spec.name %>
|
Summary: Test suite for <%= spec.name %>
|
||||||
Group: Development/Languages/Ruby
|
|
||||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||||
|
|
||||||
%description -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
%description -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
||||||
@@ -245,13 +243,13 @@ fi
|
|||||||
|
|
||||||
%files -n <%= pkg_basename %><%= config[:version_suffix] %>
|
%files -n <%= pkg_basename %><%= config[:version_suffix] %>
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
# MANUAL
|
|
||||||
<% if config[:main] && config[:main][:filelist] -%>
|
<% if config[:main] && config[:main][:filelist] -%>
|
||||||
<%= config[:main][:filelist] -%>
|
# MANUAL
|
||||||
<% end -%>
|
<%= config[:main][:filelist] %>
|
||||||
# /MANUAL
|
# /MANUAL
|
||||||
|
<% end -%>
|
||||||
<% unless docdirfiles.empty? -%>
|
<% unless docdirfiles.empty? -%>
|
||||||
<%= docdir %>/<%= pkg_basename %><%= config[:version_suffix] %>
|
%doc <%= docdir %>/<%= pkg_basename %><%= config[:version_suffix] %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% spec.executables.each do |executable| -%>
|
<% spec.executables.each do |executable| -%>
|
||||||
<%= rb_bindir %>/<%= "#{executable}#{rb_suffix}-#{spec.version}" %>
|
<%= rb_bindir %>/<%= "#{executable}#{rb_suffix}-#{spec.version}" %>
|
||||||
@@ -302,7 +300,6 @@ fi
|
|||||||
<%= data[:preamble] %>
|
<%= data[:preamble] %>
|
||||||
<% else %>
|
<% else %>
|
||||||
Summary: <%= custom_pkg_name %> sub package for <%= spec.name %>
|
Summary: <%= custom_pkg_name %> sub package for <%= spec.name %>
|
||||||
Group: Development/Languages/Ruby
|
|
||||||
<% end %>
|
<% end %>
|
||||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||||
%description -n <%= pkg_basename %>-<%= custom_pkg_name %><%= config[:version_suffix] %>
|
%description -n <%= pkg_basename %>-<%= custom_pkg_name %><%= config[:version_suffix] %>
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 10:27:14 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- do not generate unversioned conflicts
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 00:27:46 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- update gem_packages.spec.erb by syncing with gem2rpm
|
||||||
|
- drop group tag
|
||||||
|
- only emit manual comments if we actually put out content
|
||||||
|
- mark docs explicitely with the %doc tag
|
||||||
|
- stop using deprecated PreReq for update-alternatives
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 28 00:00:32 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- update gem_packages.spec.erb:
|
||||||
|
dont strip the newline at the end of main:filelist output
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 7 13:52:41 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
Fri Jun 7 13:52:41 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ruby-common
|
# spec file for package ruby-common
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
|||||||
Reference in New Issue
Block a user