Commit ad0ccf2117fc53325efb91736c54f7d9aed1467e
1 parent
390fe77d
Exists in
master
and in
1 other branch
Fixing package.
Showing
2 changed files
with
3 additions
and
9 deletions
Show diff stats
rpm/libv3270.spec
| @@ -85,14 +85,6 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -85,14 +85,6 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
| 85 | Summary: Header files for the 3270 Virtual Terminal library | 85 | Summary: Header files for the 3270 Virtual Terminal library |
| 86 | Group: Development/Libraries/C and C++ | 86 | Group: Development/Libraries/C and C++ |
| 87 | 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 | ||
| 95 | - | ||
| 96 | Requires: %{name}-%{_libvrs} = %{version} | 88 | Requires: %{name}-%{_libvrs} = %{version} |
| 97 | 89 | ||
| 98 | %description devel | 90 | %description devel |
| @@ -102,7 +94,9 @@ GTK development files for the 3270 Virtual Terminal. | @@ -102,7 +94,9 @@ GTK development files for the 3270 Virtual Terminal. | ||
| 102 | 94 | ||
| 103 | Summary: Glade catalog for the TN3270 terminal emulator library | 95 | Summary: Glade catalog for the TN3270 terminal emulator library |
| 104 | Group: Development/Libraries/C and C++ | 96 | Group: Development/Libraries/C and C++ |
| 97 | + | ||
| 105 | Requires: glade | 98 | Requires: glade |
| 99 | +Requires: %{name}-%{_libvrs} = %{version} | ||
| 106 | 100 | ||
| 107 | %description -n glade-catalog-v3270 | 101 | %description -n glade-catalog-v3270 |
| 108 | This package provides a catalog for Glade to allow the use of V3270 | 102 | This package provides a catalog for Glade to allow the use of V3270 |
sdk/libv3270.pc.in
| @@ -9,7 +9,7 @@ version_minor=@PACKAGE_MINOR_VERSION@ | @@ -9,7 +9,7 @@ version_minor=@PACKAGE_MINOR_VERSION@ | ||
| 9 | Name: @PACKAGE_NAME@ | 9 | Name: @PACKAGE_NAME@ |
| 10 | Description: @PACKAGE_DESCRIPTION@ | 10 | Description: @PACKAGE_DESCRIPTION@ |
| 11 | Version: @PACKAGE_VERSION@ | 11 | Version: @PACKAGE_VERSION@ |
| 12 | -Requires: lib3270 | 12 | +Requires: lib3270 gtk+-3.0 |
| 13 | Libs: -lv3270 | 13 | Libs: -lv3270 |
| 14 | Libs.private: @LIBS@ @GTK_LIBS@ @GLIB_LIBS@ @LIBICONV@ @INTL_LIBS@ @LIB3270_LIBS@ | 14 | Libs.private: @LIBS@ @GTK_LIBS@ @GLIB_LIBS@ @LIBICONV@ @INTL_LIBS@ @LIB3270_LIBS@ |
| 15 | Cflags: | 15 | Cflags: |