[packages/postgis] - install postgis_config.h harder - rel 3
baggins
baggins at pld-linux.org
Sun Nov 3 23:11:12 CET 2019
commit dba6c935d949f95d17691ecf0e14950ced93a1c4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 3 23:09:37 2019 +0100
- install postgis_config.h harder
- rel 3
postgis.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/postgis.spec b/postgis.spec
index 3926f09..c333b28 100644
--- a/postgis.spec
+++ b/postgis.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/postgis.git/commitdiff/dba6c935d949f95d17691ecf0e14950ced93a1c4
More information about the pld-cvs-commit
mailing list