[packages/flawfinder] - up to 2.0.4, works with python3

baggins baggins at pld-linux.org
Sun Jun 7 14:54:31 CEST 2026


commit 4922817c9194096c7d4fdd7e2016e6abad67220f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 7 14:54:11 2026 +0200

    - up to 2.0.4, works with python3

 flawfinder-python.patch | 4 ++--
 flawfinder.spec         | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/flawfinder.spec b/flawfinder.spec
index b1a74a8..ac1db83 100644
--- a/flawfinder.spec
+++ b/flawfinder.spec
@@ -1,18 +1,18 @@
 Summary:	Examines C/C++ source code for security flaws
 Summary(pl.UTF-8):	Wyszukiwarka zagrożeń bezpieczeństwa w kodzie C/C++
 Name:		flawfinder
-Version:	1.27
-Release:	2
+Version:	2.0.4
+Release:	1
 License:	GPL
 Group:		Development/Tools
 Source0:	http://www.dwheeler.com/flawfinder/%{name}-%{version}.tar.gz
-# Source0-md5:	50fff67dd439f42b785577ed8b3a3f7d
+# Source0-md5:	60f3a87102de4acdb79116ad9a744bec
 Patch0:		%{name}-python.patch
 URL:		http://www.dwheeler.com/flawfinder/
 BuildRequires:	ghostscript
 BuildRequires:	ghostscript-fonts-std
 BuildRequires:	man-db
-Requires:	python2
+Requires:	python3
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
diff --git a/flawfinder-python.patch b/flawfinder-python.patch
index 3c18dd3..2b5c762 100644
--- a/flawfinder-python.patch
+++ b/flawfinder-python.patch
@@ -2,7 +2,7 @@
 +++ flawfinder-1.27/flawfinder	2026-05-21 01:35:50.494559176 +0200
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
-+#!/usr/bin/python2
++#!/usr/bin/python3
  
  """flawfinder: Find potential security flaws ("hits") in source code.
   Usage:
@@ -10,7 +10,7 @@
 +++ flawfinder-1.27/setup.py	2026-05-21 01:35:50.494905114 +0200
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python
-+#!/usr/bin/python2
++#!/usr/bin/python3
  
  # This is the setup.py script for "flawfinder" by David A. Wheeler.
  # My thanks to Jon Nelson, who created the initial setup.py script.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/flawfinder.git/commitdiff/4922817c9194096c7d4fdd7e2016e6abad67220f



More information about the pld-cvs-commit mailing list