summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-19 08:55:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-19 08:55:32 +0000
commit35f1335ce0b78bf043bc3bfb6d6986bf18c422bd (patch)
treeebcf04f69fcfd69355f3bd115f7e3718232c680c
parentee84e9705d2867cce29d9ba84ff204a1ba40119d (diff)
automatic import of python-hatch-vcs
-rw-r--r--python-hatch-vcs.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/python-hatch-vcs.spec b/python-hatch-vcs.spec
index 84c9c47..3827d98 100644
--- a/python-hatch-vcs.spec
+++ b/python-hatch-vcs.spec
@@ -1,3 +1,5 @@
+%global bootstrap 1
+
Name: python-hatch-vcs
Version: 0.3.0
Release: 2
@@ -8,13 +10,15 @@ URL: https://pypi.org/project/hatch-vcs
Source0: https://files.pythonhosted.org/packages/04/33/b68d68e532392d938472d16a03e4ce0ccd749ea31b42d18f8baa6547cbfd/hatch_vcs-0.3.0.tar.gz
Patch0: Fix-setuptools_scm-7.1.0-test-incompatible.patch
BuildArch: noarch
-
-BuildRequires: python3-devel python3-pip python3-hatchling
-BuildRequires: python3-setuptools_scm python3-pathspec python3-hatch-vcs
+%if !%{?bootstrap}
+BuildRequires: python3-hatch-vcs
+%endif
+BuildRequires: python3-hatchling
BuildRequires: python3dist(pytest)
BuildRequires: git-core
-
-
+BuildRequires: python3-setuptools_scm python3-pathspec
+BuildRequires: python3-devel python3-pip
+BuildRequires: openEuler-rpm-config >= 30-39
%global common_description %{expand:
This provides a plugin for Hatch that uses your preferred version control
system (like Git) to determine project versions.}