- updated to 0.2.11 master auto/th/bakefile-0.2.11-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Jul 2018 18:31:30 +0000 (20:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Jul 2018 18:31:30 +0000 (20:31 +0200)
- removed obsolete versioncompare patch

bakefile-versioncompare.patch [deleted file]
bakefile.spec

diff --git a/bakefile-versioncompare.patch b/bakefile-versioncompare.patch
deleted file mode 100644 (file)
index 6aa399b..0000000
+++ /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
index 75cff2f..3e54e7f 100644 (file)
@@ -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
This page took 0.116006 seconds and 4 git commands to generate.