diff --git a/data/projects.ini b/data/projects.ini index 8af23308..44465320 100644 --- a/data/projects.ini +++ b/data/projects.ini @@ -9,6 +9,7 @@ description_long: Fast multi-keyword search engine for text strings [acstore] version: >=20221230 +build_system: setuptools download_url: https://github.com/log2timeline/acstore/releases git_url: https://github.com/log2timeline/acstore.git @@ -52,6 +53,7 @@ description_long: A library for parsing ISO 8601 strings. [artifacts] version: >=20150409 +build_system: setuptools homepage_url: https://artifacts.readthedocs.io/en/latest/ download_url: https://github.com/ForensicArtifacts/artifacts/releases git_url: https://github.com/ForensicArtifacts/artifacts.git @@ -325,21 +327,25 @@ description_long: XML bomb protection for Python stdlib modules [dfdatetime] version: >=20181025 +build_system: setuptools download_url: https://github.com/log2timeline/dfdatetime/releases git_url: https://github.com/log2timeline/dfdatetime.git [dfimagetools] version: >=20181025 +build_system: setuptools download_url: https://github.com/log2timeline/dfimagetools/releases git_url: https://github.com/log2timeline/dfimagetools.git [dfvfs] version: >=20150129 +build_system: setuptools download_url: https://github.com/log2timeline/dfvfs/releases git_url: https://github.com/log2timeline/dfvfs.git [dfwinreg] version: >=20151105 +build_system: setuptools download_url: https://github.com/log2timeline/dfwinreg/releases git_url: https://github.com/log2timeline/dfwinreg.git @@ -367,6 +373,7 @@ description_long: Docutils is a modular system for processing documentation [dtfabric] version: >=20170413 +build_system: setuptools dpkg_build_dependencies: python3-build,python3-wheel rpm_build_dependencies: python3-build,python3-wheel download_url: https://github.com/libyal/dtfabric/releases @@ -1460,6 +1467,7 @@ description_short: Interface Python with pkg-config description_long: Interface Python with pkg-config [plaso] +build_system: setuptools homepage_url: https://plaso.readthedocs.io/en/latest download_url: https://github.com/log2timeline/plaso/releases git_url: https://github.com/log2timeline/plaso.git diff --git a/data/rpm_templates/artifacts.spec b/data/rpm_templates/artifacts.spec index 3e43307c..50160ff8 100644 --- a/data/rpm_templates/artifacts.spec +++ b/data/rpm_templates/artifacts.spec @@ -46,11 +46,10 @@ A free, community-sourced, machine-readable knowledge base of forensic artifacts %autosetup -n %{{name}}-%{{version}} %build -%py3_build +%pyproject_wheel %install -%py3_install -rm -rf %{{buildroot}}/usr/lib/python*/site-packages/*.egg-info/requires.txt +%pyproject_install rm -rf %{{buildroot}}/usr/share/doc/%{{name}}/ mkdir -p %{{buildroot}}/usr/share/artifacts/ mv %{{buildroot}}/usr/lib/python*/site-packages/artifacts/data/* %{{buildroot}}/usr/share/artifacts/ @@ -69,7 +68,7 @@ rm -rf %{{buildroot}} %license LICENSE %doc README.md %{{python3_sitelib}}/artifacts -%{{python3_sitelib}}/artifacts*.egg-info +%{{python3_sitelib}}/artifacts*.dist-info %files -n %{{name}}-tools %{{_bindir}}/* diff --git a/data/rpm_templates/plaso.spec b/data/rpm_templates/plaso.spec index 7a865b40..4fde4a3d 100644 --- a/data/rpm_templates/plaso.spec +++ b/data/rpm_templates/plaso.spec @@ -46,11 +46,10 @@ Plaso (log2timeline) is a framework to create super timelines. Its purpose is to %autosetup -n %{{name}}-%{{version}} %build -%py3_build +%pyproject_wheel %install -%py3_install -rm -rf %{{buildroot}}/usr/lib/python*/site-packages/*.egg-info/requires.txt +%pyproject_install rm -rf %{{buildroot}}/usr/share/doc/%{{name}}/ mkdir -p %{{buildroot}}/usr/share/plaso/ mv %{{buildroot}}/usr/lib/python*/site-packages/plaso/data/* %{{buildroot}}/usr/share/plaso/ @@ -69,7 +68,7 @@ rm -rf %{{buildroot}} %license LICENSE %doc README.md %{{python3_sitelib}}/plaso -%{{python3_sitelib}}/plaso*.egg-info +%{{python3_sitelib}}/plaso*.dist-info %files -n %{{name}}-tools %{{_bindir}}/*