fix emasc_* variable setting
This commit is contained in:
parent
1bf19f316c
commit
2d3e08e09a
@ -4,9 +4,15 @@
|
|||||||
|
|
||||||
%define x11_app_defaults_dir %{_datadir}/X11/app-defaults
|
%define x11_app_defaults_dir %{_datadir}/X11/app-defaults
|
||||||
|
|
||||||
|
%if %($(pkg-config emacs) ; echo $?)
|
||||||
|
%define emacs_version 22.1
|
||||||
|
%define emacs_lispdir %{_datadir}/emacs/site-lisp
|
||||||
|
%define emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
|
||||||
|
%else
|
||||||
%define emacs_version %(pkg-config emacs --modversion)
|
%define emacs_version %(pkg-config emacs --modversion)
|
||||||
%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
|
%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
|
||||||
%define emacs_startdir %(pkg-config emacs --variable sitestartdir)
|
%define emacs_startdir %(pkg-config emacs --variable sitestartdir)
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: A program for plotting mathematical expressions and data
|
Summary: A program for plotting mathematical expressions and data
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
|
Loading…
Reference in New Issue
Block a user