Commit 1c6fc30d12dfff7da6cc55e0a4eea23ef301cf28

Authored by Perry Werneck
1 parent a4fd6446

Fixing SLE12-SP1 packaging problem.

Showing 1 changed file with 8 additions and 1 deletions   Show diff stats
rpm/lib3270.spec
... ... @@ -136,7 +136,14 @@ rm -rf $RPM_BUILD_ROOT
136 136  
137 137 %files
138 138 %defattr(-,root,root)
139   -%doc AUTHORS LICENSE README.md
  139 +
  140 +# https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macros
  141 +%if 0%{?sle_version} > 120200
  142 +%doc AUTHORS README.md
  143 +%license LICENSE
  144 +%else
  145 +%doc AUTHORS README.md LICENSE
  146 +%endif
140 147  
141 148 %dir %{_datadir}/pw3270
142 149  
... ...