Accepting request 1123637 from home:dimstar:Factory

Fix build with RPM 4.19: unnumbered patches are no longer supported.

OBS-URL: https://build.opensuse.org/request/show/1123637
OBS-URL: https://build.opensuse.org/package/show/Publishing/ghostview?expand=0&rev=10
This commit is contained in:
Takashi Iwai 2023-11-07 14:31:44 +00:00 committed by Git OBS Bridge
parent 3fc752123d
commit 55aa480bca
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 6 16:08:27 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build with RPM 4.19: unnumbered patches are no longer
supported.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 26 18:46:23 UTC 2018 - crrodriguez@opensuse.org Mon Feb 26 18:46:23 UTC 2018 - crrodriguez@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghostview # spec file for package ghostview
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # 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
@ -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/
# #
@ -22,11 +22,11 @@ Release: 0
Summary: Ghostview Summary: Ghostview
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Publishing/PS Group: Productivity/Publishing/PS
Url: http://pages.cs.wisc.edu/~ghost/gv/index.htm URL: http://pages.cs.wisc.edu/~ghost/gv/index.htm
Source: ghostview-1.5.tar.bz2 Source: ghostview-1.5.tar.bz2
Source1: ghostview.desktop Source1: ghostview.desktop
Source2: ghostview.png Source2: ghostview.png
Patch: ghostview-1.5.dif Patch0: ghostview-1.5.dif
Patch1: ghostview-1.5-ad.dif Patch1: ghostview-1.5-ad.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: imake BuildRequires: imake
@ -39,7 +39,8 @@ Provides: ghstview
Provides: gsview Provides: gsview
Obsoletes: gsview Obsoletes: gsview
Requires: ghostscript_x11 Requires: ghostscript_x11
Conflicts: gs_serv gs_vga Conflicts: gs_serv
Conflicts: gs_vga
%define _x11data %{_datadir}/X11 %define _x11data %{_datadir}/X11
%define _appdefdir %{_x11data}/app-defaults %define _appdefdir %{_x11data}/app-defaults
@ -49,7 +50,7 @@ X11 interface to ghostscript.
%prep %prep
%setup -q %setup -q
%patch %patch0
%patch1 %patch1
%build %build