!20 Update package

From: @liqiuyu123 
Reviewed-by: @xiyuanwang 
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2022-12-12 08:34:19 +00:00 committed by Gitee
commit 719bf73fff
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 11 deletions

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-stestr
Version: 3.2.1
Version: 4.0.1
Release: 1
Summary: A parallel Python test runner built around subunit
License: Apache-2.0
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
%description
A parallel Python test runner built around subunit
@ -56,9 +56,6 @@ A parallel Python test runner built around subunit
%install
%py3_install
ln -s stestr %{buildroot}/%{_bindir}/stestr-3
ln -s stestr-3 %{buildroot}/%{_bindir}/stestr-%{python3_version}
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
@ -66,20 +63,20 @@ 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
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
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
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
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
touch doclist.lst
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
popd
mv %{buildroot}/filelist.lst .
@ -90,12 +87,14 @@ mv %{buildroot}/doclist.lst .
%files -n python3-stestr -f filelist.lst
%dir %{python3_sitelib}/*
%{_bindir}/stestr*
%files help -f doclist.lst
%{_docdir}/*
%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
- Upgrade package python3-stestr to version 3.2.1

Binary file not shown.

BIN
stestr-4.0.1.tar.gz Normal file

Binary file not shown.