update version to 4.0.1
This commit is contained in:
parent
36154e44ad
commit
3cbbb6edfb
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-stestr
|
Name: python-stestr
|
||||||
Version: 3.2.1
|
Version: 4.0.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A parallel Python test runner built around subunit
|
Summary: A parallel Python test runner built around subunit
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://stestr.readthedocs.io/en/latest/
|
URL: http://stestr.readthedocs.io/en/latest/
|
||||||
Source0: https://files.pythonhosted.org/packages/63/f8/285a0f398927258e9527c593e3c99bfdb19d5e665ffe79bb67b0ba936928/stestr-3.2.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/fe/83/8c1929b09370801b398595a43216f15acfcafbb6195301b5ea62aa8b98d6/stestr-4.0.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
A parallel Python test runner built around subunit
|
A parallel Python test runner built around subunit
|
||||||
@ -56,9 +56,6 @@ A parallel Python test runner built around subunit
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
ln -s stestr %{buildroot}/%{_bindir}/stestr-3
|
|
||||||
ln -s stestr-3 %{buildroot}/%{_bindir}/stestr-%{python3_version}
|
|
||||||
|
|
||||||
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
|
||||||
@ -66,20 +63,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
if [ -d usr/lib ]; then
|
||||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
if [ -d usr/lib64 ]; then
|
||||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/bin ]; then
|
if [ -d usr/bin ]; then
|
||||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
if [ -d usr/sbin ]; then
|
||||||
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
fi
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
if [ -d usr/share/man ]; then
|
||||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
@ -90,12 +87,14 @@ mv %{buildroot}/doclist.lst .
|
|||||||
|
|
||||||
%files -n python3-stestr -f filelist.lst
|
%files -n python3-stestr -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
%{_bindir}/stestr*
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 4.0.1-1
|
||||||
|
- Update package to version 4.0.1
|
||||||
|
|
||||||
* Tue Jul 26 2022 renliang16 <renliang@uniontech.com> - 3.2.1-1
|
* Tue Jul 26 2022 renliang16 <renliang@uniontech.com> - 3.2.1-1
|
||||||
- Upgrade package python3-stestr to version 3.2.1
|
- Upgrade package python3-stestr to version 3.2.1
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
stestr-4.0.1.tar.gz
Normal file
BIN
stestr-4.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user