]> git.pld-linux.org Git - packages/bakefile.git/blobdiff - bakefile.spec
- up to 0.2.12
[packages/bakefile.git] / bakefile.spec
index 47360abb258d6f52682bae7ea8fd62f70edaf388..e39a635d6f80dc965f76c80c8ea38fa8b78b5cca 100644 (file)
@@ -2,13 +2,13 @@
 Summary:       Native makefiles generator
 Summary(pl.UTF-8):     Generator natywnych plików typu Makefile
 Name:          bakefile
-Version:       0.2.10
+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: f980cdd36268b5d2b23602d454bdf0a4
+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
@@ -67,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/bakefilize
 %{_datadir}/%{name}
 %dir %{_libdir}/%{name}
-%{_libdir}/%{name}/*.py[oc]
+%{_libdir}/%{name}/*.py[co]
 %attr(755,root,root) %{_libdir}/%{name}/_bkl_c.so
 %attr(755,root,root) %{_libdir}/%{name}/bakefile.py
 %attr(755,root,root) %{_libdir}/%{name}/bakefile_gen.py
This page took 0.123224 seconds and 4 git commands to generate.