Commit a042acf3ead4cc64e9f7adfca34e0bb7a2f43825
1 parent
516bb409
Exists in
master
Acertando dependências para garantir que a API sempre peça o pacote correto.
Showing
1 changed file
with
23 additions
and
2 deletions
Show diff stats
rpm/pw3270-sharp.spec
1 | +# | |
2 | +# spec file for package pw3270-sharp | |
3 | +# | |
4 | +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | |
5 | +# Copyright (C) <2008> <Banco do Brasil S.A.> | |
6 | +# | |
7 | +# All modifications and additions to the file contributed by third parties | |
8 | +# remain the property of their copyright owners, unless otherwise agreed | |
9 | +# upon. The license for this file, and modifications and additions to the | |
10 | +# file, is the same license as for the pristine package itself (unless the | |
11 | +# license for the pristine package is not an Open Source License, in which | |
12 | +# case the license is the MIT License). An "Open Source License" is a | |
13 | +# license that conforms to the Open Source Definition (Version 1.9) | |
14 | +# published by the Open Source Initiative. | |
15 | + | |
16 | +# Please submit bugfixes or comments via http://bugs.opensuse.org/ | |
17 | +# | |
18 | + | |
19 | +%define vrslib %(pkg-config --modversion lib3270) | |
20 | + | |
1 | 21 | Summary: C-Sharp API for pw3270/lib3270 |
2 | 22 | Name: pw3270-sharp |
3 | 23 | Version: 1.0 |
... | ... | @@ -18,10 +38,11 @@ BuildRequires: gcc-c++ |
18 | 38 | BuildRequires: m4 |
19 | 39 | BuildRequires: pkgconfig |
20 | 40 | BuildRequires: fdupes |
21 | -BuildRequires: pw3270-devel >= 5.1 | |
41 | +BuildRequires: pkgconfig(pw3270) | |
42 | +BuildRequires: pkgconfig(lib3270) | |
22 | 43 | BuildRequires: gettext-devel |
23 | 44 | |
24 | -Requires: lib3270 >= 5.1 | |
45 | +Requires: lib3270 = %{vrslib} | |
25 | 46 | |
26 | 47 | %description |
27 | 48 | ... | ... |