Signed-off-by: Felipe Contreras <[email protected]>
---
 packaging/fedora/notmuch.spec | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/packaging/fedora/notmuch.spec b/packaging/fedora/notmuch.spec
index f5272db..1e6ec3b 100644
--- a/packaging/fedora/notmuch.spec
+++ b/packaging/fedora/notmuch.spec
@@ -28,8 +28,6 @@ Source0:        
http://notmuchmail.org/releases/notmuch-%{version}.tar.gz
 BuildRequires:  xapian-core-devel gmime-devel libtalloc-devel
 BuildRequires:  zlib-devel emacs-el emacs-nox
 
-Requires:       emacs(bin) >= %{_emacs_version}
-
 %description
 Fast system for indexing, searching, and tagging email.  Even if you
 receive 12000 messages per month or have on the order of millions of
@@ -52,6 +50,15 @@ Requires:       %{name} = %{version}-%{release}
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
+%package -n emacs-notmuch
+Summary:        Not much support for Emacs
+Group:          Applications/Editors
+BuildArch:      noarch
+Requires:       %{name} = %{version}-%{release}, emacs(bin) >= 
%{_emacs_version}
+
+%description -n emacs-notmuch
+%{summary}.
+
 %prep
 %setup -q
 
@@ -75,12 +82,13 @@ make install DESTDIR=%{buildroot}
 %{_mandir}/man?/*
 %{_libdir}/libnotmuch.so.3*
 
-%{_emacs_sitelispdir}/*
-
 %files devel
 %{_libdir}/libnotmuch.so
 %{_includedir}/*
 
+%files -n emacs-notmuch
+%{_emacs_sitelispdir}/*
+
 %changelog
 * Sun Apr 28 2013 Felipe Contreras <[email protected]> - 0.15.2-1
 - Update to latest upstream
-- 
1.8.2.1.1031.g2ee5873

_______________________________________________
notmuch mailing list
[email protected]
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to