From c614edd1b54d5cda20fe54a07a2bc380867503bade206814ce26ac9b3ca3caa9 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 7 Nov 2023 14:31:34 +0000 Subject: [PATCH] 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 --- csindex.changes | 6 ++++++ csindex.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/csindex.changes b/csindex.changes index 9065c1d..65c7cb9 100644 --- a/csindex.changes +++ b/csindex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 6 15:56:16 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Tue Sep 2 12:28:55 UTC 2014 - coolo@suse.com diff --git a/csindex.spec b/csindex.spec index 37a429d..f9d2f0a 100644 --- a/csindex.spec +++ b/csindex.spec @@ -1,7 +1,7 @@ # # 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 # 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/ # @@ -24,8 +24,8 @@ Version: 19980713 Release: 0 Source: %{name}-%{version}.tar.bz2 Source1: COPYING -Url: ftp://ftp.fi.muni.cz/pub/localization/csindex/ -Patch: %{name}-%{version}.dif +URL: ftp://ftp.fi.muni.cz/pub/localization/csindex/ +Patch0: %{name}-%{version}.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,7 +36,7 @@ Uses the ISO 8859-2 encoding. %prep %setup install -m 644 %{SOURCE1} . -%patch +%patch0 %build make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}