[packages/python-tdbus] Version: 0.9

jajcus jajcus at pld-linux.org
Wed Jul 1 13:30:39 CEST 2015


commit be94f35d4f26530559b068e28b02d49082c0253c
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Jul 1 13:30:29 2015 +0200

    Version: 0.9

 python-tdbus-format_string.patch | 12 ------------
 python-tdbus.spec                | 10 ++++------
 2 files changed, 4 insertions(+), 18 deletions(-)
---
diff --git a/python-tdbus.spec b/python-tdbus.spec
index 2afe5db..0723e7d 100644
--- a/python-tdbus.spec
+++ b/python-tdbus.spec
@@ -7,25 +7,24 @@
 %define 	module	tdbus
 Summary:	Simple ("trivial") Python bindings for D-BUS
 Name:		python-%{module}
-Version:	0.8
+Version:	0.9
 Release:	0.1
 License:	MIT
 Group:		Libraries/Python
 Source0:	https://pypi.python.org/packages/source/p/python-tdbus/%{name}-%{version}.tar.gz
-# Source0-md5:	3e6f25707540a2d65e32f7be961d19a9
+# Source0-md5:	5452a6afe95f9a4fc62d94130abd553f
 Patch0:		%{name}-cflags.patch
-Patch1:		%{name}-format_string.patch
 URL:		https://github.com/hmvp/python-tdbus
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
 %if %{with python2}
 BuildRequires:	python-devel
-BuildRequires:	python-distribute
+BuildRequires:	python-setuptools
 BuildRequires:	python-gevent
 %endif
 %if %{with python3}
 BuildRequires:	python3-devel
-BuildRequires:	python3-distribute
+BuildRequires:	python3-setuptools
 BuildRequires:	python3-gevent
 BuildRequires:	python3-modules
 %endif
@@ -89,7 +88,6 @@ Dokumentacja API %{module}.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %if %{with python2}
diff --git a/python-tdbus-format_string.patch b/python-tdbus-format_string.patch
deleted file mode 100644
index 5abbbd4..0000000
--- a/python-tdbus-format_string.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -dur python-tdbus-0.8.orig/lib/tdbus/_tdbus.c python-tdbus-0.8/lib/tdbus/_tdbus.c
---- python-tdbus-0.8.orig/lib/tdbus/_tdbus.c	2013-06-11 22:58:46.000000000 +0200
-+++ python-tdbus-0.8/lib/tdbus/_tdbus.c	2014-02-21 15:14:57.000000000 +0100
-@@ -34,7 +34,7 @@
- 
- #define RETURN_DBUS_ERROR(err) \
-     do { \
--        if (dbus_error_is_set(&err)) RETURN_ERROR(err.message); \
-+        if (dbus_error_is_set(&err)) RETURN_ERROR("%s", err.message); \
-         else RETURN_ERROR("unknown error"); \
-     } while (0)
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-tdbus.git/commitdiff/be94f35d4f26530559b068e28b02d49082c0253c



More information about the pld-cvs-commit mailing list