# Created by pyp2rpm-3.2.2 %global pypi_name py-vapid Name: python-%{pypi_name} Version: 1.9.4 Release: 1%{?dist} Summary: Simple VAPID header generation library License: MPL2 URL: https://github.com/mozilla-services/vapid Source0: %pypi_source py_vapid BuildArch: noarch BuildRequires: python3-devel #BuildRequires: python3-nose BuildRequires: python3-coverage BuildRequires: python3-mock >= 1.0.1 BuildRequires: python3-flake8 BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-cryptography %description Easy VAPID generation This minimal library contains the minimal set of functions you need to generate a VAPID key set and get the headers you'll need to sign a WebPush subscription update.VAPID is a voluntary standard for WebPush subscription providers (sites that send WebPush updates to remote customers) to selfidentify to Push Servers (the servers that convey the push notifications).The... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3-ecdsa >= 0.13 Requires: python3-cryptography >= 1.8.2 %description -n python3-%{pypi_name} Easy VAPID generation This minimal library contains the minimal set of functions you need to generate a VAPID key set and get the headers you'll need to sign a WebPush subscription update.VAPID is a voluntary standard for WebPush subscription providers (sites that send WebPush updates to remote customers) to selfidentify to Push Servers (the servers that convey the push notifications).The... %prep %autosetup -n py_vapid-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %generate_buildrequires %pyproject_buildrequires %{?with_tests:-x tests} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files py_vapid %check %pytest -m "not network" %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst README.md %{_bindir}/vapid %changelog * Tue Apr 28 2026 Ján ONDREJ (SAL) - 1.9.4-1 - Update to upstream. * Mon Apr 14 2025 Ján ONDREJ (SAL) - 1.9.2-1 - Update to upstream. * Tue Apr 27 2021 Ján ONDREJ (SAL) - 1.8.2-1 - Update to upstream. * Mon Oct 21 2019 Ján ONDREJ (SAL) - 1.7.0-1 - Update to upstream. * Thu May 02 2019 Ján ONDREJ (SAL) - 1.3.0-2 - Removed python2 support. * Sat Jan 27 2018 Ján ONDREJ (SAL) - 1.3.0-1 - Initial package.