SHA256
1
0
forked from pool/ruby-common

6 Commits

Author SHA256 Message Date
4902ef27e2 Accepting request 1239483 from devel:languages:ruby
Forwarded request #1239482 from darix

- do not generate unversioned conflicts

OBS-URL: https://build.opensuse.org/request/show/1239483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=31
2025-01-23 16:56:44 +00:00
476f68b573 - do not generate unversioned conflicts
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=140
2025-01-22 10:29:11 +00:00
7bb34162f7 Accepting request 1219472 from devel:languages:ruby
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1219472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=30
2024-10-31 15:09:11 +00:00
0412ae229e - 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

- update suse.patch and sync in ruby-common/gem_packages.spec.erb

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=138
2024-10-08 00:30:02 +00:00
d461f359b5 Accepting request 1204269 from devel:languages:ruby
- update gem_packages.spec.erb:
  dont strip the newline at the end of main:filelist output

OBS-URL: https://build.opensuse.org/request/show/1204269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=29
2024-09-29 16:09:27 +00:00
74dea9518b - update gem_packages.spec.erb:
dont strip the newline at the end of main:filelist output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=136
2024-09-28 00:01:22 +00:00
3 changed files with 28 additions and 11 deletions

View File

@@ -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] %>

View File

@@ -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>

View File

@@ -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