Accepting request 593895 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/593895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2018-04-06 15:48:37 +00:00 committed by Git OBS Bridge
commit 0f29d6647e
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