[packages/librecad] fixed plugins symlink path

gotar gotar at pld-linux.org
Sat Mar 9 13:59:41 CET 2013


commit 568f77f57788be8bd7d3ae1de875bd0e26cfa6dd
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Sat Mar 9 13:59:30 2013 +0100

    fixed plugins symlink path

 librecad.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/librecad.spec b/librecad.spec
index f311b26..89e65df 100644
--- a/librecad.spec
+++ b/librecad.spec
@@ -42,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_datadir}/{mime/packages,%{name}},%{_libdir},%{_mandir}/man1,%{_pixmapsdir}}
 
 install unix/{%{name},ttf2lff} $RPM_BUILD_ROOT%{_bindir}
-ln -s ../..%{_libdir}/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
+ln -s %{_libdir}/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
 cp -r unix/resources/plugins $RPM_BUILD_ROOT%{_libdir}/%{name}
 cp -r unix/resources/{doc,qm} $RPM_BUILD_ROOT%{_datadir}/%{name}
 cp -a librecad/support/{fonts,library,patterns} $RPM_BUILD_ROOT%{_datadir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librecad.git/commitdiff/568f77f57788be8bd7d3ae1de875bd0e26cfa6dd



More information about the pld-cvs-commit mailing list