Commit 989a7db30a8f2b2aff7c541e279add89119c3aed
1 parent
66ac380e
Exists in
master
and in
1 other branch
Updating package control file.
Showing
1 changed file
with
11 additions
and
3 deletions
Show diff stats
rpm/libv3270.spec
| ... | ... | @@ -23,6 +23,7 @@ Name: libv3270 |
| 23 | 23 | Version: 5.2 |
| 24 | 24 | Release: 0 |
| 25 | 25 | License: LGPL-3.0 |
| 26 | + | |
| 26 | 27 | Source: libv3270-%{version}.tar.xz |
| 27 | 28 | |
| 28 | 29 | URL: https://github.com/PerryWerneck/libv3270 |
| ... | ... | @@ -38,12 +39,12 @@ BuildRequires: m4 |
| 38 | 39 | |
| 39 | 40 | %if 0%{?fedora} || 0%{?suse_version} > 1200 |
| 40 | 41 | |
| 41 | -BuildRequires: pkgconfig(lib3270) | |
| 42 | +BuildRequires: pkgconfig(lib3270) >= 5.2 | |
| 42 | 43 | BuildRequires: pkgconfig(gtk+-3.0) |
| 43 | 44 | |
| 44 | 45 | %else |
| 45 | 46 | |
| 46 | -BuildRequires: lib3270-devel | |
| 47 | +BuildRequires: lib3270-devel >= 5.2 | |
| 47 | 48 | BuildRequires: gtk3-devel |
| 48 | 49 | |
| 49 | 50 | %endif |
| ... | ... | @@ -83,7 +84,14 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ |
| 83 | 84 | |
| 84 | 85 | Summary: Header files for the 3270 Virtual Terminal library |
| 85 | 86 | Group: Development/Libraries/C and C++ |
| 86 | -Requires: %{name}-%{_libvrs} = %{version} | |
| 87 | + | |
| 88 | +%if 0%{?fedora} || 0%{?suse_version} > 1200 | |
| 89 | +Requires: pkgconfig(lib3270) >= 5.2 | |
| 90 | +Requires: pkgconfig(gtk+-3.0) | |
| 91 | +%else | |
| 92 | +Requires: lib3270-devel >= 5.2 | |
| 93 | +Requires: gtk3-devel | |
| 94 | +%endif | |
| 87 | 95 | |
| 88 | 96 | %description devel |
| 89 | 97 | GTK development files for the 3270 Virtual Terminal. | ... | ... |