17
0

3 Commits

2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 30 09:12:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 9 13:43:03 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> Tue May 9 13:43:03 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-kerberos # spec file for package python-kerberos
# #
# Copyright (c) 2023 SUSE LLC # 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,8 +16,8 @@
# #
%{?sle15_python_module_pythons}
%bcond_without test %bcond_without test
%{?sle15_python_module_pythons}
Name: python-kerberos Name: python-kerberos
Version: 1.3.1 Version: 1.3.1
Release: 0 Release: 0
@@ -28,7 +28,9 @@ URL: https://github.com/apple/ccs-pykerberos
Source: https://files.pythonhosted.org/packages/source/k/kerberos/kerberos-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/k/kerberos/kerberos-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/apple/ccs-pykerberos/master/LICENSE.txt Source1: https://raw.githubusercontent.com/apple/ccs-pykerberos/master/LICENSE.txt
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -50,15 +52,16 @@ cp %{SOURCE1} .
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%{python_sitearch}/* %{python_sitearch}/kerberos.cpython*
%{python_sitearch}/kerberos-%{version}*-info
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog