Accepting request 84202 from editors

- Remove redundant/obsolete tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build (forwarded request 83418 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs-auctex?expand=0&rev=19
This commit is contained in:
Sascha Peilicke 2011-09-22 08:42:52 +00:00 committed by Git OBS Bridge
commit b9bc19eaa3
2 changed files with 12 additions and 17 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant/obsolete tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Wed Oct 13 12:09:48 CEST 2010 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package emacs-auctex (Version 11.86)
# spec file for package emacs-auctex
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: emacs-auctex
@ -25,7 +24,6 @@ Group: Productivity/Editors/Emacs
Obsoletes: ge_auc
Provides: auc-tex auctex ge_auc
Requires: emacs texlive-tools texlive-latex
AutoReqProv: on
Version: 11.86
Release: 4
Summary: AUC TeX: An Emacs Extension
@ -50,13 +48,6 @@ not be installed concurrently. Note that the binary formats of the
byte-compiled lisp files of the two emacs editors are incompatible, so
you cannot use this package for XEmacs.
Authors:
--------
Kresten Krab Thorup <auc-tex_mgr@iesd.auc.dk>
Per Abrahamsen <abraham@dina.kvl.dk>
%define _sitedir %{_datadir}/emacs/site-lisp
%define _aucdir %{_sitedir}/auctex
@ -73,10 +64,7 @@ Authors:
mkdir /tmp/auctex
mkdir -p /tmp/auctex/doc/preview
mkdir -p /tmp/auctex/latex/preview
./configure --prefix=%{_prefix} \
--exec-prefix=%{_prefix} \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
%configure \
--docdir=%{_defaultdocdir}/%name \
--with-emacs \
--with-lispdir=%{_sitedir} \
@ -85,9 +73,9 @@ Authors:
--with-doc-dir=/tmp/auctex/doc/preview \
--with-tex-dir=/tmp/auctex/latex/preview
find , -name '*.elc' | xargs -r rm -f
make
make %{?_smp_mflags}
make -C doc clean
make -C doc
make -C doc %{?_smp_mflags}
make -C doc extradist
rm -rf /tmp/auctex