librep r2976 - trunk
- From: chrisb svn gnome org
- To: svn-commits-list gnome org
- Subject: librep r2976 - trunk
- Date: Sun, 1 Feb 2009 21:24:47 +0000 (UTC)
Author: chrisb
Date: Sun Feb 1 21:24:47 2009
New Revision: 2976
URL: http://svn.gnome.org/viewvc/librep?rev=2976&view=rev
Log:
librep.spec.in: make sure emacs_lispdir is defined
Modified:
trunk/ChangeLog
trunk/librep.spec.in
Modified: trunk/librep.spec.in
==============================================================================
--- trunk/librep.spec.in (original)
+++ trunk/librep.spec.in Sun Feb 1 21:24:47 2009
@@ -10,6 +10,12 @@
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gmp-devel gdbm-devel readline-devel texinfo
+%if %($(pkg-config emacs) ; echo $?)
+%define emacs_lispdir %{_datadir}/emacs/site-lisp
+%else
+%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
+%endif
+
%description
This is a lightweight Lisp environment for UNIX. It contains a Lisp
interpreter, byte-code compiler and virtual machine. Applications may
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]