[PATCH 2/8] packaging: fedora: remove irrelevant stuff

Felipe Contreras felipe.contreras at gmail.com
Sun Apr 28 02:52:32 PDT 2013


Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
 packaging/fedora/notmuch.spec | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec
index 65c26db..a5191fc 100644
--- a/packaging/fedora/notmuch.spec
+++ b/packaging/fedora/notmuch.spec
@@ -1,16 +1,6 @@
 %global git 6b9a717c
 %global date %(date +%Y%m%d)
 
-%if %($(pkg-config emacs) ; echo $?)
-%global emacs_version 23.1
-%global emacs_lispdir %{_datadir}/emacs/site-lisp
-%global emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
-%else
-%global emacs_version %(pkg-config emacs --modversion)
-%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
-%global emacs_startdir %(pkg-config emacs --variable sitestartdir)
-%endif
-
 # If you are doing a git snapshot:
 #
 # Release should be 1%{git}%{?dist}
@@ -43,7 +33,7 @@ BuildRequires:  zlib-devel
 BuildRequires:  emacs-el
 BuildRequires:  emacs-nox
 
-Requires:       emacs(bin) >= %{emacs_version}
+Requires:       emacs(bin) >= %{_emacs_version}
 
 %description
 * "Not much mail" is what Notmuch thinks about your email
-- 
1.8.2.1.1031.g2ee5873



More information about the notmuch mailing list