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