From b48da476c266409fa354fe9e75f0d49df92e8bf9d8fb0006a0eb3f7b6e0f8491 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 7 Nov 2023 20:14:43 +0000 Subject: [PATCH] Accepting request 1123866 from home:dimstar:Factory Fix build with RPM 4.19: unnumbered patches are no longer supported. OBS-URL: https://build.opensuse.org/request/show/1123866 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xteddy?expand=0&rev=20 --- xteddy.changes | 6 ++++++ xteddy.spec | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/xteddy.changes b/xteddy.changes index 959a2a7..d5b862b 100644 --- a/xteddy.changes +++ b/xteddy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 7 10:18:29 UTC 2023 - Dominique Leuenberger + +- Fix build with RPM 4.19: unnumbered patches are no longer + supported. + ------------------------------------------------------------------- Thu Jan 25 13:03:35 CET 2018 - ma@suse.com diff --git a/xteddy.spec b/xteddy.spec index cbca7a8..1607601 100644 --- a/xteddy.spec +++ b/xteddy.spec @@ -1,7 +1,7 @@ # # spec file for package xteddy # -# Copyright (c) 2018 SUSE LINUX 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/ # @@ -25,14 +25,14 @@ BuildRequires: pkgconfig(xext) Provides: xteddy10 Requires: imlib2-loaders Summary: A cuddly teddy bear for your X Window desktop -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Amusements/Toys/Graphics Version: 2.2 Release: 0 Source: xteddy_2.2.orig.tar.bz2 -Patch: teddy-2.2-as-needed.patch +Patch0: teddy-2.2-as-needed.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://webstaff.itn.liu.se/~stegu/xteddy/ +URL: http://webstaff.itn.liu.se/~stegu/xteddy/ %description Normally, xteddy just sits around doing nothing. After all, that's what @@ -55,12 +55,12 @@ Authors: %prep %setup -q -%patch +%patch0 sed -i s,/usr/games,/usr/bin, xtoys %build autoreconf --force --install -%configure +%configure %{__make} %{?jobs:-j%jobs} %install