44 lines
1017 B
RPMSpec
44 lines
1017 B
RPMSpec
%define debug_package %{nil}
|
|
%define pypi_name icdiff
|
|
|
|
Name: python-icdiff
|
|
Version: 2.0.4
|
|
Release: 1
|
|
Summary: Dictdiffer is a helper module that helps you to diff and patch dictionaries.
|
|
License: PSF
|
|
URL: https://www.jefftk.com/icdiff
|
|
Source0: https://files.pythonhosted.org/packages/77/6c/d029e50e4ba5c4a357b30875e46f13304873ad8541c61bdd8bbdceda55bd/%{pypi_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python3-devel python3-setuptools python3-pytest
|
|
|
|
%description
|
|
Dictdiffer is a helper module that helps you to diff and patch dictionaries.
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: python3 package for dictdiffer.
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
Dictdiffer is a helper module that helps you to diff and patch dictionaries.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} setup.py test
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%{_bindir}/*
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|
|
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 2.0.4-1
|
|
- Package init
|