2021-07-15 14:13:05 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
2022-09-24 11:11:54 +08:00
|
|
|
Name: python-codecov
|
2023-06-30 11:32:05 +08:00
|
|
|
Version: 2.1.13
|
2022-09-24 11:11:54 +08:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://github.com/codecov/codecov-python
|
2023-06-30 11:32:05 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/59/fa/91b6184b1f15fe9db9c7172eb61a191dbdb4cdf89177e34f1f29a255ca70/codecov-2.1.13.tar.gz
|
2022-09-24 11:11:54 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-coverage
|
|
|
|
|
|
2021-07-15 14:13:05 +08:00
|
|
|
%description
|
|
|
|
|
Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
|
|
|
|
|
%package -n python3-codecov
|
2022-09-24 11:11:54 +08:00
|
|
|
Summary: Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
Provides: python-codecov
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
2021-07-15 14:13:05 +08:00
|
|
|
%description -n python3-codecov
|
|
|
|
|
Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
|
|
|
|
|
%package help
|
2022-09-24 11:11:54 +08:00
|
|
|
Summary: Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
Provides: python3-codecov-doc
|
2021-07-15 14:13:05 +08:00
|
|
|
%description help
|
|
|
|
|
Hosted coverage reports for GitHub, Bitbucket and Gitlab
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-09-24 11:11:54 +08:00
|
|
|
%autosetup -n codecov-%{version}
|
2021-07-15 14:13:05 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
pushd %{buildroot}
|
|
|
|
|
if [ -d usr/lib ]; then
|
2022-09-24 11:11:54 +08:00
|
|
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
2021-07-15 14:13:05 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/lib64 ]; then
|
2022-09-24 11:11:54 +08:00
|
|
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
2021-07-15 14:13:05 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/bin ]; then
|
2022-09-24 11:11:54 +08:00
|
|
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
2021-07-15 14:13:05 +08:00
|
|
|
fi
|
|
|
|
|
if [ -d usr/sbin ]; then
|
2022-09-24 11:11:54 +08:00
|
|
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
2021-07-15 14:13:05 +08:00
|
|
|
fi
|
|
|
|
|
touch doclist.lst
|
|
|
|
|
if [ -d usr/share/man ]; then
|
2022-09-24 11:11:54 +08:00
|
|
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
2021-07-15 14:13:05 +08:00
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
mv %{buildroot}/filelist.lst .
|
|
|
|
|
mv %{buildroot}/doclist.lst .
|
|
|
|
|
|
|
|
|
|
%files -n python3-codecov -f filelist.lst
|
|
|
|
|
%dir %{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%files help -f doclist.lst
|
|
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-06-30 11:32:05 +08:00
|
|
|
* Fri Jun 30 2023 sunhui <sunhui@kylinos.cn> - 2.1.13-1
|
|
|
|
|
- Update package to version 2.1.13
|
|
|
|
|
|
2022-09-24 11:11:54 +08:00
|
|
|
* Sat Sep 24 2022 guozhengxin <guozhengxin@kylinos.cn> - 2.1.12-1
|
|
|
|
|
- Upgrade package to version 2.1.12
|
|
|
|
|
|
2021-07-15 14:13:05 +08:00
|
|
|
* Fri Jul 30 2021 OpenStack_SIG <openstack@openeuler.org> - 2.1.11-1
|
|
|
|
|
- Package Spec generate
|