diff --git a/luvcview.changes b/luvcview.changes index 27ad86f..403fa7b 100644 --- a/luvcview.changes +++ b/luvcview.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 22 07:39:01 UTC 2024 - Michael Vetter + +- Use %patch -P N instead of deprecated %patchN. +- Remove %clean section +- Remove old 0%{?suse_version} >= 1210 condition + ------------------------------------------------------------------- Thu Jul 7 10:30:12 UTC 2011 - idonmez@novell.com diff --git a/luvcview.spec b/luvcview.spec index 30b582a..2b90559 100644 --- a/luvcview.spec +++ b/luvcview.spec @@ -1,7 +1,7 @@ # # spec file for package luvcview # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,21 @@ # 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/ # - Name: luvcview -BuildRequires: SDL-devel SDL_image-devel -%if 0%{?suse_version} >= 1210 +BuildRequires: SDL-devel +BuildRequires: SDL_image-devel BuildRequires: libv4l-devel >= 0.8.4 -%endif -AutoReqProv: on Group: Productivity/Multimedia/Video/Players Summary: Simple V4L2 application using sdl Version: 20070512 -Release: 15 +Release: 0 Source: %name-%version.src.tar.gz -Url: http://mxhaard.free.fr/spca50x/Investigation/uvc/ -License: GPL-2.0+ +URL: http://mxhaard.free.fr/spca50x/Investigation/uvc/ +License: GPL-2.0-or-later BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch1: luvcview-add-COPYING.patch Patch2: luvcview-memory-leaks.patch @@ -42,16 +39,14 @@ luvcview is a simple V4L2 application using sdl Authors: -------- - Laurent Pinchart - Michel Xhaard + Laurent Pinchart + Michel Xhaard %prep %setup -n luvcview-%version -%patch1 -p1 -%patch2 -%if 0%{?suse_version} >= 1210 -%patch3 -p1 -%endif +%patch -P 1 -p1 +%patch -P 2 +%patch -P 3 -p1 %build make @@ -60,9 +55,6 @@ make %{__mkdir_p} %{buildroot}%{_bindir} %{__install} -s -m 755 luvcview %{buildroot}%{_bindir} -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %{_bindir}/luvcview