Commit 042eb4f38020522824af331e19b94b7a63dc9362
1 parent
f10a00a3
Exists in
master
and in
5 other branches
Acertando dependências.
Showing
1 changed file
with
7 additions
and
11 deletions
Show diff stats
rpm/pw3270.spec
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | |
31 | 31 | Name: pw3270 |
32 | 32 | Version: 5.1 |
33 | -Release: 0 | |
33 | +Release: 1 | |
34 | 34 | Summary: IBM 3270 Terminal emulator for GTK |
35 | 35 | License: GPL-2.0 |
36 | 36 | Group: System/X11/Terminals |
... | ... | @@ -42,8 +42,7 @@ Source: pw3270-%{version}.tar.bz2 |
42 | 42 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
43 | 43 | |
44 | 44 | Requires: shared-mime-info |
45 | -Provides: libpw3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
46 | - | |
45 | +Provides: libpw3270-%{_libvrs} | |
47 | 46 | |
48 | 47 | #--[ Setup by distribution ]------------------------------------------------------------------------------------------ |
49 | 48 | # |
... | ... | @@ -140,8 +139,6 @@ Based on the original x3270 code, pw3270 was originally created for Banco do Bra |
140 | 139 | Summary: 3270 Communication library for %{name} |
141 | 140 | Group: Development/Libraries/C and C++ |
142 | 141 | Requires: openssl |
143 | -Provides: lib3270 = %{version} | |
144 | -Provides: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
145 | 142 | |
146 | 143 | %description -n lib3270-%{_libvrs} |
147 | 144 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
... | ... | @@ -153,18 +150,17 @@ This package contains the tn3270 protocol library for %{name} |
153 | 150 | %package -n lib3270-devel |
154 | 151 | Summary: Devel for 3270 Communication library for %{name} |
155 | 152 | Group: Development/Libraries/C and C++ |
156 | -Provides: lib3270-devel-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
157 | -Requires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
153 | +Requires: lib3270-%{_libvrs} | |
158 | 154 | |
159 | 155 | %description -n lib3270-devel |
160 | 156 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
161 | 157 | This package contains the development files for tn3270 protocol library for %{name} |
162 | 158 | |
163 | -%package -n %{name}-devel | |
159 | +%package devel | |
164 | 160 | Summary: Files required for development of %{name} plugins |
165 | 161 | Group: Development/Libraries/C and C++ |
166 | -Requires: lib3270-devel-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
167 | -Requires: libpw3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | |
162 | +Requires: pkgconfig(lib3270) = %{MAJOR_VERSION}.%{MINOR_VERSION} | |
163 | +Requires: libpw3270-%{_libvrs} | |
168 | 164 | |
169 | 165 | %description -n %{name}-devel |
170 | 166 | Open-source GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. |
... | ... | @@ -280,7 +276,7 @@ rm -rf %{buildroot} |
280 | 276 | %{_libdir}/lib3270.so |
281 | 277 | %{_datadir}/pw3270/locale |
282 | 278 | |
283 | -%files -n %{name}-devel | |
279 | +%files devel | |
284 | 280 | %defattr(-,root,root) |
285 | 281 | %{_includedir}/pw3270 |
286 | 282 | %{_includedir}/pw3270.h | ... | ... |