From 4bf102a4fc3eea63e9d4204cef59dea1caafa665 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Apr 07 2017 14:04:22 +0000 Subject: dont handle emacs for bootstrap Signed-off-by: Tomas Tomecek --- diff --git a/autoconf.spec b/autoconf.spec index 1672a9d..1174177 100644 --- a/autoconf.spec +++ b/autoconf.spec @@ -92,9 +92,11 @@ make install %{?_smp_mflags} DESTDIR=%{buildroot} mkdir -p %{buildroot}/share install -m 0644 %{SOURCE1} %{buildroot}%{_datadir} +%if %{without bootstrap} # Create file to activate Emacs modes as required mkdir -p %{buildroot}%{_emacs_sitestartdir} install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir} +%endif %post @@ -116,7 +118,9 @@ fi %exclude %{_infodir}/dir %{_datadir}/autoconf/ %config %{_datadir}/config.site +%if %{without bootstrap} %{_datadir}/emacs/site-lisp/* +%endif %{_mandir}/man1/* %doc AUTHORS ChangeLog NEWS README THANKS TODO