Commit c361f9c6539afe8e8a0a336ed72f140b7d5f3863
1 parent
c55310d8
Exists in
master
and in
1 other branch
Updating spec.
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
rpm/libv3270.spec
@@ -23,11 +23,6 @@ | @@ -23,11 +23,6 @@ | ||
23 | 23 | ||
24 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} | 24 | %define _libvrs %{MAJOR_VERSION}_%{MINOR_VERSION} |
25 | 25 | ||
26 | -#Compat macro for new _fillupdir macro introduced in Nov 2017 | ||
27 | -%if ! %{defined _fillupdir} | ||
28 | - %define _fillupdir /var/adm/fillup-templates | ||
29 | -%endif | ||
30 | - | ||
31 | #---[ Macros ]-------------------------------------------------------------------------------------------------------- | 26 | #---[ Macros ]-------------------------------------------------------------------------------------------------------- |
32 | 27 | ||
33 | %if ! %{defined _release} | 28 | %if ! %{defined _release} |
@@ -90,7 +85,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | @@ -90,7 +85,7 @@ See more details at https://softwarepublico.gov.br/social/pw3270/ | ||
90 | %package -n libv3270-devel | 85 | %package -n libv3270-devel |
91 | 86 | ||
92 | Summary: 3270 Virtual Terminal for GTK development files | 87 | Summary: 3270 Virtual Terminal for GTK development files |
93 | -Group: Development/Libraries/C and C++ | 88 | +Group: System/Libraries |
94 | 89 | ||
95 | Requires: %{name} = %{version} | 90 | Requires: %{name} = %{version} |
96 | Requires: lib3270-devel | 91 | Requires: lib3270-devel |
@@ -144,7 +139,12 @@ rm -rf $RPM_BUILD_ROOT | @@ -144,7 +139,12 @@ rm -rf $RPM_BUILD_ROOT | ||
144 | 139 | ||
145 | %files | 140 | %files |
146 | %defattr(-,root,root) | 141 | %defattr(-,root,root) |
147 | -%doc AUTHORS LICENSE README.md | 142 | +%if 0%{?sle_version} > 120200 |
143 | +%doc AUTHORS README.md | ||
144 | +%license LICENSE | ||
145 | +%else | ||
146 | +%doc AUTHORS README.md LICENSE | ||
147 | +%endif | ||
148 | 148 | ||
149 | %{_libdir}/libv3270.so.%{MAJOR_VERSION} | 149 | %{_libdir}/libv3270.so.%{MAJOR_VERSION} |
150 | %{_libdir}/libv3270.so.%{MAJOR_VERSION}.%{MINOR_VERSION} | 150 | %{_libdir}/libv3270.so.%{MAJOR_VERSION}.%{MINOR_VERSION} |