fix compile error

This commit is contained in:
yanzh_h 2020-03-17 17:16:59 +08:00
parent 2f1dfe4df1
commit f12fa3e561

View File

@ -1,6 +1,6 @@
Name: emacs-auctex
Version: 12.1
Release: 7
Release: 8
Summary: AUC TeX: An Emacs Extension
License: GPLv3+ and GFDL
URL: http://www.gnu.org/software/auctex/
@ -45,7 +45,8 @@ Help document file of the emacs-auctex package.
%autosetup -n auctex-%{version} -p1
%build
%configure --with-emacs --with-texmf-dir=%{_datadir}/texlive/texmf-dist
%configure --with-emacs --with-texmf-dir=%{_datadir}/texlive/texmf-dist \
--with-lispdir=%{_datadir}/emacs/site-lisp
%make_build
@ -57,6 +58,8 @@ cd -
install -d %{buildroot}%{_emacs_sitestartdir}
%make_install
install -d %{buildroot}%{_emacs_sitestartdir}/auctex
install -d %{buildroot}%{_emacs_sitestartdir}/auctex/style
touch %{buildroot}%{_emacs_sitelispdir}/auctex/{.nosearch,style/.nosearch}
@ -93,5 +96,8 @@ fi
%doc doc/html
%changelog
* Tue Mar 17 2020 yanzhihua <yanzhihua4@huawei.com> - 12.1-8
- Fix compile error
* Mon Dec 02 2019 dingyiming <dingyiming3@huawei.com> - 12.1-7
- Package init