[packages/cu] - adjust shebang for python3 (2/3 compatible according to changelog); release 2

qboosh qboosh at pld-linux.org
Sun May 19 20:52:20 CEST 2024


commit 7dcaddc7c93e20089d4610db0b3bbcfa86ca7968
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 19 20:52:59 2024 +0200

    - adjust shebang for python3 (2/3 compatible according to changelog); release 2

 cu.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/cu.spec b/cu.spec
index 2ff9340..3465991 100644
--- a/cu.spec
+++ b/cu.spec
@@ -2,12 +2,14 @@ Summary:	Simple unit testing framework for handling automated tests in C
 Summary(pl.UTF-8):	Szkielet automatycznych testów jednostkowych dla języka C
 Name:		cu
 Version:	0.15.1
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Libraries
+#Source0Download: https://github.com/danfis/cu/tags
 Source0:	http://cu.danfis.cz/files/%{name}-%{version}.tar.gz
 # Source0-md5:	bd5f70ea6f06e2a050c7e5e280043927
-URL:		http://cu.danfis.cz/
+URL:		https://github.com/danfis/cu
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,6 +32,8 @@ wyjście zestawów testów.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' cu-check-regressions
+
 %build
 %{__make} \
 	CC="%{__cc}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cu.git/commitdiff/7dcaddc7c93e20089d4610db0b3bbcfa86ca7968



More information about the pld-cvs-commit mailing list