.
OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=48
This commit is contained in:
parent
31548fb92b
commit
91f1d337d5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 14:51:02 UTC 2012 - werner@suse.de
|
||||
|
||||
- Make /var/lib/xemacs/lock/ optional (bnc#764887)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 10:58:22 UTC 2012 - werner@suse.de
|
||||
|
||||
|
@ -41,7 +41,6 @@ BuildRequires: gpm-devel
|
||||
%else
|
||||
BuildRequires: gpm
|
||||
%endif
|
||||
|
||||
%define appdefdir /usr/share/X11
|
||||
%define xbindir /usr/bin
|
||||
%define xincludes /usr/include
|
||||
@ -96,6 +95,8 @@ Patch292811: bugzilla-292811-make-x-make-font-bold-italic-xft-work.patch
|
||||
Patch301352: bugzilla-301352-fix-wrong-incrementing-in-macros.patch
|
||||
%define _default_patch_fuzz 2
|
||||
|
||||
%bcond_with lock
|
||||
|
||||
%description
|
||||
This is the current version of XEmacs, formerly known as Lucid-Emacs.
|
||||
It is related to other versions of Emacs, in particular GNU Emacs. Its
|
||||
@ -379,8 +380,10 @@ set +o posix
|
||||
#
|
||||
mkdir -p %{buildroot}/usr/share/xemacs/site-lisp/lisp
|
||||
mkdir -p %{buildroot}/usr/share/xemacs/site-packages/lisp/term
|
||||
%if %{with lock}
|
||||
mkdir -p %{buildroot}/var/lib/xemacs/lock
|
||||
chmod 1777 %{buildroot}/var/lib/xemacs/lock
|
||||
%endif
|
||||
make DESTDIR=%{buildroot} install
|
||||
mv %{buildroot}%{xbindir}/xemacs-21.?-??? %{buildroot}%{xbindir}/xemacs
|
||||
# fix up the load-history to make it possible to use find-function
|
||||
@ -528,6 +531,7 @@ cat xe-list-el-without-elc xe-list-elc-without-el xe-list-elc-with-el \
|
||||
# packages:
|
||||
rm -rf %{buildroot}/usr/lib/xemacs/%{version}/*-suse-linux/include/
|
||||
|
||||
%if %{with lock}
|
||||
%if %{defined verify_permissions}
|
||||
%verifyscript
|
||||
%verify_permissions -e /var/lib/xemacs/lock
|
||||
@ -537,6 +541,7 @@ rm -rf %{buildroot}/usr/lib/xemacs/%{version}/*-suse-linux/include/
|
||||
%post
|
||||
%set_permissions /var/lib/xemacs/lock
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -606,7 +611,9 @@ rm -rf %{buildroot}
|
||||
%dir /usr/share/xemacs/site-lisp/
|
||||
%dir /usr/share/xemacs/site-lisp/lisp/
|
||||
%dir /var/lib/xemacs/
|
||||
%if %{with lock}
|
||||
%dir %verify(not mode group) %attr(1775,root,trusted) /var/lib/xemacs/lock/
|
||||
%endif
|
||||
|
||||
%files -n xemacs-info
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user