[packages/atom] just use symlink to atom bin

glen glen at pld-linux.org
Sat Nov 28 18:58:55 CET 2015


commit 3ce4e92b2b8046bfd2cfa1ae5284c77714850ce7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Nov 28 19:58:50 2015 +0200

    just use symlink to atom bin

 atom.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/atom.spec b/atom.spec
index c6ccab6..0360169 100644
--- a/atom.spec
+++ b/atom.spec
@@ -4,7 +4,7 @@
 Summary:	A hackable text editor for the 21st century
 Name:		atom
 Version:	1.2.4
-Release:	0.1
+Release:	0.2
 License:	MIT
 Group:		Applications/Editors
 Source0:	https://github.com/atom/atom/releases/download/v%{version}/%{name}.x86_64.rpm
@@ -49,8 +49,8 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
 
 cp -a atom/* $RPM_BUILD_ROOT%{_appdir}
 
-install -p bin/atom $RPM_BUILD_ROOT%{_bindir}
-ln -s %{_appdir}/resources/app/apm/node_modules/.bin/apm $RPM_BUILD_ROOT%{_bindir}/apm
+ln -s %{_appdir}/atom $RPM_BUILD_ROOT%{_bindir}
+ln -s %{_appdir}/resources/app/apm/bin/apm $RPM_BUILD_ROOT%{_bindir}/apm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/atom.git/commitdiff/3ce4e92b2b8046bfd2cfa1ae5284c77714850ce7



More information about the pld-cvs-commit mailing list