Accepting request 1123618 from home:dimstar:Factory

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

OBS-URL: https://build.opensuse.org/request/show/1123618
OBS-URL: https://build.opensuse.org/package/show/Publishing/csindex?expand=0&rev=9
This commit is contained in:
Takashi Iwai 2023-11-07 14:31:34 +00:00 committed by Git OBS Bridge
parent ace166f7ea
commit c614edd1b5
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 6 15:56:16 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build with RPM 4.19: unnumbered patches are no longer
supported.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 2 12:28:55 UTC 2014 - coolo@suse.com Tue Sep 2 12:28:55 UTC 2014 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package csindex # spec file for package csindex
# #
# Copyright (c) 2014 SUSE LINUX Products 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/
# #
@ -24,8 +24,8 @@ Version: 19980713
Release: 0 Release: 0
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: COPYING Source1: COPYING
Url: ftp://ftp.fi.muni.cz/pub/localization/csindex/ URL: ftp://ftp.fi.muni.cz/pub/localization/csindex/
Patch: %{name}-%{version}.dif Patch0: %{name}-%{version}.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -36,7 +36,7 @@ Uses the ISO 8859-2 encoding.
%prep %prep
%setup %setup
install -m 644 %{SOURCE1} . install -m 644 %{SOURCE1} .
%patch %patch0
%build %build
make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags} make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}