%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-josepy Version: 1.14.0 Release: 1mamba Summary: JOSE protocol implementation in Python using cryptography Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/josepy/ Source: https://pypi.debian.net/josepy/josepy-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: python3.11dist(cryptography) BuildRequires: python3.11dist(pyopenssl) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n josepy-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %if "%{?with_pyver}" != "3" # Rename any conflicting file outside of python site packages tree for f in %{_bindir}/jws; do mv %{buildroot}${f}{,-%{?pyappend}} done %endif rm -f %{buildroot}%{python_sitelib}/{CHANGELOG.rst,CONTRIBUTING.md} %files %{?pyappend} %defattr(-,root,root) %{_bindir}/jws* %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %doc LICENSE.txt %changelog * Fri Dec 01 2023 Automatic Build System 1.14.0-1mamba - automatic version update by autodist * Tue Sep 26 2023 Automatic Build System 1.13.0-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Tue Jul 18 2023 Silvan Calarco 1.13.0-2mamba - rebuilt with python 3.10 * Fri Mar 11 2022 Automatic Build System 1.13.0-1mamba - automatic version update by autodist * Thu Jan 13 2022 Automatic Build System 1.12.0-1mamba - automatic version update by autodist * Thu Nov 18 2021 Automatic Build System 1.11.0-1mamba - automatic version update by autodist * Tue Sep 28 2021 Automatic Build System 1.10.0-1mamba - automatic version update by autodist * Fri Sep 10 2021 Automatic Build System 1.9.0-1mamba - automatic version update by autodist * Fri Apr 09 2021 Silvan Calarco 1.8.0-2mamba - rebuilt with distdeps * Wed Mar 17 2021 Automatic Build System 1.8.0-1mamba - automatic version update by autodist * Sun Feb 21 2021 Automatic Build System 1.7.0-1mamba - automatic version update by autodist * Sat Jan 30 2021 Automatic Build System 1.6.0-1mamba - automatic version update by autodist * Wed Nov 04 2020 Automatic Build System 1.5.0-1mamba - automatic version update by autodist * Tue Aug 18 2020 Automatic Build System 1.4.0-1mamba - automatic version update by autodist * Sat Apr 11 2020 Silvan Calarco 1.3.0-3mamba - require pyOpenSSL[-py3*] * Sat Apr 11 2020 Silvan Calarco 1.3.0-2mamba - rebuilt with py3* packages * Sun Feb 02 2020 Automatic Build System 1.3.0-1mamba - automatic version update by autodist * Fri Jul 12 2019 Automatic Build System 1.2.0-1mamba - automatic version update by autodist * Sat May 19 2018 Automatic Build System 1.1.0-1mamba - automatic version update by autodist * Mon Apr 09 2018 Silvan Calarco 1.0.1-1mamba - package created using the webbuild interface