From 989a7db30a8f2b2aff7c541e279add89119c3aed Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 31 Oct 2019 13:45:14 -0300 Subject: [PATCH] Updating package control file. --- rpm/libv3270.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/rpm/libv3270.spec b/rpm/libv3270.spec index 632b915..99e9c58 100644 --- a/rpm/libv3270.spec +++ b/rpm/libv3270.spec @@ -23,6 +23,7 @@ Name: libv3270 Version: 5.2 Release: 0 License: LGPL-3.0 + Source: libv3270-%{version}.tar.xz URL: https://github.com/PerryWerneck/libv3270 @@ -38,12 +39,12 @@ BuildRequires: m4 %if 0%{?fedora} || 0%{?suse_version} > 1200 -BuildRequires: pkgconfig(lib3270) +BuildRequires: pkgconfig(lib3270) >= 5.2 BuildRequires: pkgconfig(gtk+-3.0) %else -BuildRequires: lib3270-devel +BuildRequires: lib3270-devel >= 5.2 BuildRequires: gtk3-devel %endif @@ -83,7 +84,14 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ Summary: Header files for the 3270 Virtual Terminal library Group: Development/Libraries/C and C++ -Requires: %{name}-%{_libvrs} = %{version} + +%if 0%{?fedora} || 0%{?suse_version} > 1200 +Requires: pkgconfig(lib3270) >= 5.2 +Requires: pkgconfig(gtk+-3.0) +%else +Requires: lib3270-devel >= 5.2 +Requires: gtk3-devel +%endif %description devel GTK development files for the 3270 Virtual Terminal. -- libgit2 0.21.2