Commit f540cbdc44be3bb0d11cbb02c1a09cdc6388ffc0

Authored by Perry Werneck
1 parent fb8ca8ad
Exists in master and in 1 other branch develop

Updating rpm package.

Showing 1 changed file with 7 additions and 8 deletions   Show diff stats
rpm/pw3270-plugin-hllapi.spec
@@ -21,12 +21,6 @@ @@ -21,12 +21,6 @@
21 %define MAJOR_VERSION 5 21 %define MAJOR_VERSION 5
22 %define MINOR_VERSION 2 22 %define MINOR_VERSION 2
23 23
24 -#---[ Macros ]--------------------------------------------------------------------------------------------------------  
25 -  
26 -%if ! %{defined _release}  
27 - %define _release suse%{suse_version}  
28 -%endif  
29 -  
30 #---[ Main package ]-------------------------------------------------------------------------------------------------- 24 #---[ Main package ]--------------------------------------------------------------------------------------------------
31 25
32 Summary: HLLAPI plugin and client library for pw3270 26 Summary: HLLAPI plugin and client library for pw3270
@@ -41,8 +35,9 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ @@ -41,8 +35,9 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/
41 Group: System/X11/Terminals 35 Group: System/X11/Terminals
42 BuildRoot: /var/tmp/%{name}-%{version} 36 BuildRoot: /var/tmp/%{name}-%{version}
43 37
44 -BuildRequires: libv3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel  
45 -BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel 38 +
  39 +BuildRequires: lib3270-devel >= 5.2
  40 +BuildRequires: libv3270-devel >= 5.2
46 BuildRequires: pw3270-devel >= 5.2 41 BuildRequires: pw3270-devel >= 5.2
47 BuildRequires: autoconf >= 2.61 42 BuildRequires: autoconf >= 2.61
48 BuildRequires: automake 43 BuildRequires: automake
@@ -99,6 +94,10 @@ make \ @@ -99,6 +94,10 @@ make \
99 94
100 %{_libdir}/pw3270-plugins/*.so 95 %{_libdir}/pw3270-plugins/*.so
101 96
  97 +%{_libdir}/libhllapi.so
  98 +%{_libdir}/libhllapi.so.%{MAJOR_VERSION}
  99 +%{_libdir}/libhllapi.so.%{MAJOR_VERSION}.%{MINOR_VERSION}
  100 +
102 %pre 101 %pre
103 /sbin/ldconfig 102 /sbin/ldconfig
104 exit 0 103 exit 0