[packages/clion] install bin symlink

glen glen at pld-linux.org
Mon Jan 26 22:16:26 CET 2015


commit b4f57b33e0a955495fd53ae9eb9af8de0830f465
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 26 22:45:45 2015 +0200

    install bin symlink

 clion.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/clion.spec b/clion.spec
index cd4d7eb..fcfdb38 100644
--- a/clion.spec
+++ b/clion.spec
@@ -1,5 +1,5 @@
 %define		bid	140.1740.3
-%define		rel	0.3
+%define		rel	0.4
 %define		product	clion
 %include	/usr/lib/rpm/macros.java
 Summary:	C/C++ IDE
@@ -73,12 +73,14 @@ cp -l build.txt $RPM_BUILD_ROOT/cp-test && l=l && rm -f $RPM_BUILD_ROOT/cp-test
 cp -a$l bin help lib license plugins $RPM_BUILD_ROOT%{_appdir}
 ln -s %{_pixmapsdir}/%{product}.svg $RPM_BUILD_ROOT%{_appdir}/bin
 cp -p %{product}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
+ln -s %{_appdir}/bin/%{product}.sh $RPM_BUILD_ROOT%{_bindir}/%{product}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{product}
 %dir %{_appdir}
 %{_appdir}/help
 %{_appdir}/license
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clion.git/commitdiff/d113ef60a937899b5dcefca49ea549a2d8fe43a1



More information about the pld-cvs-commit mailing list