From f540cbdc44be3bb0d11cbb02c1a09cdc6388ffc0 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 7 Jun 2019 16:22:31 -0300 Subject: [PATCH] Updating rpm package. --- rpm/pw3270-plugin-hllapi.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/rpm/pw3270-plugin-hllapi.spec b/rpm/pw3270-plugin-hllapi.spec index 2732bc1..44859cf 100644 --- a/rpm/pw3270-plugin-hllapi.spec +++ b/rpm/pw3270-plugin-hllapi.spec @@ -21,12 +21,6 @@ %define MAJOR_VERSION 5 %define MINOR_VERSION 2 -#---[ Macros ]-------------------------------------------------------------------------------------------------------- - -%if ! %{defined _release} - %define _release suse%{suse_version} -%endif - #---[ Main package ]-------------------------------------------------------------------------------------------------- Summary: HLLAPI plugin and client library for pw3270 @@ -41,8 +35,9 @@ Url: https://portal.softwarepublico.gov.br/social/pw3270/ Group: System/X11/Terminals BuildRoot: /var/tmp/%{name}-%{version} -BuildRequires: libv3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel -BuildRequires: lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION}-devel + +BuildRequires: lib3270-devel >= 5.2 +BuildRequires: libv3270-devel >= 5.2 BuildRequires: pw3270-devel >= 5.2 BuildRequires: autoconf >= 2.61 BuildRequires: automake @@ -99,6 +94,10 @@ make \ %{_libdir}/pw3270-plugins/*.so +%{_libdir}/libhllapi.so +%{_libdir}/libhllapi.so.%{MAJOR_VERSION} +%{_libdir}/libhllapi.so.%{MAJOR_VERSION}.%{MINOR_VERSION} + %pre /sbin/ldconfig exit 0 -- libgit2 0.21.2