]> git.pld-linux.org Git - packages/atom.git/commitdiff
just use symlink to atom bin
authorElan Ruusamäe <glen@delfi.ee>
Sat, 28 Nov 2015 17:58:50 +0000 (19:58 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 28 Nov 2015 17:58:50 +0000 (19:58 +0200)
atom.spec

index c6ccab6a359fd0f6b1b419c7abb6061497220d44..036016934b6bbd65e0392b2bf87b42743382dea8 100644 (file)
--- 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
This page took 0.122357 seconds and 4 git commands to generate.