From 717377f399602cf523cfc30cff7dacddf7d81fc9 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 13 Aug 2024 16:49:51 +0530 Subject: [PATCH] Drop unwanted mythes-eo package --- mythes-eo.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/mythes-eo.spec b/mythes-eo.spec index 8b8cb66..9e6d640 100644 --- a/mythes-eo.spec +++ b/mythes-eo.spec @@ -1,8 +1,14 @@ +%if 0%{?rhel} && 0%{?rhel} > 9 +%bcond_with mythes +%else +%bcond_without mythes +%endif + Name: mythes-eo Summary: Esperanto thesaurus %global upstreamid 20180330 Version: 0.%{upstreamid} -Release: 15%{?dist} +Release: 16%{?dist} Source: http://esperanto.mv.ru/Download/dict-eo.oxt URL: http://esperanto.mv.ru/Download/ License: GPL-3.0-or-later @@ -28,14 +34,18 @@ Esperanto hyphenation rules. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p dictionaries/hyph_eo.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/ +%if %{with mythes} mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes cp -p dictionaries/th_eo.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.dat cp -p dictionaries/th_eo.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.idx +%endif +%if %{with mythes} %files %doc description/desc_en.txt %license licenses/license-en.txt %{_datadir}/mythes/* +%endif %files -n hyphen-eo %doc description/desc_en.txt @@ -43,6 +53,9 @@ cp -p dictionaries/th_eo.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.idx %{_datadir}/hyphen/* %changelog +* Tue Aug 13 2024 Parag Nemade - 0.20180330-16 +- Drop unwanted mythes-eo package + * Mon Jun 24 2024 Troy Dawson - 0.20180330-15 - Bump release for June 2024 mass rebuild @@ -55,7 +68,7 @@ cp -p dictionaries/th_eo.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.idx * Thu Jul 20 2023 Fedora Release Engineering - 0.20180330-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild -* Wed Feb 23 2023 Caolán McNamara - 0.20180330-11 +* Thu Feb 23 2023 Caolán McNamara - 0.20180330-11 - migrated to SPDX license * Thu Jan 19 2023 Fedora Release Engineering - 0.20180330-10