17
0

Compare commits

2 Commits

2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 12:37:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 21 23:24:32 UTC 2019 - Martin Herkt <9+suse@cirno.systems> Mon Oct 21 23:24:32 UTC 2019 - Martin Herkt <9+suse@cirno.systems>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pure-sasl # spec file for package python-pure-sasl
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 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-%{**}}
%bcond_without test %bcond_without test
Name: python-pure-sasl Name: python-pure-sasl
Version: 0.6.2 Version: 0.6.2
@@ -24,9 +23,11 @@ Release: 0
Summary: Pure Python client SASL implementation Summary: Pure Python client SASL implementation
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://github.com/thobbs/pure-sasl URL: https://github.com/thobbs/pure-sasl
Source: https://files.pythonhosted.org/packages/source/p/pure-sasl/pure-sasl-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pure-sasl/pure-sasl-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-kerberos Requires: python-kerberos
@@ -43,15 +44,16 @@ provided.
%setup -q -n pure-sasl-%{version} %setup -q -n pure-sasl-%{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}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%{python_sitelib}/* %{python_sitelib}/puresasl
%{python_sitelib}/pure[-_]sasl-%{version}*-info
%changelog %changelog