]> git.pld-linux.org Git - packages/autoconf.git/commitdiff
- fixed build w/o those huge OSes sometimes called editors
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 Mar 2003 09:05:11 +0000 (09:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autoconf.spec -> 1.82

autoconf.spec

index 43f31d5605b054562e57affcf463533c7355a120..589d49e0933770016155bd44be08da54c9ced3f8 100644 (file)
@@ -199,18 +199,20 @@ Tryb edycji autoconf dla emacsa.
 %patch3 -p1
 
 %build
-%configure EMACS=xemacs
+%configure %{!?_without_xemacs:EMACS=xemacs}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
+%if 0%{!?_without_emacs:%{!?_without_xemacs:1}}
 rm lib/emacs/*.elc
 %{__make} -C lib/emacs install-dist_lispLISP \
        DESTDIR=$RPM_BUILD_ROOT \
        EMACS=emacs \
        lispdir=%{_emacs_lispdir}
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -231,13 +233,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %{_libdir}/autoconf
 
-%if%{!?_without_emacs:1}%{?_without_emacs:0}
+%if 0%{!?_without_emacs:1}
 %files -n emacs-autoconf-mode-pkg
 %defattr(644,root,root,755)
 %{_emacs_lispdir}/*.elc
 %endif
 
-%if%{!?_without_xemacs:1}%{?_without_xemacs:0}
+%if 0%{!?_without_xemacs:1}
 %files -n xemacs-autoconf-mode-pkg
 %defattr(644,root,root,755)
 %{_xemacs_lispdir}/*.elc
This page took 0.042639 seconds and 4 git commands to generate.