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