Commit 98a79c4df54da75e1ebe079e64efbd1eaafc5831
1 parent
552c7feb
Exists in
master
Ajustando dependência de versão.
Showing
1 changed file
with
6 additions
and
2 deletions
Show diff stats
rpm/pw3270-plugin-java.spec
| @@ -15,6 +15,9 @@ | @@ -15,6 +15,9 @@ | ||
| 15 | 15 | ||
| 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ | 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
| 17 | # | 17 | # |
| 18 | + | ||
| 19 | +%define vrslib %(pkg-config --modversion lib3270) | ||
| 20 | + | ||
| 18 | Summary: Plugin module for embedding java on pw3270. | 21 | Summary: Plugin module for embedding java on pw3270. |
| 19 | Name: pw3270-plugin-java | 22 | Name: pw3270-plugin-java |
| 20 | Version: 5.1 | 23 | Version: 5.1 |
| @@ -34,6 +37,7 @@ BuildRequires: gcc-c++ | @@ -34,6 +37,7 @@ BuildRequires: gcc-c++ | ||
| 34 | BuildRequires: m4 | 37 | BuildRequires: m4 |
| 35 | BuildRequires: pkgconfig | 38 | BuildRequires: pkgconfig |
| 36 | BuildRequires: pkgconfig(pw3270) >= 5.1 | 39 | BuildRequires: pkgconfig(pw3270) >= 5.1 |
| 40 | +BuildRequires: pkgconfig(lib3270) >= 5.1 | ||
| 37 | 41 | ||
| 38 | BuildRequires: java-devel | 42 | BuildRequires: java-devel |
| 39 | BuildRequires: javapackages-tools | 43 | BuildRequires: javapackages-tools |
| @@ -53,8 +57,8 @@ directly from pw3270 main window. | @@ -53,8 +57,8 @@ directly from pw3270 main window. | ||
| 53 | 57 | ||
| 54 | Summary: Java class to interact with pw3270 | 58 | Summary: Java class to interact with pw3270 |
| 55 | Group: Development/Libraries/Java | 59 | Group: Development/Libraries/Java |
| 56 | -Requires: lib3270 >= 5.1 | ||
| 57 | -Requires: java >= 4.2 | 60 | +Requires: java |
| 61 | +Requires: lib3270 = %{vrslib} | ||
| 58 | 62 | ||
| 59 | %description -n pw3270-java | 63 | %description -n pw3270-java |
| 60 | 64 |