Regenerate spec file to drop update-alternatives dependency

This commit is contained in:
Steven R. Baker
2026-06-13 15:47:37 +02:00
parent 0cd47e5035
commit 95383e4b14
2 changed files with 12 additions and 10 deletions
+5
View File
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 13 12:39:30 UTC 2026 - Steven Baker <steven.baker@suse.com>
- Regenerate spec file to drop update-alternatives dependency
-------------------------------------------------------------------
Thu Mar 27 13:38:14 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
+7 -10
View File
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-ronn
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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 http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -28,22 +28,18 @@ Version: 0.7.3
Release: 0
%define mod_name ronn
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: update-alternatives
Url: http://rtomayko.github.com/ronn
URL: http://rtomayko.github.com/ronn
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
# MANUAL
Patch0: ronn-date.patch
Patch0: ronn-date.patch
# /MANUAL
Summary: Builds manuals
License: MIT
Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
Ronn builds manuals. It converts simple, human readable textfiles to roff
@@ -51,7 +47,7 @@ for terminal display, and also to HTML for the web.
%prep
%gem_unpack
%autopatch -p1
%patch -P 0 -p1
find -type f -print0 | xargs -0 touch -r %{S:0}
%gem_build
@@ -59,6 +55,7 @@ find -type f -print0 | xargs -0 touch -r %{S:0}
%install
%gem_install \
--no-rdoc --no-ri \
--symlink-binaries \
--doc-files="CHANGES COPYING README.md" \
-f