Commit 9ce5d5ae2dc81147de6bd7a7d86bf4789c784d53

Authored by perry.werneck@gmail.com
1 parent 83927c41

Corrigindo problemas detectados pelo openSUSE Build Service

pw3270.spec.in
... ... @@ -62,7 +62,7 @@ Source: %{name}-%{version}.tar.gz
62 62 BuildRoot: %{_tmppath}/%{name}-%{version}-build
63 63 Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@
64 64 Distribution: %_distro
65   -BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel
  65 +BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel libopenssl-devel
66 66  
67 67 %description
68 68 IBM 3270 terminal emulator gtk. It can be used to communicate with
... ... @@ -80,6 +80,10 @@ aclocal
80 80 autoconf
81 81 %configure
82 82  
  83 +%build
  84 +make clean
  85 +make Release
  86 +
83 87 %install
84 88 rm -rf $RPM_BUILD_ROOT
85 89 cd %{_builddir}/%{name}-%{version}
... ...
src/gtk/Makefile.in
... ... @@ -77,7 +77,8 @@ $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURC
77 77  
78 78 @echo $@ ...
79 79 @$(MKDIR) `dirname $@`
80   - @$(LD) -Wl,--rpath,.bin/Debug/lib -o $@ $^ $(LIBS) $(LIB3270_LIBS)
  80 + ls -l ../../.bin/Release/lib
  81 + $(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS)
81 82  
82 83 #---[ Debug targets ]----------------------------------------------------------
83 84  
... ...
src/lib3270/api.h
... ... @@ -164,8 +164,6 @@
164 164  
165 165 struct lib3270_state_callback;
166 166  
167   - typedef struct _h3270 H3270;
168   -
169 167 #include <lib3270/session.h>
170 168  
171 169 struct lib3270_state_callback
... ...