Accepting request 593799 from home:bruno_friedmann:branches:Application:Geo

- Fix boo#1088014 by adding missing LICENSE in lib and main package 
  Remove misplaced LICENSE.txt in /usr/share/gdal

OBS-URL: https://build.opensuse.org/request/show/593799
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=58
This commit is contained in:
Martin Pluskal 2018-04-06 06:50:35 +00:00 committed by Git OBS Bridge
parent 551a33915c
commit ffc5ccf679
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 5 14:51:21 UTC 2018 - bruno@ioda-net.ch
- Fix boo#1088014 by adding missing LICENSE in lib and main package
Remove misplaced LICENSE.txt in /usr/share/gdal
-------------------------------------------------------------------
Thu Mar 22 06:15:25 UTC 2018 - bruno@ioda-net.ch

View File

@ -294,6 +294,8 @@ rm -rf %{buildroot}%{perl_archlib}/perllocal.pod
rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/*/.packlist
rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist
rm -rf %{buildroot}%{_bindir}/*.dox
# License doesn't go there
rm -f %{buildroot}%{_datadir}/gdal/LICENSE.TXT
# avoid PACKAGE redefines
sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_config.h
@ -303,11 +305,13 @@ sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_
%files -n lib%{name}%{soversion}
%defattr(644,root,root,755)
%license LICENSE.TXT
%{_libdir}/*.so.%{soversion}.*
%{_libdir}/*.so.%{soversion}
%files
%defattr(644,root,root,755)
%license LICENSE.TXT
%doc NEWS PROVENANCE.TXT
%defattr(755,root,root,755)
%{_bindir}/epsg_tr.py