[packages/python-gitlab] install default name
glen
glen at pld-linux.org
Sun Oct 16 19:44:41 CEST 2016
commit ef3bd57dd5efd25ce7a155244b18bbadfa87f1a3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 16 20:44:35 2016 +0300
install default name
python-gitlab.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/python-gitlab.spec b/python-gitlab.spec
index 16c063f..d8cbbdf 100644
--- a/python-gitlab.spec
+++ b/python-gitlab.spec
@@ -79,6 +79,8 @@ mv $RPM_BUILD_ROOT%{_bindir}/gitlab $RPM_BUILD_ROOT%{_bindir}/gitlab-2
mv $RPM_BUILD_ROOT%{_bindir}/gitlab $RPM_BUILD_ROOT%{_bindir}/gitlab-3
%endif
+ln -s gitlab-2 $RPM_BUILD_ROOT%{_bindir}/gitlab
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -87,6 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.rst
%attr(755,root,root) %{_bindir}/gitlab-2
+%attr(755,root,root) %{_bindir}/gitlab
%{py_sitescriptdir}/%{module}
%{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-gitlab.git/commitdiff/ef3bd57dd5efd25ce7a155244b18bbadfa87f1a3
More information about the pld-cvs-commit
mailing list