From c5b63ac854c421933520bc74b2702812685cd8aaaad24de0987fccb6ab716c35 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 28 Apr 2014 14:50:36 +0000 Subject: [PATCH] - myspell-de provides myspell-austrian, myspell-german and myspell-nswiss (removed subpackages from igerman98 source package) OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/myspell-dictionaries?expand=0&rev=11 --- myspell-dictionaries.changes | 7 +++++++ myspell-dictionaries.spec | 3 +++ update.sh | 5 ++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/myspell-dictionaries.changes b/myspell-dictionaries.changes index ea258fd..9918b8e 100644 --- a/myspell-dictionaries.changes +++ b/myspell-dictionaries.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 28 14:48:48 UTC 2014 - pgajdos@suse.com + +- myspell-de provides myspell-austrian, myspell-german and + myspell-nswiss (removed subpackages from igerman98 source + package) + ------------------------------------------------------------------- Thu Apr 24 11:38:16 UTC 2014 - pgajdos@suse.cz diff --git a/myspell-dictionaries.spec b/myspell-dictionaries.spec index c97c0b5..f292d6e 100644 --- a/myspell-dictionaries.spec +++ b/myspell-dictionaries.spec @@ -367,7 +367,10 @@ Danish spelling dictionary, hyphenation rules, and thesaurus. Summary: MySpell de Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries +Provides: myspell-austrian Provides: myspell-dictionary +Provides: myspell-german +Provides: myspell-nswiss Provides: locale(libreoffice:de) Provides: locale(libreoffice:de_AT) Provides: locale(libreoffice:de_CH) diff --git a/update.sh b/update.sh index 7bd2cb6..d190af8 100644 --- a/update.sh +++ b/update.sh @@ -13,6 +13,7 @@ declare -A provides_map=( ["myspell-ca"]="myspell-catalan myspell-valencian libreoffice-thesaurus-ca" ["myspell-cs_CZ"]="myspell-czech libreoffice-thesaurus-cs" ["myspell-da_DK"]="myspell-danish libreoffice-thesaurus-da" +["myspell-de"]="myspell-german myspell-nswiss myspell-austrian" ["myspell-el_GR"]="myspell-greek libreoffice-thesaurus-el" ["myspell-en"]="myspell-american myspell-australian myspell-canadian myspell-british myspell-new-zaeland myspell-south-african-english libreoffice-thesaurus-en-AU libreoffice-thesaurus-en-GB libreoffice-thesaurus-US" ["myspell-es"]="myspell-spanish myspell-mexican myspell-spanish-argentine myspell-spanish-bolivian myspell-spanish-chilean myspell-spanish-colombian myspell-spanish-costa-rican myspell-spanish-dominican myspell-spanish-ecuadorian myspell-spanish-guatemalan myspell-spanish-honduran myspell-spanish-nicaraguan myspell-spanish-panamanian myspell-spanish-paraguayan myspell-spanish-peruvian myspell-spanish-puerto-rican myspell-spanish-salvadorean myspell-spanish-uruguayan myspell-spanish-venezuelan libreoffice-thesaurus-es libreoffice-thesaurus-es-AR libreoffice-thesaurus-VE" @@ -103,9 +104,12 @@ if [ $DOWNLOAD == "yes" ]; then cp --force $GIT_DIR/$dir/dictionaries/* dictionaries/$dir sed -i 's:dictionaries/::' dictionaries/$dir/dictionaries.xcu done + date=`date +%Y%m%d` elif [ ! -e $GIT_DIR ]; then echo "ERROR: DOWNLOAD=$DOWNLOAD and $GIT_DIR doesn't exist" exit 1 +else + date=`rpmspec -q --qf "%{VERSION}\n" *.spec | head -n 1` fi # @@ -154,7 +158,6 @@ done cp myspell-dictionaries.spec.in myspell-dictionaries.spec sed -i "s:@DO_NOT_EDIT_COMMENT@:DO NOT EDIT THIS SPEC FILE:" myspell-dictionaries.spec -date=`date +%Y%m%d` sed -i "s:@VERSION@:$date:" myspell-dictionaries.spec for subpackage in $dirs; do