SHA256
1
0
forked from pool/anthy

Use build condition to enable or disable Xemacs support

OBS-URL: https://build.opensuse.org/package/show/M17N/anthy?expand=0&rev=44
This commit is contained in:
2020-09-30 10:33:26 +00:00
committed by Git OBS Bridge
parent c1a8abd231
commit c006a34e36
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 30 10:31:45 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Use build condition to enable or disable Xemacs support (jsc#SLE-12100)
-------------------------------------------------------------------
Tue Sep 29 13:25:37 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@@ -16,6 +16,8 @@
#
%bcond_with xemacs
Name: anthy
Version: 9100h
Release: 0
@@ -45,7 +47,7 @@ Patch5: bugzilla-1175274-emacs-27.1.patch
BuildRequires: emacs-x11
BuildRequires: fdupes
BuildRequires: libtool
%if 0%{?is_opensuse}
%if %{with xemacs}
BuildRequires: xemacs
%endif
@@ -98,7 +100,7 @@ cd test
%install
%make_install
install -m 644 $RPM_SOURCE_DIR/suse-start-anthy.el %{buildroot}%{_datadir}/emacs/site-lisp/
%if 0%{?is_opensuse}
%if %{with xemacs}
# compile the XEmacs versions of the emacs-lisp files and install them:
pushd src-util
rm -f *.elc
@@ -124,7 +126,7 @@ rm -f doc/Makefile.*
%{_datadir}/anthy/*
%{_bindir}/*
%{_datadir}/emacs/site-lisp/*
%if 0%{?is_opensuse}
%if %{with xemacs}
%{_datadir}/xemacs/*
%endif