From 2b3ceb90421d23f3ab1832148fb8ba21f488bab7 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Nov 21 2023 17:18:44 +0000 Subject: Convert license tag to SPDX --- diff --git a/python-dialog.spec b/python-dialog.spec index 08be31d..b6a3ae9 100644 --- a/python-dialog.spec +++ b/python-dialog.spec @@ -1,14 +1,12 @@ -%global upstream_name pythondialog - Name: python-dialog Version: 3.5.3 Release: %autorelease Summary: Python interface to the Unix dialog utility -License: LGPLv2+ +License: LGPL-2.1-or-later URL: http://pythondialog.sourceforge.net # Upstream releases two tarballs from the same sources -Source0: %{pypi_source %{upstream_name}} +Source0: %{pypi_source pythondialog} BuildArch: noarch BuildRequires: python3-devel @@ -29,7 +27,7 @@ Summary: %{summary} %description -n python3-dialog %_description %prep -%autosetup -n %{upstream_name}-%{version} +%autosetup -n pythondialog-%{version} find examples -name '*.py' -print -exec sed -r -i 's|(.!)\s+/usr/bin/env python.*|\1%{__python3}|' {} \;