diff --git a/josepy-1.13.0.tar.gz b/josepy-1.13.0.tar.gz deleted file mode 100644 index 878acc2..0000000 Binary files a/josepy-1.13.0.tar.gz and /dev/null differ diff --git a/josepy-1.14.0.tar.gz b/josepy-1.14.0.tar.gz new file mode 100644 index 0000000..81aaa83 Binary files /dev/null and b/josepy-1.14.0.tar.gz differ diff --git a/python-josepy.spec b/python-josepy.spec index 429af60..f5bdb70 100644 --- a/python-josepy.spec +++ b/python-josepy.spec @@ -1,13 +1,15 @@ %global _empty_manifest_terminate_build 0 Name: python-josepy -Version: 1.13.0 +Version: 1.14.0 Release: 1 Summary: JOSE protocol implementation in Python License: Apache-2.0 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 +BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel +BuildRequires: python3-poetry-core Requires: python3-cryptography Requires: python3-PyOpenSSL Requires: python3-setuptools @@ -41,46 +43,31 @@ Provides: python3-josepy-doc JOSE protocol implementation in Python using cryptography %prep -%autosetup -n josepy-1.13.0 +%autosetup -n josepy-%{version} %build -%py3_build +%pyproject_build %install -%py3_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 . +%pyproject_install +rm -rf %{buildroot}%{python3_sitelib}/CHANGELOG.rst +rm -rf %{buildroot}%{python3_sitelib}/CONTRIBUTING.md -%files -n python3-josepy -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-josepy +%doc CHANGELOG.rst CONTRIBUTING.md +%{_bindir}/jws +%{python3_sitelib}/josepy* -%files help -f doclist.lst +%files help %{_docdir}/* %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 - 1.13.0-1 - Update to 1.13.0