From 25bad2abf63db36b1f251ad21c7a2e87dc51b9a1 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 17 Jan 2017 11:14:58 -0200 Subject: [PATCH] Ajustes para empacotamento. --- rpm/python-pw3270.spec | 1 + src/py3270.cc | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rpm/python-pw3270.spec b/rpm/python-pw3270.spec index a113d38..0e839bc 100644 --- a/rpm/python-pw3270.spec +++ b/rpm/python-pw3270.spec @@ -27,6 +27,7 @@ BuildRequires: pkgconfig(python) Requires: python Requires: lib3270 >= 5.1 +Requires: dbus-1 %description diff --git a/src/py3270.cc b/src/py3270.cc index 7347da8..1df732d 100644 --- a/src/py3270.cc +++ b/src/py3270.cc @@ -143,8 +143,9 @@ PyMODINIT_FUNC initpy3270(void) { PyObject *m = Py_InitModule("py3270", MyMethods); - if (m == NULL) - return; + if (m == NULL) { + return; + } // Adiciona objeto para tratamento de erros. terminalError = PyErr_NewException((char *) "py3270.error", NULL, NULL); -- libgit2 0.21.2