From c361f9c6539afe8e8a0a336ed72f140b7d5f3863 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 9 Jul 2019 10:13:20 -0300 Subject: [PATCH] Updating spec. --- rpm/libv3270.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rpm/libv3270.spec b/rpm/libv3270.spec index 6a0d8bc..d2e5e85 100644 --- a/rpm/libv3270.spec +++ b/rpm/libv3270.spec @@ -23,11 +23,6 @@ %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates -%endif - #---[ Macros ]-------------------------------------------------------------------------------------------------------- %if ! %{defined _release} @@ -90,7 +85,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ %package -n libv3270-devel Summary: 3270 Virtual Terminal for GTK development files -Group: Development/Libraries/C and C++ +Group: System/Libraries Requires: %{name} = %{version} Requires: lib3270-devel @@ -144,7 +139,12 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc AUTHORS LICENSE README.md +%if 0%{?sle_version} > 120200 +%doc AUTHORS README.md +%license LICENSE +%else +%doc AUTHORS README.md LICENSE +%endif %{_libdir}/libv3270.so.%{MAJOR_VERSION} %{_libdir}/libv3270.so.%{MAJOR_VERSION}.%{MINOR_VERSION} -- libgit2 0.21.2