From 95b1e676572483a4210ba3bfe67a24d03da1b72f5a82ccfdce24241e0d977ff3 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 27 May 2021 12:00:58 +0000 Subject: [PATCH] Accepting request 895751 from home:alarrosa:branches:Publishing While debugging an unrelated issue, I noticed this in the /var/log/zypp/history file in a completely new TW installation: ``` # 2021-05-27 12:53:09 sgml-skel-0.7.1-1.11.noarch.rpm installed ok # Additional rpm output: # /var/tmp/rpm-tmp.ss1I6k: line 5: sed: command not found # I/O error : Broken pipe # 2021-05-27 12:53:09|install|sgml-skel|0.7.1-1.11|noarch||openSUSE-20210522-0|2122ff76185f0cb41900e7183b903534c1bf7a345fb41af99fe5af286d8e87f0| 2021-05-27 12:53:09|install|sg3_utils|1.46-1.1|x86_64||openSUSE-20210522-0|8ee96d933cbaaeab7cb716a43e76c6f679f3f2a10c85f734592745a42a7243c9| 2021-05-27 12:53:09|install|sed|4.8-3.5|x86_64||openSUSE-20210522-0|3e20c62841696a4d1240a565cc2ee48943a93d13fb740c560fd6fe27422398b0| ``` So %post fails to run because sed is not installed yet. This SR fixes that. - %post uses sed, so add `Requires(post): sed`. OBS-URL: https://build.opensuse.org/request/show/895751 OBS-URL: https://build.opensuse.org/package/show/Publishing/sgml-skel?expand=0&rev=22 --- sgml-skel.changes | 5 +++++ sgml-skel.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sgml-skel.changes b/sgml-skel.changes index 24075a2..9d8ca6b 100644 --- a/sgml-skel.changes +++ b/sgml-skel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 11:41:23 UTC 2021 - Antonio Larrosa + +- %post uses sed, so add `Requires(post): sed`. + ------------------------------------------------------------------- Tue Jan 31 17:47:56 UTC 2017 - mpluskal@suse.com diff --git a/sgml-skel.spec b/sgml-skel.spec index 1085620..410f333 100644 --- a/sgml-skel.spec +++ b/sgml-skel.spec @@ -1,7 +1,7 @@ # # spec file for package sgml-skel # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 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/ # @@ -20,9 +20,9 @@ Name: sgml-skel Version: 0.7.1 Release: 0 Summary: Helper Scripts for the SGML System -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Publishing/SGML -Url: https://github.com/openSUSE/sgml-skel +URL: https://github.com/openSUSE/sgml-skel Source0: https://github.com/openSUSE/sgml-skel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: automake BuildRequires: libxml2 @@ -38,6 +38,7 @@ Requires(post): coreutils Requires(post): findutils Requires(post): libxml2-tools Requires(post): libxslt-tools +Requires(post): sed BuildArch: noarch %description