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') %>
|
||||
<% end -%>
|
||||
Summary: <%= config[:summary] or spec.summary %>
|
||||
Group: Development/Languages/Ruby
|
||||
<% unless spec.executables.empty? -%>
|
||||
PreReq: update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
<% end -%>
|
||||
<% if has_plugins -%>
|
||||
Conflicts: rubygem(<%= rb_pkg_abi %>)
|
||||
Conflicts: rubygem(<%= rb_pkg_abi %>) = %{version}
|
||||
<% end -%>
|
||||
Enhances: <%= rb_pkgname %>
|
||||
|
||||
@@ -169,7 +169,6 @@ Enhances: <%= rb_pkgname %>
|
||||
<% if spec.has_rdoc? && !(config[:disable_docs]) -%>
|
||||
%package -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
||||
Summary: RDoc documentation for <%= spec.name %>
|
||||
Group: Development/Languages/Ruby
|
||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||
|
||||
%description -n <%= pkg_basename %>-doc<%= config[:version_suffix] %>
|
||||
@@ -214,7 +213,6 @@ Usually in RDoc and RI formats.
|
||||
<% unless test_frameworks.empty? -%>
|
||||
%package -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
||||
Summary: Test suite for <%= spec.name %>
|
||||
Group: Development/Languages/Ruby
|
||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||
|
||||
%description -n <%= pkg_basename %>-testsuite<%= config[:version_suffix] %>
|
||||
@@ -245,13 +243,13 @@ fi
|
||||
|
||||
%files -n <%= pkg_basename %><%= config[:version_suffix] %>
|
||||
%defattr(-,root,root,-)
|
||||
# MANUAL
|
||||
<% if config[:main] && config[:main][:filelist] -%>
|
||||
<%= config[:main][:filelist] -%>
|
||||
<% end -%>
|
||||
# MANUAL
|
||||
<%= config[:main][:filelist] %>
|
||||
# /MANUAL
|
||||
<% end -%>
|
||||
<% unless docdirfiles.empty? -%>
|
||||
<%= docdir %>/<%= pkg_basename %><%= config[:version_suffix] %>
|
||||
%doc <%= docdir %>/<%= pkg_basename %><%= config[:version_suffix] %>
|
||||
<% end -%>
|
||||
<% spec.executables.each do |executable| -%>
|
||||
<%= rb_bindir %>/<%= "#{executable}#{rb_suffix}-#{spec.version}" %>
|
||||
@@ -302,7 +300,6 @@ fi
|
||||
<%= data[:preamble] %>
|
||||
<% else %>
|
||||
Summary: <%= custom_pkg_name %> sub package for <%= spec.name %>
|
||||
Group: Development/Languages/Ruby
|
||||
<% end %>
|
||||
Requires: <%= pkg_basename %><%= config[:version_suffix] %> = <%= spec.version %>
|
||||
%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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
||||
Reference in New Issue
Block a user