[packages/bakefile] - updated to 0.2.11 - removed obsolete versioncompare patch

qboosh qboosh at pld-linux.org
Sun Jul 22 20:29:35 CEST 2018


commit c8aa666863e199941c453e6e447c2dc1433b1ae3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 22 20:31:30 2018 +0200

    - updated to 0.2.11
    - removed obsolete versioncompare patch

 bakefile-versioncompare.patch | 14 --------------
 bakefile.spec                 | 10 ++++------
 2 files changed, 4 insertions(+), 20 deletions(-)
---
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
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bakefile.git/commitdiff/c8aa666863e199941c453e6e447c2dc1433b1ae3



More information about the pld-cvs-commit mailing list