use fedora ">= 36" for the hunspell/ dir conditionals
This commit is contained in:
parent
80770886a5
commit
07fa42d0d1
@ -92,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
%if 0%{?fedora} > 35
|
||||
%if 0%{?fedora} >= 36
|
||||
mkdir $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
||||
%else
|
||||
mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
@ -101,7 +101,7 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if 0%{?fedora} > 35
|
||||
%if 0%{?fedora} >= 36
|
||||
%pretrans filesystem -p <lua>
|
||||
-- Rename dir from myspell to hunspell
|
||||
-- DO NOT add a trailing slash at the end.
|
||||
@ -147,7 +147,7 @@ end
|
||||
%{_mandir}/man5/hunspell.5.gz
|
||||
|
||||
%files filesystem
|
||||
%if 0%{?fedora} > 35
|
||||
%if 0%{?fedora} >= 36
|
||||
%ghost %{_datadir}/myspell
|
||||
%{_datadir}/hunspell
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user