From: Jakub Bogusz Date: Sun, 22 Jul 2018 18:31:30 +0000 (+0200) Subject: - updated to 0.2.11 X-Git-Tag: auto/th/bakefile-0.2.11-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbakefile.git;a=commitdiff_plain;h=c8aa666863e199941c453e6e447c2dc1433b1ae3 - updated to 0.2.11 - removed obsolete versioncompare patch --- diff --git a/bakefile-versioncompare.patch b/bakefile-versioncompare.patch deleted file mode 100644 index 6aa399b..0000000 --- a/bakefile-versioncompare.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- bakefile-0.2.10/src/utils.py.orig 2017-01-04 11:52:30.000000000 +0100 -+++ bakefile-0.2.10/src/utils.py 2017-04-08 07:45:43.920622017 +0200 -@@ -40,7 +40,10 @@ - e.g. '0.1.4'.""" - vcur = mk.vars['BAKEFILE_VERSION'].split('.') - vreq = version.split('.') -- return vcur >= vreq -+ try: -+ return map(int, vcur) >= map(int, vreq) -+ except: -+ return vcur >= vreq - - def isoption(name): - return name in mk.options diff --git a/bakefile.spec b/bakefile.spec index 75cff2f..3e54e7f 100644 --- a/bakefile.spec +++ b/bakefile.spec @@ -2,15 +2,14 @@ Summary: Native makefiles generator Summary(pl.UTF-8): Generator natywnych plików typu Makefile Name: bakefile -Version: 0.2.10 -Release: 2 +Version: 0.2.11 +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-md5: 7239d91e9907498feffa3c77333a2e22 Patch0: %{name}-empy.patch -Patch1: %{name}-versioncompare.patch URL: http://bakefile.org/ BuildRequires: autoconf >= 2.53 BuildRequires: automake >= 1.6 @@ -37,7 +36,6 @@ dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.). %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %{__libtoolize} @@ -69,7 +67,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