Update patch for old poetry versions

Signed-off-by: Nils Philippsen <nils@redhat.com>
epel9 imports/e9/python-rpmautospec-0.4.1-2.el9
Nils Philippsen 9 months ago
parent 1d86aabe53
commit f4db85d49a

@ -25,7 +25,7 @@ Summary: Package and CLI tool to generate release fields and changelogs
License: MIT
URL: https://github.com/fedora-infra/%{canonicalname}
Source0: https://github.com/fedora-infra/%{canonicalname}/releases/download/%{version}/%{canonicalname}-%{version}.tar.gz
Patch100: rpmautospec-0.3.7-old-poetry.patch
Patch100: rpmautospec-0.4.1-old-poetry.patch
BuildArch: noarch
BuildRequires: git

@ -1,12 +0,0 @@
diff -up rpmautospec-0.3.7/pyproject.toml.old-poetry rpmautospec-0.3.7/pyproject.toml
--- rpmautospec-0.3.7/pyproject.toml.old-poetry 2023-11-14 13:33:59.369684500 +0100
+++ rpmautospec-0.3.7/pyproject.toml 2023-11-14 13:57:31.085972996 +0100
@@ -47,7 +47,7 @@ babel = "^2.9"
koji = "^1.33.0"
pygit2 = "^1.2.1"
-[tool.poetry.group.dev.dependencies]
+[tool.poetry.dev-dependencies]
pyyaml = "^5.3.1 || ^6"
pytest = "^6.2.2 || ^7"
pytest-cov = "^4.0.0"

@ -0,0 +1,12 @@
diff -up rpmautospec-0.4.1/pyproject.toml.old-poetry rpmautospec-0.4.1/pyproject.toml
--- rpmautospec-0.4.1/pyproject.toml.old-poetry 2023-12-15 23:05:03.757565500 +0100
+++ rpmautospec-0.4.1/pyproject.toml 2024-01-08 15:32:14.863630739 +0100
@@ -47,7 +47,7 @@ babel = "^2.9"
pygit2 = "^1.2.1"
rpm = "*"
-[tool.poetry.group.dev.dependencies]
+[tool.poetry.dev-dependencies]
pyyaml = "^5.3.1 || ^6"
pytest = "^6.2.2 || ^7"
pytest-cov = "^4.0.0"
Loading…
Cancel
Save