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
This commit is contained in:
Martin Pluskal 2021-05-27 12:00:58 +00:00 committed by Git OBS Bridge
parent aec9c5eb2e
commit 95b1e67657
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 27 11:41:23 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- %post uses sed, so add `Requires(post): sed`.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 31 17:47:56 UTC 2017 - mpluskal@suse.com Tue Jan 31 17:47:56 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package sgml-skel # 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 # 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/
# #
@ -20,9 +20,9 @@ Name: sgml-skel
Version: 0.7.1 Version: 0.7.1
Release: 0 Release: 0
Summary: Helper Scripts for the SGML System Summary: Helper Scripts for the SGML System
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Publishing/SGML 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 Source0: https://github.com/openSUSE/sgml-skel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: automake BuildRequires: automake
BuildRequires: libxml2 BuildRequires: libxml2
@ -38,6 +38,7 @@ Requires(post): coreutils
Requires(post): findutils Requires(post): findutils
Requires(post): libxml2-tools Requires(post): libxml2-tools
Requires(post): libxslt-tools Requires(post): libxslt-tools
Requires(post): sed
BuildArch: noarch BuildArch: noarch
%description %description