summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-19 07:48:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-19 07:48:15 +0000
commitee84e9705d2867cce29d9ba84ff204a1ba40119d (patch)
tree7d289810cf5bc4f1fe2de0a743e621e56fc34d1d
parentfc324e920686d13c0da7bfa408d9971f35bc3b7f (diff)
automatic import of python-hatch-vcs
-rw-r--r--python-hatch-vcs.spec14
1 files changed, 5 insertions, 9 deletions
diff --git a/python-hatch-vcs.spec b/python-hatch-vcs.spec
index c4d3c1b..84c9c47 100644
--- a/python-hatch-vcs.spec
+++ b/python-hatch-vcs.spec
@@ -1,5 +1,3 @@
-%global bootstrap 1
-
Name: python-hatch-vcs
Version: 0.3.0
Release: 2
@@ -10,15 +8,13 @@ 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
-%if !%{?bootstrap}
-BuildRequires: python3-hatchling
-BuildRequires: python3-hatch-vcs
-%endif
+
+BuildRequires: python3-devel python3-pip python3-hatchling
+BuildRequires: python3-setuptools_scm python3-pathspec python3-hatch-vcs
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.}