From d1bfac0e8f83ba6ed123d4ed0c60be9a86596a2bf5cc31f75c356d5c7eae0faf Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Mon, 26 Feb 2024 19:04:55 +0000 Subject: [PATCH] Accepting request 1151798 from home:pgajdos:t - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1151798 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyobjloader?expand=0&rev=7 --- tinyobjloader.changes | 6 ++++++ tinyobjloader.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tinyobjloader.changes b/tinyobjloader.changes index 4edc0ae..63070b7 100644 --- a/tinyobjloader.changes +++ b/tinyobjloader.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 14:56:21 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Fri May 20 13:00:13 UTC 2022 - Ferdinand Thiessen diff --git a/tinyobjloader.spec b/tinyobjloader.spec index 7125d20..bda2233 100644 --- a/tinyobjloader.spec +++ b/tinyobjloader.spec @@ -1,7 +1,7 @@ # # spec file for package tinyobjloader # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2018-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -58,8 +58,7 @@ This subpackage contains libraries and header files for developing applications that want to make use of tinyobjloader. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake \ @@ -68,7 +67,7 @@ applications that want to make use of tinyobjloader. %install %cmake_install -rm -f %{buildroot}/%{_datadir}/doc/tinyobjloader/LICENSE +rm -f %{buildroot}/%{_datadir}/doc/packages/tinyobjloader/LICENSE %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig