Accepting request 1101247 from home:gregfreemyer:Tools-for-forensic-boot-cd
- update to python 3.11 as the internal build tool. OBS-URL: https://build.opensuse.org/request/show/1101247 OBS-URL: https://build.opensuse.org/package/show/security:forensics/artifacts?expand=0&rev=26
This commit is contained in:
parent
b1f7273c99
commit
7ebf9f6651
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 28 18:31:35 UTC 2023 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
- update to python 3.11 as the internal build tool.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 17:47:41 UTC 2023 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user