209 |
rm -f %{buildroot}%{_datadir}/emacs/%{version}/etc/{emacstool.1,emacs.1,ctags.1,etags.1,sex.6} |
rm -f %{buildroot}%{_datadir}/emacs/%{version}/etc/{emacstool.1,emacs.1,ctags.1,etags.1,sex.6} |
210 |
|
|
211 |
# rename ctags to gctags |
# rename ctags to gctags |
212 |
mv %{buildroot}%{_mandir}/man1/ctags.1 %{buildroot}%{_mandir}/man1/gctags.1 |
mv %{buildroot}%{_mandir}/man1/ctags.1.gz %{buildroot}%{_mandir}/man1/gctags.1.gz |
213 |
mv %{buildroot}%{_bindir}/ctags %{buildroot}%{_bindir}/gctags |
mv %{buildroot}%{_bindir}/ctags %{buildroot}%{_bindir}/gctags |
214 |
|
|
215 |
# is that needed? |
# is that needed? |
266 |
|
|
267 |
|
|
268 |
%define info_files ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc eshell eudc flymake forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar tramp url vip viper widget woman |
%define info_files ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc eshell eudc flymake forms gnus idlwave info mairix-el message mh-e newsticker nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar tramp url vip viper widget woman |
269 |
have_info_files=$(echo $(ls %{buildroot}%{_infodir} | egrep -v -- '-[0-9]+$' | sort)) |
have_info_files=$(echo $(ls %{buildroot}%{_infodir} | egrep -v -- '-[0-9]+$' | sed -e 's/\.gz$//' | sort)) |
270 |
|
|
271 |
[ "$have_info_files" = "%info_files" ] || { |
[ "$have_info_files" = "%info_files" ] || { |
272 |
echo "you must modify the spec file, %%info_files should be: $have_info_files" |
echo "you must modify the spec file, %%info_files should be: $have_info_files" |