Accepting request 357779 from home:behrisch:branches:Application:Geo
fixes PACKAGE_NAME redefinition warnings for all packages using gdal/port/cpl_config.h (included by gdal_priv.h). OBS-URL: https://build.opensuse.org/request/show/357779 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=25
This commit is contained in:
parent
3e8794bd42
commit
2c28d9dc98
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 18:55:25 UTC 2016 - behrisch@users.sourceforge.net
|
||||
|
||||
- Fixing PACKAGE_* redefines in cpl_config.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 31 16:55:00 UTC 2016 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||
|
||||
|
@ -284,6 +284,9 @@ rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/*/.packlist
|
||||
rm -rf %{buildroot}%{perl_vendorarch}/auto/Geo/GDAL/Const/.packlist
|
||||
rm -rf %{buildroot}%{_bindir}/*.dox
|
||||
|
||||
# avoid PACKAGE redefines
|
||||
sed -i 's,\(#define PACKAGE_.*\),/* \1 */,' %{buildroot}%{_includedir}/gdal/cpl_config.h
|
||||
|
||||
%post -n lib%{name}1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}1 -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user