SHA256
1
0
forked from pool/anthy

Accepting request 838572 from M17N

- Do not use Xemacs on SLE products (jsc#SLE-12100)

OBS-URL: https://build.opensuse.org/request/show/838572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/anthy?expand=0&rev=37
This commit is contained in:
2020-09-29 17:05:14 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 29 13:25:37 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Do not use Xemacs on SLE products (jsc#SLE-12100)
-------------------------------------------------------------------
Tue Sep 15 06:18:12 UTC 2020 - Cliff Zhao <qzhao@suse.com>

View File

@@ -45,7 +45,9 @@ Patch5: bugzilla-1175274-emacs-27.1.patch
BuildRequires: emacs-x11
BuildRequires: fdupes
BuildRequires: libtool
%if 0%{?is_opensuse}
BuildRequires: xemacs
%endif
%description
Anthy is a package for an input method editor backend for Unix-like
@@ -96,6 +98,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}
# compile the XEmacs versions of the emacs-lisp files and install them:
pushd src-util
rm -f *.elc
@@ -104,6 +107,7 @@ pushd src-util
mkdir -p %{buildroot}%{_datadir}/xemacs/site-packages/lisp/anthy
install -m 644 *.el *.elc %{buildroot}%{_datadir}/xemacs/site-packages/lisp/anthy
popd
%endif
%fdupes %{buildroot}%{_datadir}
find %{buildroot} -type f -name "*.la" -delete -print
# remove unneeded Makefiles for documents
@@ -120,7 +124,9 @@ rm -f doc/Makefile.*
%{_datadir}/anthy/*
%{_bindir}/*
%{_datadir}/emacs/site-lisp/*
%if 0%{?is_opensuse}
%{_datadir}/xemacs/*
%endif
%files -n libanthy0
%{_libdir}/*.so.*