Commit a18f506dea9057e1aa7052c82c747b78725eb8b1
1 parent
9ce5d5ae
Exists in
master
and in
5 other branches
Corrigindo problemas encontrados pelo suse build service
Showing
3 changed files
with
8 additions
and
6 deletions
Show diff stats
pw3270.spec.in
| @@ -60,9 +60,9 @@ Release: %_release | @@ -60,9 +60,9 @@ Release: %_release | ||
| 60 | Summary: IBM 3270 Terminal emulator for gtk. | 60 | Summary: IBM 3270 Terminal emulator for gtk. |
| 61 | Source: %{name}-%{version}.tar.gz | 61 | Source: %{name}-%{version}.tar.gz |
| 62 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | 62 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
| 63 | -Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@ | 63 | +Requires: openssl shared-mime-info libgnome libgnomeui |
| 64 | Distribution: %_distro | 64 | Distribution: %_distro |
| 65 | -BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel libopenssl-devel | 65 | +BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel libopenssl-devel findutils |
| 66 | 66 | ||
| 67 | %description | 67 | %description |
| 68 | IBM 3270 terminal emulator gtk. It can be used to communicate with | 68 | IBM 3270 terminal emulator gtk. It can be used to communicate with |
| @@ -76,9 +76,10 @@ SVN sources from: @PACKAGE_SOURCE@ | @@ -76,9 +76,10 @@ SVN sources from: @PACKAGE_SOURCE@ | ||
| 76 | %prep | 76 | %prep |
| 77 | 77 | ||
| 78 | %setup -q -n %{name}-%{version} | 78 | %setup -q -n %{name}-%{version} |
| 79 | +find . -exec touch {} \; | ||
| 79 | aclocal | 80 | aclocal |
| 80 | autoconf | 81 | autoconf |
| 81 | -%configure | 82 | +./configure --prefix=%{_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} |
| 82 | 83 | ||
| 83 | %build | 84 | %build |
| 84 | make clean | 85 | make clean |
| @@ -87,7 +88,7 @@ make Release | @@ -87,7 +88,7 @@ make Release | ||
| 87 | %install | 88 | %install |
| 88 | rm -rf $RPM_BUILD_ROOT | 89 | rm -rf $RPM_BUILD_ROOT |
| 89 | cd %{_builddir}/%{name}-%{version} | 90 | cd %{_builddir}/%{name}-%{version} |
| 90 | -make DESTDIR=$RPM_BUILD_ROOT install | 91 | +%makeinstall |
| 91 | 92 | ||
| 92 | %clean | 93 | %clean |
| 93 | rm -rf $RPM_BUILD_ROOT | 94 | rm -rf $RPM_BUILD_ROOT |
src/include/lib3270.h
| @@ -227,7 +227,8 @@ | @@ -227,7 +227,8 @@ | ||
| 227 | #define LIB3270_EXPORT __attribute__((visibility("default"))) extern | 227 | #define LIB3270_EXPORT __attribute__((visibility("default"))) extern |
| 228 | 228 | ||
| 229 | #else | 229 | #else |
| 230 | - #define LIB3270_EXPORT | 230 | + |
| 231 | + #error Unable to set visibility attribute | ||
| 231 | 232 | ||
| 232 | #endif | 233 | #endif |
| 233 | 234 |
src/include/lib3270/config.h.in
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | * programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple | 18 | * programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple |
| 19 | * Place, Suite 330, Boston, MA, 02111-1307, USA | 19 | * Place, Suite 330, Boston, MA, 02111-1307, USA |
| 20 | * | 20 | * |
| 21 | - * Este programa está nomeado como @@FILENAME@@ e possui @@LINES@@ linhas de código. | 21 | + * Este programa está nomeado como config.h e possui - linhas de código. |
| 22 | * | 22 | * |
| 23 | * Contatos: | 23 | * Contatos: |
| 24 | * | 24 | * |