File python-gitdb.spec of Package python-gitdb

# spec file for package python-gitdb
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           python-gitdb
Version:        4.0.11
Release:        0
Summary:        Git Object Database
License:        BSD-3-Clause
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module smmap >= 3.0.1}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-smmap >= 3.0.1
Provides:       python-gitdb2 = %{version}
Obsoletes:      python-gitdb2 < %{version}

GitDB is a pure-Python git object database

%setup -q -n gitdb-%{version}


%python_expand %fdupes %{buildroot}%{$python_sitelib}

# Package requires its own git tree in order to pass tests
#%%python_exec test

%files %{python_files}
%license LICENSE

openSUSE Build Service is sponsored by