From 5098e8b8a1485a58a0f911585fe81ae75dc7c820 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 19 Feb 2016 23:08:20 +0530 Subject: [PATCH] Add Supplements: tag for langpacks naming guidelines - Clean the specfile to follow current packaging guidelines --- hyphen-pt.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/hyphen-pt.spec b/hyphen-pt.spec index 671e38c..3fbac2d 100644 --- a/hyphen-pt.spec +++ b/hyphen-pt.spec @@ -1,16 +1,15 @@ Name: hyphen-pt Summary: Portuguese hyphenation rules -%define upstreamid 20021021 +%global upstreamid 20021021 Version: 0.%{upstreamid} -Release: 12%{?dist} +Release: 13%{?dist} Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_pt_PT.zip -Group: Applications/Text URL: http://wiki.services.openoffice.org/wiki/Dictionaries -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPL+ BuildArch: noarch Requires: hyphen +Supplements: (hyphen and langpacks-pt) %description Portuguese hyphenation rules. @@ -22,7 +21,6 @@ Portuguese hyphenation rules. chmod -x * %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ @@ -31,15 +29,16 @@ for lang in $pt_PT_aliases; do ln -s hyph_pt_PT.dic "hyph_"$lang".dic" done -%clean -rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc README_hyph_pt_PT.txt %{_datadir}/hyphen/* %changelog +* Fri Feb 19 2016 Parag Nemade - 0.20021021-13 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + * Thu Feb 04 2016 Fedora Release Engineering - 0.20021021-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild