Blob Blame History Raw
%global pypi_name dictdumper

Name:           python-%{pypi_name}
Version:        0.7.1
Release:        1%{?dist}
Summary:        A Python dict formatted dumper

License:        MPLv2.0
URL:            https://github.com/JarryShaw/DictDumper
Source0:        https://github.com/JarryShaw/DictDumper/archive/v%{version}/DictDumper-%{version}.tar.gz
BuildArch:      noarch

%description
The dictdumper project is an open source Python program works as a stream
formatted output dumper for dict.

%package -n python3-%{pypi_name}
Summary:        %{summary}

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name}
The dictdumper project is an open source Python program works as a stream
formatted output dumper for dict.

%prep
%autosetup -n DictDumper-%{version}

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%doc AUTHORS.md CHANGELOG.md README.md
%license LICENSE
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/%{pypi_name}/

%changelog
* Tue Sep 03 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.1-1
- Update to latest upstream release 0.7.1

* Sat Jun 08 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.0-1.post2
- Change version schema (rhbz#1714009)
- Use upstream source
- Add license file and fix license

* Sat May 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.0.post2-1
- Initial package for Fedora