%global bename json5 %global pkgname anyconfig-%{bename}-backend %global desctxt \ This is a backend module for python-anyconfig to load and dump json5 files.\ \ python-anyconfig is a python library to provide common APIs to load and dump\ various configuration files like INI, JSON and YAML. Name: python-%{pkgname} Version: 0.2.1 Release: 1%{?dist}%{?dist} Summary: Backend module for python-anyconfig to load and dump json5 files Group: Development/Libraries License: MIT URL: https://github.com/ssato/python-anyconfig-json5-backend Source0: %{pkgname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description %{desctxt} %package -n python3-%{pkgname} Summary: %{summary} Requires: python3-anyconfig %{?python_provide:%python_provide python3-%{pkgname}} %description -n python3-%{pkgname} %{desctxt} %prep %autosetup -n %{pkgname}-%{version} %build %py3_build %install %py3_install %files -n python3-%{pkgname} %doc README.rst %{python3_sitelib}/* %changelog * Sun Feb 28 2021 Satoru SATOH - 0.1.0-1 - Initial packaging