[packages/gcc] - rel 2; normalize path in libjawt.la
arekm
arekm at pld-linux.org
Sat Dec 5 18:34:35 CET 2015
commit 246a4188c3cc92aecf348c328fd7ec365cc91f22
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Dec 5 18:34:30 2015 +0100
- rel 2; normalize path in libjawt.la
gcc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gcc.spec b/gcc.spec
index fcd87c2..fa380f0 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -122,7 +122,7 @@ Summary(pl.UTF-8): Kolekcja kompilatorów GNU: kompilator C i pliki współdziel
Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
Name: gcc
Version: %{major_ver}.%{minor_ver}
-Release: 1
+Release: 2
Epoch: 6
License: GPL v3+
Group: Development/Languages
@@ -3162,6 +3162,9 @@ do
file="$RPM_BUILD_ROOT%{_libdir}/$f"
%{__perl} %{SOURCE1} "$file" %{_libdir} >"${file}.fixed"
%{__mv} "${file}.fixed" "$file"
+
+ # normalize /lib/../lib/ path (libjawt.la)
+ sed -i -e 's#/%{_lib}/\.\./%{_lib}/#/%{_lib}/#g' "$file"
done
%if %{with multilib}
for f in libitm.la libssp.la libssp_nonshared.la \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/246a4188c3cc92aecf348c328fd7ec365cc91f22
More information about the pld-cvs-commit
mailing list