14
0

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
This commit is contained in:
2023-02-25 22:07:59 +00:00
committed by Git OBS Bridge
parent f8b970d223
commit 886d9c4e2a
2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 24 07:27:03 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 7 14:27:56 UTC 2022 - Matej Cepl <mcepl@suse.com> Mon Feb 7 14:27:56 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-service_identity # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 %define oname service_identity
Name: python-service_identity Name: python-service_identity
Version: 21.1.0 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 attrs >= 19.1.0}
BuildRequires: %{python_module cryptography} BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module idna} BuildRequires: %{python_module idna}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyOpenSSL >= 0.14} BuildRequires: %{python_module pyOpenSSL >= 0.14}
BuildRequires: %{python_module pyasn1-modules} BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-attrs >= 19.1.0 Requires: python-attrs >= 19.1.0
@@ -63,10 +63,10 @@ relevant RFCs too.
%setup -q -n service-identity-%{version} %setup -q -n service-identity-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -76,6 +76,6 @@ relevant RFCs too.
%license LICENSE %license LICENSE
%doc AUTHORS.rst README.rst %doc AUTHORS.rst README.rst
%{python_sitelib}/%{oname} %{python_sitelib}/%{oname}
%{python_sitelib}/%{oname}-%{version}-py*.egg-info %{python_sitelib}/%{oname}-%{version}*-info
%changelog %changelog