!17 Update package to version 5.0.0
From: @jxy_git Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
b1d88d6fe5
Binary file not shown.
BIN
jaraco.collections-5.0.0.tar.gz
Normal file
BIN
jaraco.collections-5.0.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-jaraco-collections
|
||||
Version: 4.1.0
|
||||
Release: 2
|
||||
Version: 5.0.0
|
||||
Release: 1
|
||||
Summary: Collection objects similar to those in stdlib by jaraco
|
||||
License: MIT
|
||||
URL: https://github.com/jaraco/jaraco.collections
|
||||
SOurce0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/source/j/jaraco.collections/jaraco.collections-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python3-sphinx
|
||||
@ -42,40 +42,22 @@ A dictionary-like object that maps a range of values to a given value.
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install jaraco.collections==%{version}
|
||||
%pyproject_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
|
||||
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
|
||||
fi
|
||||
if [ -d usr/lib64 ]; then
|
||||
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
|
||||
fi
|
||||
if [ -d usr/sbin ]; then
|
||||
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
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-jaraco-collections -f filelist.lst
|
||||
%files -n python3-jaraco-collections
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%files help
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 21 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.0.0-1
|
||||
- Update package to version 5.0.0
|
||||
|
||||
* Tue Apr 25 2023 yaoxin <yao_xin@hoperun.com> - 4.1.0-2
|
||||
- Modify the package compilation method and remove the adaptation to setup.py
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user