Revert to drop emacs.i686
Fixes: https://src.fedoraproject.org/rpms/anthy-unicode/c/41d0118?branch=rawhide
This commit is contained in:
parent
96c99e55f4
commit
9099594f1a
@ -7,12 +7,6 @@
|
|||||||
%bcond_without xemacs
|
%bcond_without xemacs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# emacs.i686 has not been available since emacs-29.4-7.fc40
|
|
||||||
%ifarch i686
|
|
||||||
%bcond_with emacs
|
|
||||||
%else
|
|
||||||
%bcond_without emacs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: anthy-unicode
|
Name: anthy-unicode
|
||||||
Version: 1.0.0.20240502
|
Version: 1.0.0.20240502
|
||||||
@ -20,9 +14,7 @@ Release: %autorelease
|
|||||||
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
||||||
License: LGPL-2.0-or-later AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
|
License: LGPL-2.0-or-later AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
|
||||||
URL: https://github.com/fujiwarat/anthy-unicode/wiki
|
URL: https://github.com/fujiwarat/anthy-unicode/wiki
|
||||||
%if %{with emacs}
|
|
||||||
BuildRequires: emacs
|
BuildRequires: emacs
|
||||||
%endif
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%if %{with xemacs}
|
%if %{with xemacs}
|
||||||
@ -53,7 +45,6 @@ user dictionaries and the users information which is used for the conversion,
|
|||||||
is stored into their own home directory. So Anthy Unicode is secure than
|
is stored into their own home directory. So Anthy Unicode is secure than
|
||||||
other conversion server.
|
other conversion server.
|
||||||
|
|
||||||
%if %{with emacs}
|
|
||||||
%package -n emacs-%{pkg}
|
%package -n emacs-%{pkg}
|
||||||
Summary: Emacs files for %{pkg}
|
Summary: Emacs files for %{pkg}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -63,7 +54,6 @@ BuildArch: noarch
|
|||||||
%description -n emacs-%{pkg}
|
%description -n emacs-%{pkg}
|
||||||
This package contains the byte compiled elips packages to run %{pkg}
|
This package contains the byte compiled elips packages to run %{pkg}
|
||||||
with GNU Emacs.
|
with GNU Emacs.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with xemacs}
|
%if %{with xemacs}
|
||||||
%package -n xemacs-%{pkg}
|
%package -n xemacs-%{pkg}
|
||||||
@ -112,11 +102,9 @@ install -m 644 dic-tool-input $RPM_BUILD_ROOT%{_datadir}/%{pkg}
|
|||||||
install -m 644 dic-tool-result $RPM_BUILD_ROOT%{_datadir}/%{pkg}
|
install -m 644 dic-tool-result $RPM_BUILD_ROOT%{_datadir}/%{pkg}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%if %{with emacs}
|
|
||||||
## for emacs-anthy
|
## for emacs-anthy
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with xemacs}
|
%if %{with xemacs}
|
||||||
## for xemacs-anthy
|
## for xemacs-anthy
|
||||||
@ -165,14 +153,12 @@ cd ..
|
|||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_datadir}/%{pkg}/
|
%{_datadir}/%{pkg}/
|
||||||
|
|
||||||
%if %{with emacs}
|
|
||||||
%files -n emacs-%{pkg}
|
%files -n emacs-%{pkg}
|
||||||
%doc doc/ELISP
|
%doc doc/ELISP
|
||||||
%{_emacs_sitelispdir}/%{pkg}/*.el
|
%{_emacs_sitelispdir}/%{pkg}/*.el
|
||||||
%{_emacs_sitelispdir}/%{pkg}/*.elc
|
%{_emacs_sitelispdir}/%{pkg}/*.elc
|
||||||
%{_emacs_sitestartdir}/*.el
|
%{_emacs_sitestartdir}/*.el
|
||||||
%dir %{_emacs_sitelispdir}/%{pkg}
|
%dir %{_emacs_sitelispdir}/%{pkg}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with xemacs}
|
%if %{with xemacs}
|
||||||
%files -n xemacs-%{pkg}
|
%files -n xemacs-%{pkg}
|
||||||
|
Loading…
Reference in New Issue
Block a user