diff --git a/artifacts.changes b/artifacts.changes index 1617fef..6863978 100644 --- a/artifacts.changes +++ b/artifacts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 28 18:31:35 UTC 2023 - Greg Freemyer + +- update to python 3.11 as the internal build tool. + ------------------------------------------------------------------- Tue Jul 18 17:47:41 UTC 2023 - Greg Freemyer diff --git a/artifacts.spec b/artifacts.spec index 0a3e06f..55947db 100644 --- a/artifacts.spec +++ b/artifacts.spec @@ -29,11 +29,12 @@ Source1: https://github.com/ForensicArtifacts/artifacts/releases/download # Key 0xD9625E5D7AD0177E by Joachim Metz https://github.com/joachimmetz Source2: %{name}.keyring BuildRequires: fdupes -BuildRequires: python-rpm-macros +#BuildRequires: python-rpm-macros +#BuildRequires: python3-packaging # security:forensics is now only supporting python 3.7 or newer -BuildRequires: python3-setuptools > 3.7 -BuildRequires: python3-base >= 3.7 -BuildRequires: python3-packaging > 3.7 +BuildRequires: python311-setuptools +BuildRequires: python311-base + BuildArch: noarch %description @@ -64,10 +65,10 @@ themselves and not use these Python modules. %setup -q -n artifacts-%{timestamp} %build -%python3_build +%python311_build %install -%python3_install +%python311_install %fdupes %{buildroot}%{python3_sitelib} # these are installed to the wrong dir by %{name} rm %{buildroot}/usr/share/doc/%{name}/ACKNOWLEDGEMENTS @@ -82,7 +83,7 @@ rm %{buildroot}/usr/share/doc/%{name}/README %files validator %license LICENSE -%{python3_sitelib}/artifacts* +%{python311_sitelib}/artifacts* %{_bindir}/validator.py %{_bindir}/stats.py