SPECS: mercurial.spec - put hgk in default search path

arekm arekm at pld-linux.org
Tue Jan 31 00:19:31 CET 2006


Author: arekm                        Date: Mon Jan 30 23:19:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- put hgk in default search path

---- Files affected:
SPECS:
   mercurial.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/mercurial.spec
diff -u SPECS/mercurial.spec:1.5 SPECS/mercurial.spec:1.6
--- SPECS/mercurial.spec:1.5	Tue Jan 31 00:10:11 2006
+++ SPECS/mercurial.spec	Tue Jan 31 00:19:25 2006
@@ -53,7 +53,11 @@
 
 %description hgk
 A tool called that allows browsing the history of a repository in a
-GUI
+GUI.
+
+To enable it add to .hgrc file:
+[extensions]
+hgk=
 
 %prep
 %setup -q
@@ -69,8 +73,9 @@
         --root=$RPM_BUILD_ROOT
 
 install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
-install contrib/hgk.py $RPM_BUILD_ROOT%{py_sitedir}/mercurial
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/mercurial
+install contrib/hgk.py $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -83,13 +88,12 @@
 %dir %{py_sitedir}/%{name}
 %attr(755,root,root) %{py_sitedir}/%{name}/*.so
 %{py_sitedir}/%{name}/*.py[co]
-%exclude %{py_sitedir}/%{name}/hgk.py*
 %{py_sitedir}/%{name}/templates
 
 %files hgk
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/hgk
-%{py_sitedir}/%{name}/hgk.py[co]
+%{py_sitedir}/hgk.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -97,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/01/30 23:19:25  arekm
+- put hgk in default search path
+
 Revision 1.5  2006/01/30 23:10:11  arekm
 - add GUI subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mercurial.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list