commit OpenOffice_org-l10n for openSUSE:Factory
Hello community, here is the log from the commit of package OpenOffice_org-l10n for openSUSE:Factory checked in at Fri Mar 20 21:08:51 CET 2009. -------- --- OpenOffice_org-l10n/OpenOffice_org-l10n.changes 2009-03-10 12:01:29.000000000 +0100 +++ OpenOffice_org-l10n/OpenOffice_org-l10n.changes 2009-03-20 16:14:46.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz + +- updated to version 3.0.99.2 +- used more conservative way to remove the compat symlinks (bnc#471280) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenOffice_org-l10n.spec ++++++ ++++ 701 lines (skipped) ++++ between OpenOffice_org-l10n/OpenOffice_org-l10n.spec ++++ and OpenOffice_org-l10n/OpenOffice_org-l10n.spec ++++++ ooo-l10n-gen-spec ++++++ --- /var/tmp/diff_new_pack.E21649/_old 2009-03-20 21:07:39.000000000 +0100 +++ /var/tmp/diff_new_pack.E21649/_new 2009-03-20 21:07:39.000000000 +0100 @@ -83,9 +83,9 @@ my ($curLevel, $newLevel) = @_; if ($curLevel != $newLevel) { + print "\n"; print "%endif\n" if ($curLevel > 0); print "%if %test_build_langs >= $newLevel\n" if ($newLevel > 0); - print "\n"; } return $newLevel; @@ -97,7 +97,6 @@ if ($curLevel > 0) { print "%endif\n"; - print "\n"; } return 0; @@ -109,8 +108,9 @@ return if ("$curLang" eq "en-US"); # we do not have the l10n-en-US package + print "\n"; print "%package -n OpenOffice_org-l10n-$curLang\n"; - print "License: GPL v2 or later; LGPL v2.1 or later\n"; + print "License: LGPL v3 only\n"; print "Summary: $datap->{$curLang}{'long_name'} Localization Files for OpenOffice.org\n"; print "Group: Productivity/Office/Suite\n"; print "Provides: locale(OpenOffice_org:$datap->{$curLang}{'locale'})\n"; @@ -127,7 +127,8 @@ print "%description -n OpenOffice_org-l10n-$curLang\n"; print "$datap->{$curLang}{'long_name'} localization files for OpenOffice.org.\n"; - print "The localized help content is in OpenOffice.org-help-de.\n"; + print "The localized help content is in OpenOffice.org-help-$curLang.\n" unless (defined $datap->{$curLang}{'poor-help'}); + print "\n"; print "\n"; } @@ -145,8 +146,9 @@ $oldPackage = "OpenOffice_org-$curLang"; } + print "\n"; print "%package -n OpenOffice_org-help-$curLang\n"; - print "License: GPL v2 or later; LGPL v2.1 or later\n"; + print "License: LGPL v3 only\n"; print "Summary: $datap->{$curLang}{'long_name'} Help Localization for OpenOffice.org\n"; print "Group: Productivity/Office/Suite\n"; print "Provides: locale(OpenOffice_org:$datap->{$curLang}{'locale'})\n"; @@ -161,8 +163,9 @@ print "\n"; print "%description -n OpenOffice_org-help-$curLang\n"; - print "$datap->{$curLang}{'long_name'} help localization for OpenOffice.org.\n"; - print "The other localized stuff is in OpenOffice.org-l10n-$curLang.\n"; + print "$datap->{$curLang}{'long_name'} help localization for OpenOffice.org. The other localized stuff\n"; + print "is in OpenOffice.org-l10n-$curLang.\n"; + print "\n"; print "\n"; } @@ -178,8 +181,11 @@ print "%_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt || true\n"; print "\n"; print "%preun -n OpenOffice_org-l10n-$curLang\n"; - print "test \"\$1\" = \"0\" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt || true\n"; + print "test \"\$1\" = \"0\" && cp %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt.postun || true\n"; print "\n"; + print "%postun -n OpenOffice_org-l10n-$curLang\n"; + print "test \"\$1\" = \"0\" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt.postun || true\n"; + print "rm -f %_datadir/%ooo_home/files-l10n-$datap->{$curLang}{'locale'}.txt.postun 2>/dev/null\n"; } sub write_help_scripts_section($$) @@ -193,8 +199,11 @@ print "%_datadir/%ooo_home/link-to-ooo-home %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt || true\n"; print "\n"; print "%preun -n OpenOffice_org-help-$curLang\n"; - print "test \"\$1\" = \"0\" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt || true\n"; + print "test \"\$1\" = \"0\" && cp %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt.postun || true\n"; print "\n"; + print "%postun -n OpenOffice_org-help-$curLang\n"; + print "test \"\$1\" = \"0\" && %_datadir/%ooo_home/link-to-ooo-home --unlink %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt.postun || true\n"; + print "rm -f %_datadir/%ooo_home/files-help-$datap->{$curLang}{'locale'}.txt.postun 2>/dev/null\n"; } sub write_l10n_files_section($$) @@ -203,14 +212,13 @@ return if ("$curLang" eq "en-US"); # we do not have the l10n-en-US package + print "\n"; print "%files -f files-l10n-$datap->{$curLang}{'locale'}.txt -n OpenOffice_org-l10n-$curLang\n"; print "%defattr(-,root,root)\n"; foreach my $line (@{$datap->{$curLang}{'files-l10n'}}) { print "$line\n"; } - - print "\n"; } sub write_help_files_section($$$) @@ -219,14 +227,13 @@ return if (defined $datap->{$curLang}{'poor-help'}); + print "\n"; print "%files -f files-help-$datap->{$curLang}{'locale'}.txt -n OpenOffice_org-help-$curLang\n"; print "%defattr(-,root,root)\n"; foreach my $line (@{$datap->{$curLang}{'files-help'}}) { print "$line\n"; } - - print "\n"; } sub write_lang_section($$$) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de