forked from pool/python-http-ece
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
2b117235ca | |||
2288104b1a |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 11:29:30 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 04:21:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-http-ece
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-http-ece
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
@@ -27,7 +26,9 @@ URL: https://github.com/martinthomson/encrypted-content-encoding
|
||||
Source: https://files.pythonhosted.org/packages/source/h/http_ece/http_ece-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/web-push-libs/encrypted-content-encoding/v%{version}/python/http_ece/tests/test_ece.py
|
||||
Source2: https://raw.githubusercontent.com/web-push-libs/encrypted-content-encoding/master/LICENSE
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cryptography >= 2.5
|
||||
@@ -46,10 +47,10 @@ Encrypted Content Encoding for HTTP.
|
||||
cp %{SOURCE1} %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -58,6 +59,7 @@ cp %{SOURCE1} %{SOURCE2} .
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/http[-_]ece
|
||||
%{python_sitelib}/http[-_]ece-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user