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,7 +51,6 @@ BuildRoot: /var/tmp/%{name}-%{version} | ||
51 | Provides: libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION} | 51 | Provides: libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION} |
52 | Conflicts: otherproviders(libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) | 52 | Conflicts: otherproviders(libv3270_%{MAJOR_VERSION}_%{MINOR_VERSION}) |
53 | 53 | ||
54 | -BuildRequires: pkgconfig(gtk+-3.0) | ||
55 | BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel | 54 | BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel |
56 | BuildRequires: autoconf >= 2.61 | 55 | BuildRequires: autoconf >= 2.61 |
57 | BuildRequires: automake | 56 | BuildRequires: automake |
@@ -60,7 +59,22 @@ BuildRequires: coreutils | @@ -60,7 +59,22 @@ BuildRequires: coreutils | ||
60 | BuildRequires: gcc-c++ | 59 | BuildRequires: gcc-c++ |
61 | BuildRequires: gettext-devel | 60 | BuildRequires: gettext-devel |
62 | BuildRequires: m4 | 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 | BuildRequires: libgladeui-2-6 | 76 | BuildRequires: libgladeui-2-6 |
77 | +%endif | ||
64 | 78 | ||
65 | %description | 79 | %description |
66 | 80 |