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
# :patches:
# 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
# :sources:
# - foo.desktop
@ -54,7 +56,7 @@
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
@ -68,13 +70,11 @@
# :post: |-
# /bin/echo foo
#
---
:license: BSD-2-Clause
:sources:
- rubygem-byebug-rpmlintrc
- rubygem-byebug-rpmlintrc
:preamble: |-
%if 0%{?suse_version} == 1110
%define rb_build_versions ruby21
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1330
%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

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

View File

@ -29,17 +29,18 @@ Release: 0
%define mod_name byebug
%define mod_full_name %{mod_name}-%{version}
# MANUAL
%if 0%{?suse_version} == 1110
%define rb_build_versions ruby21
%if 0%{?suse_version} && 0%{?suse_version} < 1330
%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
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{rubydevel >= 2.2.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
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
Source2: gem2rpm.yml
Summary: Ruby fast debugger - base + CLI