1
0

- Add requires (also as buildrequires) that are put in the default

Gemfile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rails-7.0?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2022-03-07 13:21:41 +00:00
committed by Git OBS Bridge
parent f9030db990
commit a21f84d74c
3 changed files with 63 additions and 4 deletions

View File

@@ -70,3 +70,38 @@
# :post: |-
# /bin/echo foo
:version_suffix: '-7.0'
:preamble: |-
#!BuildIgnore: ruby3.1-rubygem-sprockets-3.7
BuildRequires: %{rubygem railties:7.0}
# keep in sync with below
BuildRequires: %{rubygem puma:5}
BuildRequires: %{rubygem sprockets-rails}
BuildRequires: %{rubygem sqlite3:1 >= 1.4}
BuildRequires: %{rubygem importmap-rails}
BuildRequires: %{rubygem bootsnap}
BuildRequires: %{rubygem turbo-rails}
BuildRequires: %{rubygem stimulus-rails}
BuildRequires: %{rubygem jbuilder}
BuildRequires: %{rubygem web-console }
# It says 3.0, but to avoid any question for the 3.7 we
# still have in Factory, let's go newer
BuildRequires: %{rubygem sprockets > 3.8}
:main:
:preamble: |-
Recommends: git
Recommends: nodejs
Recommends: yarn
# keep in sync with above
Requires: %{rubygem puma:5}
Requires: %{rubygem sprockets-rails}
Requires: %{rubygem sqlite3:1 >= 1.4}
Requires: %{rubygem importmap-rails}
Requires: %{rubygem bootsnap}
Requires: %{rubygem turbo-rails}
Requires: %{rubygem stimulus-rails}
Requires: %{rubygem jbuilder}
Requires: %{rubygem web-console }
Requires: %{rubygem sprockets > 3.8}

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 7 13:21:13 UTC 2022 - Stephan Kulow <coolo@suse.com>
- Add requires (also as buildrequires) that are put in the default
Gemfile
-------------------------------------------------------------------
Tue Feb 15 07:35:59 UTC 2022 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rails-7.0
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@@ -29,11 +29,29 @@ Release: 0
%define mod_name rails
%define mod_full_name %{mod_name}-%{version}
%define mod_version_suffix -7.0
# MANUAL
#!BuildIgnore: ruby3.1-rubygem-sprockets-3.7
BuildRequires: %{rubygem railties:7.0}
# keep in sync with below
BuildRequires: %{rubygem puma:5}
BuildRequires: %{rubygem sprockets-rails}
BuildRequires: %{rubygem sqlite3:1 >= 1.4}
BuildRequires: %{rubygem importmap-rails}
BuildRequires: %{rubygem bootsnap}
BuildRequires: %{rubygem turbo-rails}
BuildRequires: %{rubygem stimulus-rails}
BuildRequires: %{rubygem jbuilder}
BuildRequires: %{rubygem web-console }
# It says 3.0, but to avoid any question for the 3.7 we
# still have in Factory, let's go newer
BuildRequires: %{rubygem sprockets > 3.8}
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 2.7.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
URL: https://rubyonrails.org
Url: https://rubyonrails.org
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Full-stack web application framework