From 9ff4a4f6151d2846b3ad3ee0d26fa010a0daf979 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:27:11 +0100 Subject: [PATCH] automatic version update by autodist [release 2.0.19-1mamba;Mon Dec 27 2021] --- flawfinder.spec | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/flawfinder.spec b/flawfinder.spec index 95898ae..a0bf4a0 100644 --- a/flawfinder.spec +++ b/flawfinder.spec @@ -1,18 +1,17 @@ Name: flawfinder -Version: 2.0.11 +Version: 2.0.19 Release: 1mamba Summary: A program that examines source code looking for security weaknesses Group: Applications/Security Vendor: openmamba Distribution: openmamba -Packager: Aleph0 -URL: http://www.dwheeler.com/flawfinder/ -Source: http://www.dwheeler.com/flawfinder/flawfinder-%{version}.tar.gz +Packager: Silvan Calarco +URL: https://dwheeler.com/ +Source: https://dwheeler.com/flawfinder/flawfinder-%{version}.tar.gz License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Requires: python >= 1.5 ## AUTOBUILDREQ-BEGIN -BuildRequires: python +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END %description @@ -24,14 +23,14 @@ It's very useful for quickly finding and removing at least some potential securi %build gzip -c flawfinder.1 > flawfinder.1.gz -%{__python} setup.py build +%{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%{__python} setup.py install \ +%{__python3} setup.py install \ --root=%{buildroot} \ - --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -39,12 +38,16 @@ gzip -c flawfinder.1 > flawfinder.1.gz %files %defattr(-,root,root) %{_bindir}/flawfinder -%{_mandir}/man?/flawfinder.* -%{python_sitearch}/flawfinder-*-py*.egg-info +%{python3_sitearch}/__pycache__/flawfinder.cpython-37.pyc +%{python3_sitearch}/flawfinder.py +%{python3_sitearch}/flawfinder-*-py*.egg-info +%{_mandir}/man1/flawfinder.1* %doc COPYING -#%doc announcement ChangeLog %changelog +* Mon Dec 27 2021 Automatic Build System 2.0.19-1mamba +- automatic version update by autodist + * Wed Mar 11 2020 Automatic Build System 2.0.11-1mamba - automatic version update by autodist