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 | 15 | |
16 | 16 | # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 | 17 | # |
18 | + | |
19 | +%define vrslib %(pkg-config --modversion lib3270) | |
20 | + | |
18 | 21 | Summary: Plugin module for embedding java on pw3270. |
19 | 22 | Name: pw3270-plugin-java |
20 | 23 | Version: 5.1 |
... | ... | @@ -34,6 +37,7 @@ BuildRequires: gcc-c++ |
34 | 37 | BuildRequires: m4 |
35 | 38 | BuildRequires: pkgconfig |
36 | 39 | BuildRequires: pkgconfig(pw3270) >= 5.1 |
40 | +BuildRequires: pkgconfig(lib3270) >= 5.1 | |
37 | 41 | |
38 | 42 | BuildRequires: java-devel |
39 | 43 | BuildRequires: javapackages-tools |
... | ... | @@ -53,8 +57,8 @@ directly from pw3270 main window. |
53 | 57 | |
54 | 58 | Summary: Java class to interact with pw3270 |
55 | 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 | 63 | %description -n pw3270-java |
60 | 64 | ... | ... |