diff --git a/python-frozendict.spec b/python-frozendict.spec new file mode 100644 index 0000000000000000000000000000000000000000..3fa06f134b59e91cdb93717390dc992394d7ed39 --- /dev/null +++ b/python-frozendict.spec @@ -0,0 +1,41 @@ +%{?python_enable_dependency_generator} +%global srcname frozendict +Name: python-%{srcname} +Version: 2.0.2 +Release: 1 +Summary: An immutable dictionary +License: GPLv3 and LGPLv3 +URL: https://pypi.python.org/pypi/frozendict +Source0: https://github.com/Marco-Sulla/python-frozendict/archive/refs/tags/v2.0.2.tar.gz +BuildArch: noarch +%global _description \ +frozendict is an immutable wrapper around dictionaries that implements\ +the complete mapping interface. It can be used as a drop-in replacement\ +for dictionaries where immutability is desired. +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: python3-devel python3-setuptools +%description -n python3-%{srcname} %{_description} +Python 3 version. + +%prep +%autosetup -n %{name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.md +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Wed May 26 2021 Ge Wang - 2.0.2-1 +- Package init diff --git a/v2.0.2.tar.gz b/v2.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9d0dd65c2718dc49cf9b4858b898c0fc57970b58 Binary files /dev/null and b/v2.0.2.tar.gz differ