- Use %patch -P N syntax instead of deprectaed %patchN.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ronn?expand=0&rev=8
This commit is contained in:
Dan Čermák 2024-06-21 09:19:48 +00:00 committed by Git OBS Bridge
parent e081f8ba0c
commit 239a9e6e93
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 10 07:57:36 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N syntax instead of deprectaed %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 9 10:26:45 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com> Mon Dec 9 10:26:45 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package rubygem-ronn # spec file for package rubygem-ronn
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -29,12 +29,12 @@ Release: 0
%define mod_name ronn %define mod_name ronn
%define mod_full_name %{mod_name}-%{version} %define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives BuildRequires: update-alternatives
Url: http://rtomayko.github.com/ronn URL: http://rtomayko.github.com/ronn
Source: https://rubygems.org/gems/%{mod_full_name}.gem Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml Source1: gem2rpm.yml
# MANUAL # MANUAL
@ -51,7 +51,7 @@ for terminal display, and also to HTML for the web.
%prep %prep
%gem_unpack %gem_unpack
%patch0 -p1 %patch -P 0 -p1
find -type f -print0 | xargs -0 touch -r %{S:0} find -type f -print0 | xargs -0 touch -r %{S:0}
%gem_build %gem_build