!5 Upgrade version to 1.14.0

From: @cherry530 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2024-02-27 02:51:30 +00:00 committed by Gitee
commit 8061cabd98
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 20 additions and 33 deletions

Binary file not shown.

BIN
josepy-1.14.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,15 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-josepy Name: python-josepy
Version: 1.13.0 Version: 1.14.0
Release: 1 Release: 1
Summary: JOSE protocol implementation in Python Summary: JOSE protocol implementation in Python
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/certbot/josepy URL: https://github.com/certbot/josepy
Source0: https://files.pythonhosted.org/packages/f4/be/5c1d9decbd5e9cf97dccd40d13c5657bef936d87da03c9d7aeb67c1b5126/josepy-1.13.0.tar.gz Source0: https://files.pythonhosted.org/packages/source/j/josepy/josepy-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
BuildRequires: python3-poetry-core
Requires: python3-cryptography Requires: python3-cryptography
Requires: python3-PyOpenSSL Requires: python3-PyOpenSSL
Requires: python3-setuptools Requires: python3-setuptools
@ -41,46 +43,31 @@ Provides: python3-josepy-doc
JOSE protocol implementation in Python using cryptography JOSE protocol implementation in Python using cryptography
%prep %prep
%autosetup -n josepy-1.13.0 %autosetup -n josepy-%{version}
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir} rm -rf %{buildroot}%{python3_sitelib}/CHANGELOG.rst
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi rm -rf %{buildroot}%{python3_sitelib}/CONTRIBUTING.md
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-josepy -f filelist.lst %files -n python3-josepy
%dir %{python3_sitelib}/* %doc CHANGELOG.rst CONTRIBUTING.md
%{_bindir}/jws
%{python3_sitelib}/josepy*
%files help -f doclist.lst %files help
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Feb 05 2024 xu_ping <707078654@qq.com> - 1.14.0-1
- Update to 1.14.0
- Add support for pyhon3.11 and python3.12
- Added a new valid PGP key to sign the package
- python3.7 is not supported and Remove support for python3.6
* Fri Aug 5 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.13.0-1 * Fri Aug 5 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.13.0-1
- Update to 1.13.0 - Update to 1.13.0