%global pypi_name greenbone_feed_sync Name: greenbone-feed-sync Version: 25.3.0 Release: %autorelease Summary: Tool for downloading the Greenbone Community Feed License: GPL-3.0-or-later URL: https://pypi.org/project/greenbone-feed-sync/ Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-wheel BuildRequires: python3-pytest # Unpackaged #BuildRequires: python3-pontos Requires: python3-%{name} = %{version}-%{release} %global _description %{expand: greenbone-feed-sync assumes you are using the latest feed release and up to date components of the Greenbone Community Edition by default. It is highly configurable and can be adjusted easily for downloading different feed releases and types.} %description %_description %package -n python3-%{name} Summary: %{summary} %description -n python3-%{name} %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l greenbone %check # Unpackaged dep on pontos #pytest -v %files %{_bindir}/greenbone-certdata-sync %{_bindir}/greenbone-feed-sync %{_bindir}/greenbone-nvt-sync %{_bindir}/greenbone-scapdata-sync %files -n python3-%{name} -f %{pyproject_files} %doc README.md %changelog %autochangelog