!3 python-pytest-html升级安装方式为pyprojec
From: @zjyabsa Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
67630eadff
@ -20,10 +20,13 @@ BuildRequires: python3-pbr
|
|||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: python3-setuptools_scm
|
BuildRequires: python3-setuptools_scm
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
BuildRequires: python3-pytest-metadata
|
BuildRequires: python3-pytest-metadata
|
||||||
|
BuildRequires: python3-py
|
||||||
Requires: python3-pytest
|
Requires: python3-pytest
|
||||||
Requires: python3-pytest-metadata
|
Requires: python3-pytest-metadata
|
||||||
|
Requires: python3-py
|
||||||
%description -n python3-pytest-html
|
%description -n python3-pytest-html
|
||||||
pytest plugin for generating HTML reports
|
pytest plugin for generating HTML reports
|
||||||
|
|
||||||
@ -37,10 +40,10 @@ pytest plugin for generating HTML reports
|
|||||||
%autosetup -n pytest-html-%{version}
|
%autosetup -n pytest-html-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -75,8 +78,12 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
%{python3_sitelib}/pytest_html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 05 2023 zjyabsa <jyzhangcf@isoftstone.com> - 3.2.0-1
|
||||||
|
- Update package to version 3.2.0
|
||||||
|
|
||||||
* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.2.0-1
|
* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.2.0-1
|
||||||
- Update package to version 3.2.0
|
- Update package to version 3.2.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user