Jeremy Bertozzi 0de8bd7
%bcond_with tests  # disable tests unless upt is available
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%global srcname upt-rubygems
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
Name:		python-upt-rubygems	
Jeremy Bertozzi 0de8bd7
Version:	0.2
1aeb124
Release:	4%{?dist}
Jeremy Bertozzi 0de8bd7
Summary:	RubyGems front-end for upt
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
License:	BSD
Jeremy Bertozzi 0de8bd7
URL:		https://framagit.org/upt/upt-rubygems
Jeremy Bertozzi 0de8bd7
Source0:	%pypi_source
Jeremy Bertozzi 0de8bd7
BuildArch:	noarch
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%description
Jeremy Bertozzi 0de8bd7
RubyGems front-end for upt.
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%package -n python%{python3_pkgversion}-%{srcname}
Jeremy Bertozzi 0de8bd7
Summary:	RubyGems front-end for upt
Jeremy Bertozzi 0de8bd7
%{?python_provide:%python_provide python3-%{srcname}}
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
BuildRequires:python%{python3_pkgversion}-devel
Jeremy Bertozzi 0de8bd7
BuildRequires:	python%{python3_pkgversion}-requests-mock
Jeremy Bertozzi 0de8bd7
Requires:	python%{python3_pkgversion}-requests
Jeremy Bertozzi 0de8bd7
Requires:	python%{python3_pkgversion}-semver
Jeremy Bertozzi 0de8bd7
Requires:	upt
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%description -n python%{python3_pkgversion}-%{srcname}
Jeremy Bertozzi 0de8bd7
RubyGems front-end for upt.
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%prep
Jeremy Bertozzi 0de8bd7
%setup -q -n %{srcname}-%{version}
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%build
Jeremy Bertozzi 0de8bd7
%py3_build
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%install
Jeremy Bertozzi 0de8bd7
%py3_install
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%if %{with tests}
Jeremy Bertozzi 0de8bd7
%check
Jeremy Bertozzi 0de8bd7
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest
Jeremy Bertozzi 0de8bd7
%endif
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%files -n python%{python3_pkgversion}-%{srcname}
Jeremy Bertozzi 0de8bd7
%{python3_sitelib}/upt_rubygems-*.egg-info/
Jeremy Bertozzi 0de8bd7
%doc README.md CHANGELOG
Jeremy Bertozzi 0de8bd7
%license LICENSE
Jeremy Bertozzi 0de8bd7
%{python3_sitelib}/upt_rubygems/
Jeremy Bertozzi 0de8bd7
Jeremy Bertozzi 0de8bd7
%changelog
1aeb124
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-4
1aeb124
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1aeb124
b6170b2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2-3
b6170b2
- Rebuilt for Python 3.9
b6170b2
5bd96f5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-2
5bd96f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5bd96f5
Jeremy Bertozzi 0de8bd7
* Sat Jun 29 2019 Jeremy Bertozzi <jeremy.bertozzi@gmail.com> - 0.2-1
Jeremy Bertozzi 0de8bd7
- Initial package
Jeremy Bertozzi 0de8bd7