Update License tag to SPDX identifiers; use '%patch -P N'

Examine the source and update the License tag to use SPDX expressions.
Also change the deprecated %patchN macros to the newer '%patch -P N'
style.

Signed-off-by: David Cantrell <dcantrell@redhat.com>
epel10^2^2
David Cantrell 2 years ago
parent 5add315208
commit eeaf0a4e26

@ -3,16 +3,15 @@
Name: zvbi Name: zvbi
Version: 0.2.35 Version: 0.2.35
Release: 19%{?dist} Release: 20%{?dist}
Summary: Raw VBI, Teletext and Closed Caption decoding library Summary: Raw VBI, Teletext and Closed Caption decoding library
# See NEWS for a full breakdown of licensing. License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND MIT
License: LGPLv2+ and GPLv2+ and BSD
URL: http://zapping.sourceforge.net/ZVBI/index.html URL: http://zapping.sourceforge.net/ZVBI/index.html
Source0: http://downloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2
Patch0: %{name}-0.2.24-tvfonts.patch Patch0: %{name}-0.2.24-tvfonts.patch
Patch1: %{name}-0.2.25-openfix.patch Patch1: %{name}-0.2.25-openfix.patch
BuildRequires: make BuildRequires: make
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fontconfig BuildRequires: fontconfig
@ -54,8 +53,8 @@ Fonts from zvbi converted for use with X11
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch -P 0 -p1
%patch1 -p1 %patch -P 1 -p1
# Fix character encodings # Fix character encodings
iconv -f iso8859-1 README -t utf8 > README.conv && /bin/mv -f README.conv README iconv -f iso8859-1 README -t utf8 > README.conv && /bin/mv -f README.conv README
@ -158,6 +157,10 @@ ln -sf %{fontdir} %{buildroot}%{catalogue}/%{name}
%changelog %changelog
* Wed May 17 2023 David Cantrell <dcantrell@redhat.com> - 0.2.35-20
- Update License tag to use SPDX identifiers
- Change deprecated %%patchN macros to %%patch -P N
* Sun Feb 05 2023 Kalev Lember <klember@redhat.com> - 0.2.35-19 * Sun Feb 05 2023 Kalev Lember <klember@redhat.com> - 0.2.35-19
- Avoid requiring systemd for systemd rpm scriptlets - Avoid requiring systemd for systemd rpm scriptlets

Loading…
Cancel
Save