Commit 2eaf57530920239317f2b2b1aab45a7b0d90aa87
1 parent
035458fd
Exists in
master
and in
1 other branch
Updating rpm package.
Showing
1 changed file
with
15 additions
and
1 deletions
Show diff stats
rpm/libv3270.spec
... | ... | @@ -51,7 +51,6 @@ BuildRoot: /var/tmp/%{name}-%{version} |
51 | 51 | Provides: libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION} |
52 | 52 | Conflicts: otherproviders(libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) |
53 | 53 | |
54 | -BuildRequires: pkgconfig(gtk+-3.0) | |
55 | 54 | BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel |
56 | 55 | BuildRequires: autoconf >= 2.61 |
57 | 56 | BuildRequires: automake |
... | ... | @@ -60,7 +59,22 @@ BuildRequires: coreutils |
60 | 59 | BuildRequires: gcc-c++ |
61 | 60 | BuildRequires: gettext-devel |
62 | 61 | BuildRequires: m4 |
62 | + | |
63 | +%if 0%{?fedora} || 0%{?suse_version} > 1200 | |
64 | + | |
65 | +BuildRequires: pkgconfig(openssl) | |
66 | +BuildRequires: pkgconfig(gtk+-3.0) | |
67 | + | |
68 | +%else | |
69 | + | |
70 | +BuildRequires: openssl-devel | |
71 | +BuildRequires: gtk3-devel | |
72 | + | |
73 | +%endif | |
74 | + | |
75 | +%if %{undefined fedora} && %{undefined rhel_version} | |
63 | 76 | BuildRequires: libgladeui-2-6 |
77 | +%endif | |
64 | 78 | |
65 | 79 | %description |
66 | 80 | ... | ... |