From 46cab8ff9a70c4570ad7defa6c9d1a8967784915d31d47d4585755ea41b55a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 28 Nov 2023 13:26:16 +0000 Subject: [PATCH] Accepting request 1129564 from GNOME:Next - Use %autosetup instead of %setup/%patch. OBS-URL: https://build.opensuse.org/request/show/1129564 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libcanberra?expand=0&rev=73 --- libcanberra.changes | 5 +++++ libcanberra.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/libcanberra.changes b/libcanberra.changes index e03c193..996260d 100644 --- a/libcanberra.changes +++ b/libcanberra.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 28 10:45:13 UTC 2023 - Dominique Leuenberger + +- Use %autosetup instead of %setup/%patch. + ------------------------------------------------------------------- Mon Mar 5 15:58:50 UTC 2018 - jengelh@inai.de diff --git a/libcanberra.spec b/libcanberra.spec index efd3fff..f65419f 100644 --- a/libcanberra.spec +++ b/libcanberra.spec @@ -1,7 +1,7 @@ # # spec file for package libcanberra # -# 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/ # @@ -23,7 +23,7 @@ Release: 0 Summary: Portable sound event library License: LGPL-2.0-or-later Group: Development/Libraries/GNOME -Url: http://0pointer.de/lennart/projects/libcanberra +URL: http://0pointer.de/lennart/projects/libcanberra Source: http://0pointer.de/lennart/projects/libcanberra/%{name}-%{version}.tar.xz Source1: libcanberra-gtk-module.sh Source99: baselibs.conf @@ -214,9 +214,7 @@ and is designed to be portable. This package provides the development files for libcanberra-gtk2. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 cp %{SOURCE1} libcanberra-gtk-module.sh %build