[packages/libutf8proc] - rel 3; fix includedir path in pc file

arekm arekm at pld-linux.org
Sat Apr 14 17:33:39 CEST 2018


commit 1f8d3063177cf37a9e667b67399788ea1dc044f0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Apr 14 17:33:31 2018 +0200

    - rel 3; fix includedir path in pc file

 libutf8proc.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libutf8proc.spec b/libutf8proc.spec
index e4d0326..74e6ff6 100644
--- a/libutf8proc.spec
+++ b/libutf8proc.spec
@@ -6,7 +6,7 @@ Summary:	utf8proc library for NetSurf
 Summary(pl.UTF-8):	Biblioteka utf8proc dla projektu NetSurf
 Name:		libutf8proc
 Version:	1.3.1
-Release:	2
+Release:	3
 License:	MIT
 Group:		Libraries
 Source0:	http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-3-src.tar.gz
@@ -115,6 +115,8 @@ export LDFLAGS="%{rpmldflags}"
 	DESTDIR=$RPM_BUILD_ROOT
 %endif
 
+sed -i -e 's#includedir=.*#includedir=${prefix}/include/%{name}#g' $RPM_BUILD_ROOT%{_pkgconfigdir}/libutf8proc.pc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libutf8proc.git/commitdiff/1f8d3063177cf37a9e667b67399788ea1dc044f0



More information about the pld-cvs-commit mailing list