]> git.pld-linux.org Git - packages/postgis.git/commitdiff
- install postgis_config.h harder auto/th/postgis-3.0.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 22:09:37 +0000 (23:09 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Nov 2019 22:09:37 +0000 (23:09 +0100)
- rel 3

postgis.spec

index 3926f09c78caef7dd68753359d135767001cbfbe..c333b2839a474f143a82e3e62123fe3aaa7442a2 100644 (file)
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):    Rozszerzenie do PostgreSQL wspomagające Geograficzne Systemy
 Name:          postgis
 Version:       3.0.0
 %define        subver %{nil}
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         Applications/Databases
 Source0:       https://download.osgeo.org/postgis/source/%{name}-%{version}%{subver}.tar.gz
@@ -133,8 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp -p postgis_config.h $RPM_BUILD_ROOT%{_includedir}
-
+%{__sed} -e '/#include .*/d' postgis_config.h > $RPM_BUILD_ROOT%{_includedir}/postgis_config.h
 %{__sed} -i -e 's/#include.*postgis_config.*/#include "postgis_config.h"/' $RPM_BUILD_ROOT%{_includedir}/liblwgeom.h
 
 # Fix icons and desktop file locations
This page took 0.639914 seconds and 4 git commands to generate.