[packages/aegisub] package unversioned bin as well

glen glen at pld-linux.org
Sun Aug 31 20:28:08 CEST 2014


commit 9006741b3f92165193122ad57c754524798f9927
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 31 21:28:06 2014 +0300

    package unversioned bin as well

 aegisub.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/aegisub.spec b/aegisub.spec
index a4f51ee..ad8b2ce 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -71,6 +71,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+ln -s %{name}-3.2 $RPM_BUILD_ROOT%{_bindir}/%{name}
+
 %find_lang %{name}-32
 
 %clean
@@ -79,7 +81,8 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}-32.lang
 %defattr(644,root,root,755)
 %doc LICENCE
-%attr(755,root,root) %{_bindir}/aegisub-3.2
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}-3.2
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_iconsdir}/hicolor/*/apps/%{name}.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aegisub.git/commitdiff/9006741b3f92165193122ad57c754524798f9927



More information about the pld-cvs-commit mailing list