commit 1321a1796a660bb5c1c13f6536ac5dedeec32f22 Author: Jan Rękorajski <bagg...@pld-linux.org> Date: Fri Sep 22 16:03:27 2023 +0200
- up to 0.2.12 bakefile-empy.patch | 7 ++----- bakefile.spec | 10 +++++++--- 2 files changed, 9 insertions(+), 8 deletions(-) --- diff --git a/bakefile.spec b/bakefile.spec index 3e54e7f..e39a635 100644 --- a/bakefile.spec +++ b/bakefile.spec @@ -2,13 +2,13 @@ Summary: Native makefiles generator Summary(pl.UTF-8): Generator natywnych plików typu Makefile Name: bakefile -Version: 0.2.11 +Version: 0.2.12 Release: 1 License: MIT Group: Development/Building #SourceDownload: https://github.com/vslavik/bakefile/releases -Source0: https://github.com/vslavik/bakefile/releases/download/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 7239d91e9907498feffa3c77333a2e22 +Source0: https://github.com/vslavik/bakefile/releases/download/v%{version}.1/%{name}-%{version}.tar.gz +# Source0-md5: a735ce2c1ca1b86adbcb2fdb06ade802 Patch0: %{name}-empy.patch URL: http://bakefile.org/ BuildRequires: autoconf >= 2.53 @@ -37,6 +37,10 @@ dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). %setup -q %patch0 -p1 +%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \ + src/bakefile.py \ + src/bakefile_gen.py + %build %{__libtoolize} %{__aclocal} -I admin diff --git a/bakefile-empy.patch b/bakefile-empy.patch index 774dbc3..76d6345 100644 --- a/bakefile-empy.patch +++ b/bakefile-empy.patch @@ -1,6 +1,6 @@ --- bakefile-0.1.1.20031019/src/writer.py.wiget 2003-10-13 23:53:41.000000000 +0200 +++ bakefile-0.1.1.20031019/src/writer.py 2003-10-19 14:20:04.000000000 +0200 -@@ -174,7 +174,10 @@ +@@ -174,12 +174,15 @@ return (rulesdir, template) def invoke_em(writer, file, method): @@ -11,10 +11,7 @@ + from empy import em rulesdir, template = __findWriter(writer) - filename = tempfile.mktemp('bakefile') -@@ -182,7 +185,7 @@ - # creating the file: - tmpf = open(filename, 'wb'); tmpf.close() + filename = portautils.mktemp('bakefile') - empy.em.invoke(['-I','mk', + em.invoke(['-I','mk', ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/bakefile.git/commitdiff/1321a1796a660bb5c1c13f6536ac5dedeec32f22 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit