Accepting request 1055783 from home:pgajdos

- set doc-default-operating-system and doc-volume-operating-system
  to SUSE [bsc#1185613c#5], $PRETTY_NAME cannot be used build time

OBS-URL: https://build.opensuse.org/request/show/1055783
OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=87
This commit is contained in:
Takashi Iwai 2023-01-13 09:16:57 +00:00 committed by Git OBS Bridge
parent d05cc667ae
commit 72b2e92dde
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 4 12:16:28 UTC 2023 - pgajdos@suse.com
- set doc-default-operating-system and doc-volume-operating-system
to SUSE [bsc#1185613c#5], $PRETTY_NAME cannot be used build time
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 15 12:45:32 UTC 2022 - pgajdos@suse.com Thu Dec 15 12:45:32 UTC 2022 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@ -55,7 +55,6 @@ Patch101: https://salsa.debian.org/debian/groff/raw/master/debian/patches/
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
BuildRequires: distribution-release
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
@ -137,9 +136,8 @@ sed -i \
%build %build
# bsc#1185613 # bsc#1185613
. /etc/os-release sed -i "s:\(doc-volume-operating-system\) BSD:\1 SUSE:" tmac/doc-common-u
sed -i "s:\(doc-volume-operating-system\) BSD:\1 $PRETTY_NAME:" tmac/doc-common-u sed -i "s:\(doc-default-operating-system\) BSD:\1 SUSE:" tmac/doc-common-u
sed -i "s:\(doc-default-operating-system\) BSD:\1 $PRETTY_NAME:" tmac/doc-common-u
# ----------- # -----------
autoreconf -fvi autoreconf -fvi
# libdir redefined as it is just bunch of perl scripts # libdir redefined as it is just bunch of perl scripts