diff --git a/quilt.spec b/quilt.spec index 4a0be5b..744905b 100644 --- a/quilt.spec +++ b/quilt.spec @@ -84,7 +84,7 @@ CFLAGS="$RPM_OPT_FLAGS" \ --with-rpmbuild=/usr/lib/rpm/rpmb make %{?jobs:-j%jobs} BUILD_ROOT=$RPM_BUILD_ROOT RELEASE=%release # Compile quilt.el for faster emacs startup (bnc#617673) -pushd src +pushd lib emacs -batch -q --no-site -f batch-byte-compile quilt.el popd @@ -96,7 +96,7 @@ make check # sendmail to neededforbuild just because of this. export NO_BRP_STALE_LINK_ERROR=yes make install BUILD_ROOT=$RPM_BUILD_ROOT -install -m 644 src/quilt.el \ +install -m 644 lib/quilt.elc \ $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/ mv $RPM_BUILD_ROOT/etc/bash_completion.d/quilt{,.sh} #make rpmlint happy