Accepting request 520629 from home:darix:apps

- only build on 2.2 and newer

OBS-URL: https://build.opensuse.org/request/show/520629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-byebug?expand=0&rev=39
This commit is contained in:
Stephan Kulow 2017-09-12 07:18:49 +00:00 committed by Git OBS Bridge
parent c4e2518cd3
commit 13631e617b
3 changed files with 19 additions and 13 deletions

View File

@ -21,7 +21,9 @@
# ## used by gem2rpm # ## used by gem2rpm
# :patches: # :patches:
# foo.patch: -p1 # foo.patch: -p1
# bar.patch: # bar.patch:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm # ## used by gem2rpm
# :sources: # :sources:
# - foo.desktop # - foo.desktop
@ -54,7 +56,7 @@
# :filelist: |- # :filelist: |-
# /usr/bin/gem2rpm-opensuse # /usr/bin/gem2rpm-opensuse
# ## used by gem_packages # ## used by gem_packages
# :custom: # :custom_pkgs:
# apache: # apache:
# :preamble: |- # :preamble: |-
# Requires: ..... # Requires: .....
@ -68,13 +70,11 @@
# :post: |- # :post: |-
# /bin/echo foo # /bin/echo foo
# #
---
:license: BSD-2-Clause :license: BSD-2-Clause
:sources: :sources:
- rubygem-byebug-rpmlintrc - rubygem-byebug-rpmlintrc
:preamble: |- :preamble: |-
%if 0%{?suse_version} == 1110 %if 0%{?suse_version} && 0%{?suse_version} < 1330
%define rb_build_versions ruby21 %define rb_build_versions ruby22 ruby23 ruby24
%endif %define rb_default_ruby_abi ruby:2.2.0 ruby:2.3.0 ruby:2.4.0
%endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 4 10:12:51 UTC 2017 - mrueckert@suse.de
- only build on 2.2 and newer
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 3 08:57:33 UTC 2017 - coolo@suse.com Sun Sep 3 08:57:33 UTC 2017 - coolo@suse.com

View File

@ -29,17 +29,18 @@ Release: 0
%define mod_name byebug %define mod_name byebug
%define mod_full_name %{mod_name}-%{version} %define mod_full_name %{mod_name}-%{version}
# MANUAL # MANUAL
%if 0%{?suse_version} == 1110 %if 0%{?suse_version} && 0%{?suse_version} < 1330
%define rb_build_versions ruby21 %define rb_build_versions ruby22 ruby23 ruby24
%define rb_default_ruby_abi ruby:2.2.0 ruby:2.3.0 ruby:2.4.0
%endif %endif
# /MANUAL # /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{rubydevel >= 2.2.0} BuildRequires: %{rubydevel >= 2.2.0}
BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives BuildRequires: update-alternatives
Url: http://github.com/deivid-rodriguez/byebug Url: http://github.com/deivid-rodriguez/byebug
Source: http://rubygems.org/gems/%{mod_full_name}.gem Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: rubygem-byebug-rpmlintrc Source1: rubygem-byebug-rpmlintrc
Source2: gem2rpm.yml Source2: gem2rpm.yml
Summary: Ruby fast debugger - base + CLI Summary: Ruby fast debugger - base + CLI