8
0
forked from pool/tinyobjloader

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
This commit is contained in:
2024-02-26 19:04:55 +00:00
committed by Git OBS Bridge
parent 0eb8a01819
commit d1bfac0e8f
2 changed files with 9 additions and 4 deletions

View File

@@ -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 <rpm@fthiessen.de>

View File

@@ -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 <mardnh@gmx.de>
#
# 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