[packages/freetype] - rel 2; provide compat symlink, so we don't have to patch every package out there

arekm arekm at pld-linux.org
Mon Dec 16 15:51:09 CET 2013


commit f721f57414d3fad516af88eda4fa536e4996a910
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Dec 16 15:51:06 2013 +0100

    - rel 2; provide compat symlink, so we don't have to patch every package out there

 freetype.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/freetype.spec b/freetype.spec
index 12e4ced..e721408 100644
--- a/freetype.spec
+++ b/freetype.spec
@@ -13,7 +13,7 @@ Summary(ru.UTF-8):	Растеризатор шрифтов TrueType
 Summary(uk.UTF-8):	Растеризатор шрифтів TrueType
 Name:		freetype
 Version:	2.5.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2 or FTL
 Group:		Libraries
@@ -226,6 +226,8 @@ install -d $RPM_BUILD_ROOT%{_bindir}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+ln -s . $RPM_BUILD_ROOT%{_includedir}/freetype2/freetype
+
 %if %{with x11}
 install -p ft2demos-*/bin/.libs/ft* $RPM_BUILD_ROOT%{_bindir}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freetype.git/commitdiff/f721f57414d3fad516af88eda4fa536e4996a910



More information about the pld-cvs-commit mailing list