diff --git a/zenmap.spec.in b/zenmap.spec.in index 161f39ada..5f4aba529 100644 --- a/zenmap.spec.in +++ b/zenmap.spec.in @@ -14,12 +14,11 @@ Source0: https://nmap.org/dist/nmap-%{version}.tgz URL: https://nmap.org/zenmap/ BuildArch: noarch -AutoReqProv: no BuildRequires: python3-devel # Add any build-time deps declared in pyproject.toml [build-system.requires] BuildRequires: python3-setuptools, python3-wheel, python3-build, python3-setuptools-gettext BuildRequires: desktop-file-utils -Requires: python3 >= 3.0, nmap, python3-gobject, gtk3 +Requires: python3 >= 3.8, nmap, python3-gobject, gtk3 %global debug_package %{nil} Prefix: %{_prefix} diff --git a/zenmap/pyproject.toml b/zenmap/pyproject.toml index d2ae311a8..28cb2d2c3 100644 --- a/zenmap/pyproject.toml +++ b/zenmap/pyproject.toml @@ -12,6 +12,7 @@ readme = {file = "README", content-type = "text/plain"} dependencies = [ "PyGObject", ] +requires-python = ">= 3.8" [project.urls] Homepage = "https://nmap.org/zenmap/"