From 48d3aa003711e0af21e1bf2a9207419a68b056c84de90a2b98bb0e3ef6645999 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 24 Aug 2022 07:39:49 +0000 Subject: [PATCH] Accepting request 998172 from home:jbaier_cz:branches:devel:languages:perl - fix missing post script dependency on update-alternatives OBS-URL: https://build.opensuse.org/request/show/998172 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Markdown?expand=0&rev=15 --- cpanspec.yml | 1 + perl-Text-Markdown.changes | 5 +++++ perl-Text-Markdown.spec | 8 +++++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index af680a7..94ab966 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -8,6 +8,7 @@ # foo.patch: -p1 # bar.patch: preamble: |- + Requires(post): update-alternatives %post update-alternatives \ --install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30 diff --git a/perl-Text-Markdown.changes b/perl-Text-Markdown.changes index b549326..bea335e 100644 --- a/perl-Text-Markdown.changes +++ b/perl-Text-Markdown.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 19 11:22:18 UTC 2022 - Jan Baier + +- fix missing post script dependency on update-alternatives + ------------------------------------------------------------------- Tue Oct 3 03:28:55 UTC 2017 - coolo@suse.com diff --git a/perl-Text-Markdown.spec b/perl-Text-Markdown.spec index d00c3b0..665e48e 100644 --- a/perl-Text-Markdown.spec +++ b/perl-Text-Markdown.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-Markdown # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # 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/ # @@ -23,7 +23,7 @@ Release: 0 Summary: Convert Markdown syntax to (X)HTML License: BSD-3-Clause Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Text-Markdown/ +URL: http://search.cpan.org/dist/Text-Markdown/ Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -35,6 +35,8 @@ BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) %{perl_requires} # MANUAL BEGIN +Requires(post): update-alternatives + %post update-alternatives \ --install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30