Commit 4f5db0e5e8fa077c8d2a9cc1cface930fbdc437f
1 parent
07fe2293
Exists in
master
and in
5 other branches
Alterando spec para usar a gtk2 em versões mais antigas do opensuse
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
pw3270.spec.in
... | ... | @@ -31,10 +31,14 @@ |
31 | 31 | |
32 | 32 | %define _rel 0 |
33 | 33 | %define _distro Linux |
34 | +%define _vrsgtk gtk3 | |
34 | 35 | |
35 | 36 | %if 0%{?suse_version} |
36 | 37 | %define _release %{_rel}.suse%{suse_version} |
37 | 38 | %define _distro SuSE Linux %{suse_version} |
39 | + %if %{?suse_version} < 1200 | |
40 | + %define _vrsgtk gtk2 | |
41 | + %endif | |
38 | 42 | %endif |
39 | 43 | |
40 | 44 | %if 0%{?fedora_version} |
... | ... | @@ -62,7 +66,7 @@ Source: %{name}-%{version}.tar.gz |
62 | 66 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
63 | 67 | Requires: openssl shared-mime-info |
64 | 68 | Distribution: %_distro |
65 | -BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk@GTK_VERSION@-devel gettext-devel libopenssl-devel findutils coreutils rsvg-view desktop-file-utils | |
69 | +BuildRequires: autoconf automake gcc-c++ sed pkgconfig %{_vrsgtk}-devel gettext-devel libopenssl-devel findutils coreutils rsvg-view desktop-file-utils | |
66 | 70 | |
67 | 71 | %description |
68 | 72 | IBM 3270 terminal emulator gtk. It can be used to communicate with | ... | ... |