Commit 25bad2abf63db36b1f251ad21c7a2e87dc51b9a1

Authored by Perry Werneck
1 parent 7f7cc812
Exists in master

Ajustes para empacotamento.

Showing 2 changed files with 4 additions and 2 deletions   Show diff stats
rpm/python-pw3270.spec
@@ -27,6 +27,7 @@ BuildRequires: pkgconfig(python) @@ -27,6 +27,7 @@ BuildRequires: pkgconfig(python)
27 27
28 Requires: python 28 Requires: python
29 Requires: lib3270 >= 5.1 29 Requires: lib3270 >= 5.1
  30 +Requires: dbus-1
30 31
31 %description 32 %description
32 33
@@ -143,8 +143,9 @@ PyMODINIT_FUNC initpy3270(void) { @@ -143,8 +143,9 @@ PyMODINIT_FUNC initpy3270(void) {
143 143
144 PyObject *m = Py_InitModule("py3270", MyMethods); 144 PyObject *m = Py_InitModule("py3270", MyMethods);
145 145
146 - if (m == NULL)  
147 - return; 146 + if (m == NULL) {
  147 + return;
  148 + }
148 149
149 // Adiciona objeto para tratamento de erros. 150 // Adiciona objeto para tratamento de erros.
150 terminalError = PyErr_NewException((char *) "py3270.error", NULL, NULL); 151 terminalError = PyErr_NewException((char *) "py3270.error", NULL, NULL);