[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Buildsys glitch?

On Sat, 2006-06-10 at 13:52 +0100, Jonathan Underwood wrote:
> Hi,
> I just pushed builds for an updated emacs-auctex package for FC-4,
> FC-5 and devel. FC-4 and devel succeeded (specs are the same), but
> FC-5 fails during configure with this:
AFAIS, the spec suffers from several bugs, but I fail to understand why
it should build anywhere ;)

> Any ideas?
Cf. the patch below.


PS.: CC:-ing you, because I am not sure this list will let attachments
pass through

Index: emacs-auctex.spec
RCS file: /cvs/extras/rpms/emacs-auctex/FC-5/emacs-auctex.spec,v
retrieving revision 1.19
diff -u -r1.19 emacs-auctex.spec
--- emacs-auctex.spec	10 Jun 2006 14:24:53 -0000	1.19
+++ emacs-auctex.spec	11 Jun 2006 01:56:38 -0000
@@ -1,8 +1,8 @@
-%define startupdir %{_datadir}/emacs/site-lisp/site-start.d/
+%define startupdir %{_datadir}/emacs/site-lisp/site-start.d
 %define startupfile %{startupdir}/auctex-init.el
-%define textree %{_datadir}/texmf/tex/
-%define previewdir %{textree}/latex/preview/
+%define textree %{_datadir}/texmf/tex
+%define previewdir %{textree}/latex/preview
 Summary: 	Enhanced TeX modes for Emacsen
 Name: 		emacs-auctex
@@ -21,7 +21,7 @@
 Requires: 	emacs emacs-common ghostscript 
 Requires: 	tetex-preview = %{version}-%{release}
 Requires: 	/sbin/install-info
-BuildRequires: 	emacs tetex-latex texinfo ghostscript
+BuildRequires: 	emacs tetex-latex tetex-preview texinfo ghostscript
 AUCTeX is an extensible package that supports writing and formatting TeX files
@@ -75,14 +75,14 @@
 # Ugly patch to work around a build system problem with configure script for
 # FC-5 only - this removes the offending part of the configure script
-%patch0 -p0
+# %patch0 -p0
 mkdir -p %{buildroot}%{previewdir}
 %configure --with-emacs \
-	--with-texmf-dir=%{buildroot}%{textree} \
-	--with-tex-dir=%{buildroot}%{previewdir}
+	--with-texmf-dir=%{textree} \
+	--with-tex-dir=%{previewdir}
@@ -94,7 +94,7 @@
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{startupdir}
+make DESTDIR=%{buildroot} install
 # Startup file.
 cat <<EOF > %{buildroot}%{startupfile}

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]