Blame git-pull-request.spec

f812641
%global pypi_name git-pull-request
f812641
%global pkg_name git_pull_request
f812641
f812641
Name:           %{pypi_name}
f812641
Version:        2.4.0
f812641
Release:        1%{?dist}
f812641
Summary:        Command line tool to send GitHub pull-request
f812641
f812641
License:        ASL 2.0
f812641
URL:            https://github.com/jd/git-pull-request
f812641
Source0:        https://files.pythonhosted.org/packages/source/g/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
f812641
BuildArch:      noarch
f812641
f812641
BuildRequires:  python3-devel
f812641
BuildRequires:  python3-pbr
f812641
BuildRequires:  python3-setuptools
f812641
Requires:       python3-PyGithub
f812641
Requires:       python3-daiquiri
f812641
Requires:       python3-setuptools
f812641
%{?python_provide:%python_provide python3-%{pypi_name}}
f812641
 
f812641
f812641
%description
f812641
%{name} is a command line tool to send GitHub pull-request from
f812641
your terminal.
f812641
f812641
f812641
%prep
f812641
%autosetup -n %{pypi_name}-%{version}
f812641
# Remove bundled egg-info
f812641
rm -rf %{pypi_name}.egg-info
f812641
f812641
%build
f812641
%py3_build
f812641
f812641
%install
f812641
%py3_install
f812641
f812641
%files
f812641
%doc README.rst
f812641
%{_bindir}/git-pull-request
f812641
%{python3_sitelib}/%{pkg_name}
f812641
%{python3_sitelib}/%{pkg_name}-%{version}-py?.?.egg-info
f812641
f812641
f812641
%changelog
f812641
* Sat Oct  7 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 2.4.0-1
f812641
- Upstream 2.4.0
f812641
- Upstream dropped python2 support
f812641
f812641
* Thu May 25 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.0.2-1
f812641
- Initial package.