equal
deleted
inserted
replaced
81 export PYTHONPATH=$PWD/%{docutilsname} |
81 export PYTHONPATH=$PWD/%{docutilsname} |
82 |
82 |
83 %endif |
83 %endif |
84 |
84 |
85 make all |
85 make all |
|
86 make -C contrib/chg |
86 |
87 |
87 %install |
88 %install |
88 rm -rf $RPM_BUILD_ROOT |
89 rm -rf $RPM_BUILD_ROOT |
89 |
90 |
90 %if "%{?withpython}" |
91 %if "%{?withpython}" |
109 |
110 |
110 make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir} |
111 make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir} |
111 |
112 |
112 %endif |
113 %endif |
113 |
114 |
|
115 install -m 755 contrib/chg/chg $RPM_BUILD_ROOT%{_bindir}/ |
114 install -m 755 contrib/hgk $RPM_BUILD_ROOT%{_bindir}/ |
116 install -m 755 contrib/hgk $RPM_BUILD_ROOT%{_bindir}/ |
115 install -m 755 contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir}/ |
117 install -m 755 contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir}/ |
116 |
118 |
117 bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
119 bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
118 mkdir -p $bash_completion_dir |
120 mkdir -p $bash_completion_dir |
141 %{_datadir}/zsh/site-functions/_mercurial |
143 %{_datadir}/zsh/site-functions/_mercurial |
142 %dir %{_datadir}/emacs/site-lisp/ |
144 %dir %{_datadir}/emacs/site-lisp/ |
143 %{_datadir}/emacs/site-lisp/mercurial.el |
145 %{_datadir}/emacs/site-lisp/mercurial.el |
144 %{_datadir}/emacs/site-lisp/mq.el |
146 %{_datadir}/emacs/site-lisp/mq.el |
145 %{_bindir}/hg |
147 %{_bindir}/hg |
|
148 %{_bindir}/chg |
146 %{_bindir}/hgk |
149 %{_bindir}/hgk |
147 %{_bindir}/hg-ssh |
150 %{_bindir}/hg-ssh |
148 %dir %{_sysconfdir}/bash_completion.d/ |
151 %dir %{_sysconfdir}/bash_completion.d/ |
149 %config(noreplace) %{_sysconfdir}/bash_completion.d/mercurial.sh |
152 %config(noreplace) %{_sysconfdir}/bash_completion.d/mercurial.sh |
150 %dir %{_sysconfdir}/mercurial |
153 %dir %{_sysconfdir}/mercurial |