Update package to version 5.0.0
This commit is contained in:
parent
8b65caf4f5
commit
b81e073076
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,28 +1,28 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-jaraco-collections
|
Name: python-jaraco-collections
|
||||||
Version: 4.1.0
|
Version: 5.0.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Collection objects similar to those in stdlib by jaraco
|
Summary: Collection objects similar to those in stdlib by jaraco
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jaraco/jaraco.collections
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-sphinx
|
Requires: python3-sphinx
|
||||||
Requires: python3-pytest
|
Requires: python3-pytest
|
||||||
Requires: python3-pytest-checkdocs
|
Requires: python3-pytest-checkdocs
|
||||||
Requires: python3-pytest-flake8
|
Requires: python3-pytest-flake8
|
||||||
Requires: python3-pytest-cov
|
Requires: python3-pytest-cov
|
||||||
Requires: python3-pytest-enabler
|
Requires: python3-pytest-enabler
|
||||||
Requires: python3-pytest-black
|
Requires: python3-pytest-black
|
||||||
Requires: python3-pytest-mypy
|
Requires: python3-pytest-mypy
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A dictionary-like object that maps a range of values to a given value.
|
A dictionary-like object that maps a range of values to a given value.
|
||||||
|
|
||||||
%package -n python3-jaraco-collections
|
%package -n python3-jaraco-collections
|
||||||
Summary: Collection objects similar to those in stdlib by jaraco
|
Summary: Collection objects similar to those in stdlib by jaraco
|
||||||
Provides: python-jaraco-collections = %{version}-%{release}
|
Provides: python-jaraco-collections = %{version}-%{release}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pip python3-wheel python3-hatch-vcs
|
BuildRequires: python3-pip python3-wheel python3-hatch-vcs
|
||||||
@ -30,8 +30,8 @@ BuildRequires: python3-pip python3-wheel python3-hatch-vcs
|
|||||||
A dictionary-like object that maps a range of values to a given value.
|
A dictionary-like object that maps a range of values to a given value.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for jaraco.collections
|
Summary: Development documents and examples for jaraco.collections
|
||||||
Provides: python3-jaraco-collections-doc
|
Provides: python3-jaraco-collections-doc
|
||||||
%description help
|
%description help
|
||||||
A dictionary-like object that maps a range of values to a given value.
|
A dictionary-like object that maps a range of values to a given value.
|
||||||
|
|
||||||
@ -42,40 +42,22 @@ A dictionary-like object that maps a range of values to a given value.
|
|||||||
%pyproject_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install jaraco.collections==%{version}
|
%pyproject_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
|
||||||
if [ -d example ]; then cp -arf example %{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}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Modify the package compilation method and remove the adaptation to setup.py
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user