Blob Blame History Raw
Name:           cranc
Version:        0.2.2
Release:        6%{?dist}
Summary:        Pagure CLI using Libpagure and Click

License:        GPLv3
URL:            https://pagure.io/cranc
Source0:        http://releases.pagure.org/cranc/cranc-0.2.2.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-pytest
BuildRequires:  python3-black
Requires:       python3-click
Requires:       python3-libpagure
Requires:       python3-requests

%description
Cranc is a Pagure command line interface tool using Libpagure and Click.

%prep
%autosetup

%build
%py3_build

%install
%py3_install

%if %{with tests}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%endif # tests


%files
%license LICENSE
%doc README.md
# For noarch packages: sitelib
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/cranc
%{_bindir}/cranc


%changelog
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.2-6
- Rebuilt for Python 3.8.0rc1 (#1748018)

* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.2-5
- Rebuilt for Python 3.8

* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Feb 26 2019 Lenka Segura <lenka@sepu.cz> - 0.2.2-3
- python-cranc renamed to cranc 
- typos fixed (BuildRequires 
- changelog fixed

* Mon Feb 25 2019 Lenka Segura <lenka@sepu.cz> - 0.2.2-2
- Python2 removed
- %%{_bindir} used
- cranc specified for %%{python3_sitelib}
- version-release info corrected in changelog

* Tue Feb 19 2019 Lenka Segura <lenka@sepu.cz> - 0.2.2
- Update to 0.2.2