Accepting request 1149557 from home:pgajdos:m

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149557
OBS-URL: https://build.opensuse.org/package/show/games/morris?expand=0&rev=6
This commit is contained in:
Martin Hauke
2024-02-23 15:29:15 +00:00
committed by Git OBS Bridge
parent 8c523fbe85
commit c3cb7adf66
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 22 15:11:38 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
-------------------------------------------------------------------
Fri Sep 15 16:07:54 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package morris
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -70,9 +70,7 @@ Furthermore, the game supports:
* configurable display
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
%build
export CXXFLAGS="%{optflags} -Wno-return-type"