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