From 886d9c4e2a12a53051316f2fd7c0d45dace42c98944001a4f95f698ab786cd72 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 25 Feb 2023 22:07:59 +0000 Subject: [PATCH] Accepting request 1067752 from home:mcepl:branches:devel:languages:python - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/request/show/1067752 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-service_identity?expand=0&rev=26 --- python-service_identity.changes | 5 +++++ python-service_identity.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-service_identity.changes b/python-service_identity.changes index fb0412d..ab36fb4 100644 --- a/python-service_identity.changes +++ b/python-service_identity.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 24 07:27:03 UTC 2023 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Mon Feb 7 14:27:56 UTC 2022 - Matej Cepl diff --git a/python-service_identity.spec b/python-service_identity.spec index 22c78c0..99fa301 100644 --- a/python-service_identity.spec +++ b/python-service_identity.spec @@ -1,7 +1,7 @@ # # spec file for package python-service_identity # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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-%{**}} %define oname service_identity Name: python-service_identity Version: 21.1.0 @@ -30,12 +29,13 @@ Source: https://github.com/pyca/service_identity/archive/%{version}.tar. BuildRequires: %{python_module attrs >= 19.1.0} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module idna} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pyOpenSSL >= 0.14} BuildRequires: %{python_module pyasn1-modules} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.1.0 @@ -63,10 +63,10 @@ relevant RFCs too. %setup -q -n service-identity-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -76,6 +76,6 @@ relevant RFCs too. %license LICENSE %doc AUTHORS.rst README.rst %{python_sitelib}/%{oname} -%{python_sitelib}/%{oname}-%{version}-py*.egg-info +%{python_sitelib}/%{oname}-%{version}*-info %changelog