From ad0ccf2117fc53325efb91736c54f7d9aed1467e Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 4 Nov 2019 14:53:08 -0300 Subject: [PATCH] Fixing package. --- rpm/libv3270.spec | 10 ++-------- sdk/libv3270.pc.in | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/rpm/libv3270.spec b/rpm/libv3270.spec index fc192b4..8ca8dbb 100644 --- a/rpm/libv3270.spec +++ b/rpm/libv3270.spec @@ -85,14 +85,6 @@ 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++ -%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 - Requires: %{name}-%{_libvrs} = %{version} %description devel @@ -102,7 +94,9 @@ GTK development files for the 3270 Virtual Terminal. Summary: Glade catalog for the TN3270 terminal emulator library Group: Development/Libraries/C and C++ + Requires: glade +Requires: %{name}-%{_libvrs} = %{version} %description -n glade-catalog-v3270 This package provides a catalog for Glade to allow the use of V3270 diff --git a/sdk/libv3270.pc.in b/sdk/libv3270.pc.in index a00ef38..425348b 100644 --- a/sdk/libv3270.pc.in +++ b/sdk/libv3270.pc.in @@ -9,7 +9,7 @@ version_minor=@PACKAGE_MINOR_VERSION@ Name: @PACKAGE_NAME@ Description: @PACKAGE_DESCRIPTION@ Version: @PACKAGE_VERSION@ -Requires: lib3270 +Requires: lib3270 gtk+-3.0 Libs: -lv3270 Libs.private: @LIBS@ @GTK_LIBS@ @GLIB_LIBS@ @LIBICONV@ @INTL_LIBS@ @LIB3270_LIBS@ Cflags: -- libgit2 0.21.2