From d447b25e9082337eb76df2027090b24b606797dd Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 9 Jul 2018 14:30:35 +0530 Subject: [PATCH] Update to current Fedora packaging guidelines Dropped Group and defattr tag Added license tag --- openoffice-lv.spec | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/openoffice-lv.spec b/openoffice-lv.spec index 99b8dfe..38be711 100644 --- a/openoffice-lv.spec +++ b/openoffice-lv.spec @@ -1,9 +1,8 @@ Name: openoffice-lv Summary: Latvian linguistic dictionaries Version: 1.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt -Group: Applications/Text URL: http://dict.dv.lv/ License: LGPLv2+ BuildArch: noarch @@ -13,7 +12,6 @@ Latvian linguistic dictionaries. %package -n hunspell-lv Summary: Latvian hunspell dictionaries -Group: Applications/Text Requires: hunspell %description -n hunspell-lv @@ -21,7 +19,6 @@ Latvian hunspell dictionaries. %package -n hyphen-lv Summary: Latvian hyphenation rules -Group: Applications/Text Requires: hyphen %description -n hyphen-lv @@ -29,14 +26,13 @@ Latvian hyphenation rules. %package -n mythes-lv Summary: Latvian thesaurus -Group: Applications/Text Requires: mythes %description -n mythes-lv Latvian thesaurus. %prep -%setup -q -c +%autosetup -c %build for i in README_lv_LV.txt README_hyph_lv_LV.txt; do @@ -52,7 +48,6 @@ done chmod -x *.dic %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes @@ -61,21 +56,26 @@ cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes %files -n hunspell-lv -%defattr(-,root,root,-) -%doc README_lv_LV.txt license.txt +%doc README_lv_LV.txt +%license license.txt %{_datadir}/myspell/* %files -n hyphen-lv -%defattr(-,root,root,-) -%doc README_hyph_lv_LV.txt license.txt +%doc README_hyph_lv_LV.txt +%license license.txt %{_datadir}/hyphen/* %files -n mythes-lv -%defattr(-,root,root,-) -%doc package-description.txt license.txt +%doc package-description.txt +%license license.txt %{_datadir}/mythes/* %changelog +* Mon Jul 09 2018 Parag Nemade - 1.0.0-7 +- Update to current Fedora packaging guidelines +- Dropped Group and defattr tag +- Added license tag + * Thu Feb 08 2018 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild