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
This commit is contained in:
Dirk Stoecker 2022-08-24 07:39:49 +00:00 committed by Git OBS Bridge
parent f5d2990cf6
commit 48d3aa0037
3 changed files with 11 additions and 3 deletions

View File

@ -8,6 +8,7 @@
# foo.patch: -p1 # foo.patch: -p1
# bar.patch: # bar.patch:
preamble: |- preamble: |-
Requires(post): update-alternatives
%post %post
update-alternatives \ update-alternatives \
--install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30 --install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 19 11:22:18 UTC 2022 - Jan Baier <jbaier@suse.com>
- fix missing post script dependency on update-alternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 3 03:28:55 UTC 2017 - coolo@suse.com Tue Oct 3 03:28:55 UTC 2017 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Markdown # 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 # 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/
# #
@ -23,7 +23,7 @@ Release: 0
Summary: Convert Markdown syntax to (X)HTML Summary: Convert Markdown syntax to (X)HTML
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/Perl 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 Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
@ -35,6 +35,8 @@ BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Exception)
%{perl_requires} %{perl_requires}
# MANUAL BEGIN # MANUAL BEGIN
Requires(post): update-alternatives
%post %post
update-alternatives \ update-alternatives \
--install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30 --install %{_bindir}/markdown markdown %{_bindir}/Markdown.pl 30