!2 Update package sphinx-testing of version 1.0.1
From: @sean-lau Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
8db5166df2
@ -19,7 +19,6 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-nose
|
||||
# General requires
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-six
|
||||
@ -36,14 +35,14 @@ Provides: python3-sphinx-testing-doc
|
||||
sphinx-testing provides testing utility classes and functions for Sphinx extensions
|
||||
|
||||
%prep
|
||||
%autosetup -n sphinx-testing-1.0.1
|
||||
%autosetup -n sphinx-testing-%{version}
|
||||
|
||||
%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
|
||||
@ -71,15 +70,17 @@ mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%check
|
||||
nosetests-3
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python3-sphinx-testing -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Oct 28 2021 OpenStack_SIG <openstack@openeuler.org> - 1.0.1-1
|
||||
- Upgrade package python3-sphinx-testing to version 1.0.1
|
||||
|
||||
* Fri Jul 30 2021 OpenStack_SIG <openstack@openeuler.org> - 1.0.1-1
|
||||
- Package Spec generate
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user