Drop unneeded build dependencies

This commit is contained in:
Ondřej Budai 2024-06-26 17:41:00 +02:00
parent 366e6014af
commit b5edc49f91
No known key found for this signature in database
GPG Key ID: 2EDC02DB69E9C992
2 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,30 @@
From d490ba7bac5ac11fb9416d02ed6c45fde61956be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Budai?= <ondrej@budai.cz>
Date: Wed, 26 Jun 2024 17:12:46 +0200
Subject: [PATCH] Remove hatch-vcs
These apparently have no effect on the built RPM (I checked manually),
so let's drop them from pyproject.toml, so we can remove them from RHEL.
---
pyproject.toml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 70132d9..ab839b8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,10 +1,7 @@
[build-system]
-requires = ["hatchling", "hatch-vcs"]
+requires = ["hatchling"]
build-backend = "hatchling.build"
-[tool.hatch.version]
-source = "vcs"
-
[project]
name = "jsonschema-specifications"
description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
--
2.45.2

View File

@ -15,10 +15,11 @@ referencing-based Schema Registry.}
Name: python-%{pypi_name}
Summary: JSON Schema meta-schemas and vocabularies, exposed as a Registry
Version: 2023.11.2
Release: 4%{?dist}
Release: 5%{?dist}
License: MIT
URL: https://github.com/python-jsonschema/jsonschema-specifications
Source0: %{pypi_source %{pkg_name}}
Patch0: 0001-Remove-hatch-vcs.patch
BuildArch: noarch
BuildRequires: python3-devel
@ -58,7 +59,7 @@ Documentation for the JSON Schema specifications
%prep
%autosetup -n %{pkg_name}-%{version}
%autosetup -n %{pkg_name}-%{version} -p1
sed -i "/^file:.*/d" docs/requirements.in
sed -i "/^pygments-github-lexers/d" docs/requirements.in
@ -107,6 +108,9 @@ rm -rf docs/build/html/.{doctrees,buildinfo}
%endif
%changelog
* Wed Jun 26 2024 Ondřej Budai <obudai@redhat.com> - 2023.11.2-5
- Drop unneeded build dependencies
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2023.11.2-4
- Bump release for June 2024 mass rebuild