diff --git a/emacs-auctex.spec b/emacs-auctex.spec index 285c5e7..26dab0f 100644 --- a/emacs-auctex.spec +++ b/emacs-auctex.spec @@ -12,7 +12,7 @@ Summary: Enhanced TeX modes for Emacs Name: emacs-auctex Version: 11.86 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Applications/Editors URL: http://www.gnu.org/software/auctex/ @@ -31,7 +31,6 @@ Requires: tex-preview = %{version}-%{release} Source0: ftp://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: emacs texlive-latex texinfo-tex ghostscript %description @@ -118,7 +117,6 @@ popd iconv -f ISO-8859-1 -t UTF8 RELEASE > RELEASE.utf8 && touch -r RELEASE RELEASE.utf8 && mv RELEASE.utf8 RELEASE %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{_emacs_sitestartdir} make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_var} @@ -127,9 +125,6 @@ rm -rf %{buildroot}%{_var} # files installed here rm -rf %{buildroot}%{_docdir}/auctex -%clean -rm -rf %{buildroot} - %post /sbin/install-info %{_infodir}/auctex.info %{_infodir}/dir 2>/dev/null || : /sbin/install-info %{_infodir}/preview-latex.info %{_infodir}/dir 2>/dev/null || : @@ -175,6 +170,7 @@ fi %if %{separate_preview} %files -n tex-preview %defattr(-,root,root,-) +%doc RELEASE COPYING README TODO FAQ CHANGES %{_datadir}/texmf/tex/latex/preview %{_datadir}/texmf/doc/latex/styles %endif @@ -184,6 +180,12 @@ fi %doc doc/html %changelog +* Fri Jul 16 2010 Jonathan G. Underwood - 11.86-3 +- Add COPYING file and other docs to the tex-preview subpackage to comply with + updated licensing guidelines +- Remove the no longer needed BuildRoot, %%clean and cleaning of Buildroot + inside %%install + * Sun May 23 2010 Jonathan G. Underwood - 11.86-2 - Drop Requires for evince (rhbz 595104)