diff --git a/sdcc.spec b/sdcc.spec index 71e0288..32e7d05 100644 --- a/sdcc.spec +++ b/sdcc.spec @@ -1,13 +1,3 @@ -%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_lispdir %(pkg-config emacs --variable sitepkglispdir) -%define emacs_startdir %(pkg-config emacs --variable sitestartdir) -%endif - Name: sdcc Version: 2.8.0 Release: 3%{?dist} @@ -44,7 +34,7 @@ Requires: sdcc = %{version}-%{release} %description libc-sources SDCC is a C compiler for 8051 class and similar microcontrollers. -This package includes the sources for the C library, and is only neccessary +This package includes the sources for the C library, and is only necessary if you want to modify the C library or as reference of how it works. @@ -116,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT %files -n emacs-sdcc %defattr(-,root,root,-) -%{emacs_lispdir}/*.el +%{_datadir}/emacs/site-lisp/*.el %changelog