From 674536ccb1b1618737442f1d2706cba1dfb8de53 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 01 2019 18:09:15 +0000 Subject: import yum-langpacks-0.4.2-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0fc1c4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/yum-langpacks-0.4.2.tar.gz diff --git a/.yum-langpacks.metadata b/.yum-langpacks.metadata new file mode 100644 index 0000000..5096c16 --- /dev/null +++ b/.yum-langpacks.metadata @@ -0,0 +1 @@ +8b98ab35ffe6227f5effcc5db42fc333db798859 SOURCES/yum-langpacks-0.4.2.tar.gz diff --git a/SOURCES/yum-langpacks-0.4.2-Add-parser-for-Release_Notes-packages.patch b/SOURCES/yum-langpacks-0.4.2-Add-parser-for-Release_Notes-packages.patch new file mode 100644 index 0000000..3770b32 --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-Add-parser-for-Release_Notes-packages.patch @@ -0,0 +1,82 @@ +From f86e94c305e2a82fc66eab0bdae18ae8e063304d Mon Sep 17 00:00:00 2001 +From: Parag Nemade +Date: Fri, 22 Apr 2016 19:42:39 +0530 +Subject: [PATCH] Resolves:rh#1263241 - Add parser for Release_Notes packages + +--- + langpacks.py | 38 ++++++++++++++++++++++++++++++++++++-- + 1 file changed, 36 insertions(+), 2 deletions(-) + +diff --git a/langpacks.py b/langpacks.py +index 2e162a0..9b235b7 100644 +--- a/langpacks.py ++++ b/langpacks.py +@@ -94,7 +94,10 @@ def read_available_langpacks (base = None): + yb = base + + srchpkglist = [] +- skip_pkg_list = ['devel', 'browser', 'debuginfo', 'music', 'overrides', 'Brazil', 'British', 'Farsi', 'LowSaxon', 'cs_CZ'] ++ skip_pkg_list = ['devel', 'browser', 'debuginfo', 'music', 'overrides', ++ 'Brazil', 'British', 'Farsi', 'LowSaxon', 'cs_CZ', ++ 'mysql', 'common', 'examples', 'ibase', 'odbc', ++ 'postgresql', 'static'] + langlist = [] + seen = set() + +@@ -316,7 +319,11 @@ def get_matches_from_repo(langpack_pkgs, lang): + if lang.find("_") != -1: + mainlang = lang[0:lang.find("_")] + if lang.find("_CN") != -1 and pkgs.find("-CN") != -1: +- avl_langpack_pkgs.append(pkgs) ++ # this check to ensure Release_notes package ++ # not listed twice for langinfo of zh_CN ++ # only show man-pages-zh-CN ++ if pkgs.find("man-pages") != -1: ++ avl_langpack_pkgs.append(pkgs) + if pkgs.find(lang, len(pkgs)-len(lang), len(pkgs)) > 0: + avl_langpack_pkgs.append(pkgs) + # if input pt_BR then show for pt and pt_BR +@@ -627,13 +634,40 @@ class LanginfoCommand: + # Case to handle input like zh_CN, pt_BR + elif lang in whitelisted_locales and len(lang) > 3 and lang.find("_") != -1: + list_pkgs = get_matches_from_repo(langpack_pkgs, lang) ++ # check RHEL7 release notes package ++ if lang.find("pt_BR") != -1: ++ relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "pt-BR" ++ if lang.find("zh_CN") != -1: ++ relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "zh-CN" ++ if lang.find("zh_TW") != -1: ++ relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "zh-TW" ++ for pkg in langpack_pkgs: ++ if pkg.find(relnotpkg) != -1: ++ list_pkgs.append(pkg) ++ break + # Case for full language name input like Japanese + elif len(lang) > 3 and lang.find("_") == -1: ++ if len(langname_to_lc(lang)) == 0: ++ print "Not a valid language name" ++ return 0, [""] ++ + list_pkgs = get_matches_from_repo(langpack_pkgs, langname_to_lc(lang)) ++ # check RHEL7 release notes package ++ relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + langname_to_lc(lang) ++ for pkg in langpack_pkgs: ++ if pkg.find(relnotpkg) != -1: ++ list_pkgs.append(pkg) ++ break + # General case to handle input like ja, ru, fr, it + else: + if lang.find("_") == -1: + list_pkgs = get_matches_from_repo(langpack_pkgs, lang) ++ # check RHEL7 release notes package ++ relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + lang ++ for pkg in langpack_pkgs: ++ if pkg.find(relnotpkg) != -1: ++ list_pkgs.append(pkg) ++ break + # Case to not process mr_IN or mai_IN locales + else: + list_pkgs = [] +-- +1.8.3.1 + diff --git a/SOURCES/yum-langpacks-0.4.2-Add-parser-for-libreoffice-langpacks.patch b/SOURCES/yum-langpacks-0.4.2-Add-parser-for-libreoffice-langpacks.patch new file mode 100644 index 0000000..e0823b3 --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-Add-parser-for-libreoffice-langpacks.patch @@ -0,0 +1,30 @@ +From 1a9dbf3127391086dad5e05d016e8dcdc0a55999 Mon Sep 17 00:00:00 2001 +From: Parag Nemade +Date: Fri, 22 Apr 2016 19:44:03 +0530 +Subject: [PATCH] Resolves:rh#1251388 - Add parser for libreoffice langpacks + +--- + langpacks.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/langpacks.py b/langpacks.py +index 9b235b7..9680953 100644 +--- a/langpacks.py ++++ b/langpacks.py +@@ -637,10 +637,13 @@ class LanginfoCommand: + # check RHEL7 release notes package + if lang.find("pt_BR") != -1: + relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "pt-BR" ++ list_pkgs.append("libreoffice-langpack-pt-BR") + if lang.find("zh_CN") != -1: + relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "zh-CN" ++ list_pkgs.append("libreoffice-langpack-zh-Hans") + if lang.find("zh_TW") != -1: + relnotpkg = "Red_Hat_Enterprise_Linux-Release_Notes-7-" + "zh-TW" ++ list_pkgs.append("libreoffice-langpack-zh-Hant") + for pkg in langpack_pkgs: + if pkg.find(relnotpkg) != -1: + list_pkgs.append(pkg) +-- +1.8.3.1 + diff --git a/SOURCES/yum-langpacks-0.4.2-fix-anaconda-installation-packages.patch b/SOURCES/yum-langpacks-0.4.2-fix-anaconda-installation-packages.patch new file mode 100644 index 0000000..b0e4b04 --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-fix-anaconda-installation-packages.patch @@ -0,0 +1,90 @@ +diff --git a/langpacks.py b/langpacks.py +index e1225c6..b6578cd 100644 +--- a/langpacks.py ++++ b/langpacks.py +@@ -364,24 +364,67 @@ def add_deps_to_ts(conduit, po): + sack = conduit.getRepos().getPackageSack() + yb = conduit._base + for lang in langs: +- pkgs = get_matches(sack, list = map(lambda x: x % (lang,), conds)) +- if not pkgs and lang != '*': +- shortlang = lang.split('_')[0] +- pkgs = get_matches(sack, list = map(lambda x: x % (shortlang,), conds)) +- for pkg in pkgs: +- if yb.rpmdb.searchNevra(name=pkg.name): +- continue +- if yb.tsInfo.matchNaevr(name=pkg.name): +- continue +- if hasattr(conduit, 'registerPackageName'): +- conduit.registerPackageName("yum-langpacks") +- try: +- yb.install(pattern=pkg.name) +- if lang not in langinstalled: +- langinstalled.append(lang) +- except yum.Errors.YumBaseError: +- conduit.info(5,"Failed to install package %s" % (pkg.name,)) +- continue ++ lang = lang[:-6] ++ if lang.find("zh_CN") != -1 and po.name.find("man-pages") != -1: ++ try: ++ yb.install(pattern="man-pages-zh-CN") ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package man-pages-zh-CN") ++ continue ++ if lang.find("zh_CN") != -1 and po.name.find("libreoffice-core") != -1: ++ try: ++ yb.install(pattern="libreoffice-langpack-zh-Hans") ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package libreoffice-langpack-zh-Hans") ++ continue ++ # This is strange case where pt_BR works but not zh_CN, hardcode this ++ if lang.find("zh_CN") != -1 and po.name.find("gimp-help") != -1: ++ try: ++ yb.install(pattern="gimp-help-zh_CN") ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package gimp-help-zh_CN") ++ continue ++ if lang.find("zh_TW") != -1 and po.name.find("libreoffice-core") != -1: ++ try: ++ yb.install(pattern="libreoffice-langpack-zh-Hant") ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package libreoffice-langpack-zh-Hant") ++ continue ++ if lang.find("pt_BR") != -1 and po.name.find("libreoffice-core") != -1: ++ try: ++ yb.install(pattern="libreoffice-langpack-pt-BR") ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package libreoffice-langpack-zh-Hant") ++ continue ++ else: ++ pkgs = get_matches(sack, list = map(lambda x: x % (lang,), conds)) ++ if not pkgs and lang != '*': ++ shortlang = lang.split('_')[0] ++ pkgs = get_matches(sack, list = map(lambda x: x % (shortlang,), conds)) ++ for pkg in pkgs: ++ if yb.rpmdb.searchNevra(name=pkg.name): ++ continue ++ if yb.tsInfo.matchNaevr(name=pkg.name): ++ continue ++ if hasattr(conduit, 'registerPackageName'): ++ conduit.registerPackageName("yum-langpacks") ++ try: ++ yb.install(pattern=pkg.name) ++ if lang not in langinstalled: ++ langinstalled.append(lang) ++ except yum.Errors.YumBaseError: ++ conduit.info(5,"Failed to install package %s" % (pkg.name,)) ++ continue + + def remove_deps_from_ts(conduit, po): + conds = conditional_pkgs[po.name] diff --git a/SOURCES/yum-langpacks-0.4.2-fix-langinfo-command.patch b/SOURCES/yum-langpacks-0.4.2-fix-langinfo-command.patch new file mode 100644 index 0000000..2e56556 --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-fix-langinfo-command.patch @@ -0,0 +1,101 @@ +diff -urN yum-langpacks-0.4.2.old/langpacks.py yum-langpacks-0.4.2/langpacks.py +--- yum-langpacks-0.4.2.old/langpacks.py 2013-10-08 14:22:25.000000000 +0530 ++++ yum-langpacks-0.4.2/langpacks.py 2013-11-15 14:13:33.966937576 +0530 +@@ -56,7 +56,7 @@ + + langs = [] + langinstalled = [] +- ++whitelisted_locales = ['en_AU', 'en_CA', 'en_GB', 'pt_BR', 'pt_PT', 'zh_CN', 'zh_TW'] + conditional_pkgs = {} + + def _setup_conditional_pkgs(repos): +@@ -127,7 +127,7 @@ + if lname not in skip_pkg_list: + langlist.append(lname) + +- return langlist ++ return (seen, langlist) + + def lc_to_langname(lc): + return langtable.language_name(languageId=lc, languageIdQuery="en").encode("UTF-8") +@@ -297,6 +297,35 @@ + uniq_list.append(wover) + return sorted(uniq_list) + ++def get_matches_from_repo(langpack_pkgs, lang): ++ avl_langpack_pkgs = [] ++ #Check if lang is empty, case like input mara, marat ++ if len(lang) == 0: ++ return avl_langpack_pkgs ++ lname = lc_to_langname(lang) ++ lang = "-" + lang ++ for pkgs in langpack_pkgs: ++ if len(lang) < 5 and lang.find("_") == -1: ++ if pkgs.find(lang, len(pkgs)-len(lang), len(pkgs)) > 0 : ++ avl_langpack_pkgs.append(pkgs) ++ if lname: ++ if pkgs.find(lname, len(pkgs)-len(lname), len(pkgs)) > 0 : ++ avl_langpack_pkgs.append(pkgs) ++ if len(lang) > 4 and lang.find("_") != -1: ++ mainlang = lang[0:lang.find("_")] ++ if pkgs.find(lang, len(pkgs)-len(lang), len(pkgs)) > 0 : ++ avl_langpack_pkgs.append(pkgs) ++ # if input pt_BR then show for pt and pt_BR ++ # if input zh_CN then show for zh and zh_CN ++ elif pkgs.find(mainlang, len(pkgs)-len(mainlang), len(pkgs)) > 0 : ++ avl_langpack_pkgs.append(pkgs) ++ ++ if lname: ++ if pkgs.find(lname, len(pkgs)-len(lname), len(pkgs)) > 0 : ++ avl_langpack_pkgs.append(pkgs) ++ ++ return sorted(avl_langpack_pkgs) ++ + def get_matches_from_ts(lang, base = None): + yb = base + sack = base.pkgSack +@@ -574,13 +603,27 @@ + def doCommand(self, base, basecmd, extcmds): + base.repos.doSetup() + _setup_conditional_pkgs(base.repos.listEnabled()) ++ (langpack_pkgs, ra_list) = read_available_langpacks(base) ++ + for lang in extcmds: +- print "Language-Id={0}".format(lang) +- if len(lang) > 3 and lang.find("_") == -1: +- list_pkgs = get_matches_from_ts(langname_to_lc(lang), base) ++ print "Language-Id={0}".format(lang) ++ if len(lang) == 1: ++ print "Not a valid input" ++ return 0, [""] ++ # Case to handle input like zh_CN, pt_BR ++ elif lang in whitelisted_locales and len(lang) > 3 and lang.find("_") != -1: ++ list_pkgs = get_matches_from_repo(langpack_pkgs, lang) ++ # Case for full language name input like Japanese ++ elif len(lang) > 3 and lang.find("_") == -1: ++ list_pkgs = get_matches_from_repo(langpack_pkgs, langname_to_lc(lang)) ++ # General case to handle input like ja, ru, fr, it + else: +- list_pkgs = get_matches_from_ts(lang, base) +- for pkg in set(list_pkgs): ++ if lang.find("_") == -1: ++ list_pkgs = get_matches_from_repo(langpack_pkgs, lang) ++ # Case to not process mr_IN or mai_IN locales ++ else: ++ list_pkgs = [] ++ for pkg in list_pkgs: + print " " + pkg + if len(list_pkgs) == 0: + print "No langpacks to show for languages: {0}".format(lang) +@@ -603,8 +646,8 @@ + base.repos.doSetup() + _setup_conditional_pkgs(base.repos.listEnabled()) + +- list = read_available_langpacks(base) +- langlist = get_unique_language_names(list) ++ (language_packs, ra_list) = read_available_langpacks(base) ++ langlist = get_unique_language_names(ra_list) + + if not extcmds: + print "Displaying all available language:-" diff --git a/SOURCES/yum-langpacks-0.4.2-fix-langlist-command.patch b/SOURCES/yum-langpacks-0.4.2-fix-langlist-command.patch new file mode 100644 index 0000000..d44a87b --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-fix-langlist-command.patch @@ -0,0 +1,22 @@ +diff -urN yum-langpacks-0.4.2/langpacks.py yum-langpacks-0.4.2.new/langpacks.py +--- yum-langpacks-0.4.2/langpacks.py 2015-02-24 14:15:49.684389233 +0530 ++++ yum-langpacks-0.4.2.new/langpacks.py 2015-02-24 14:17:09.517381490 +0530 +@@ -595,10 +595,14 @@ + + def doCommand(self, base, basecmd, extcmds): + list = read_installed_langpacks() +- print "Installed languages:" +- for item in list: +- if not item.startswith("#"): +- print "\t" + lc_to_langname(item) ++ if list: ++ print "Installed languages:" ++ for item in list: ++ if not item.startswith("#"): ++ print "\t" + lc_to_langname(item) ++ else: ++ print("No langpacks installed") ++ + return 0, [""] + + class LanginfoCommand: diff --git a/SOURCES/yum-langpacks-0.4.2-fix-zh_CN-locale-packages.patch b/SOURCES/yum-langpacks-0.4.2-fix-zh_CN-locale-packages.patch new file mode 100644 index 0000000..ea49220 --- /dev/null +++ b/SOURCES/yum-langpacks-0.4.2-fix-zh_CN-locale-packages.patch @@ -0,0 +1,60 @@ +--- yum-langpacks-0.4.2.old/langpacks.py 2014-11-20 23:09:11.495254242 +0530 ++++ yum-langpacks-0.4.2/langpacks.py 2014-11-20 18:03:55.000000000 +0530 +@@ -311,18 +311,22 @@ + if lname: + if pkgs.find(lname, len(pkgs)-len(lname), len(pkgs)) > 0 : + avl_langpack_pkgs.append(pkgs) +- if len(lang) > 4 and lang.find("_") != -1: +- mainlang = lang[0:lang.find("_")] +- if pkgs.find(lang, len(pkgs)-len(lang), len(pkgs)) > 0 : +- avl_langpack_pkgs.append(pkgs) +- # if input pt_BR then show for pt and pt_BR +- # if input zh_CN then show for zh and zh_CN +- elif pkgs.find(mainlang, len(pkgs)-len(mainlang), len(pkgs)) > 0 : +- avl_langpack_pkgs.append(pkgs) + +- if lname: +- if pkgs.find(lname, len(pkgs)-len(lname), len(pkgs)) > 0 : +- avl_langpack_pkgs.append(pkgs) ++ if len(lang) > 4: ++ if lang.find("_") != -1: ++ mainlang = lang[0:lang.find("_")] ++ if lang.find("_CN") != -1 and pkgs.find("-CN") != -1: ++ avl_langpack_pkgs.append(pkgs) ++ if pkgs.find(lang, len(pkgs)-len(lang), len(pkgs)) > 0: ++ avl_langpack_pkgs.append(pkgs) ++ # if input pt_BR then show for pt and pt_BR ++ # if input zh_CN then show for zh and zh_CN ++ elif pkgs.find(mainlang, len(pkgs)-len(mainlang), len(pkgs)) > 0: ++ avl_langpack_pkgs.append(pkgs) ++ ++ if lname: ++ if pkgs.find(lname, len(pkgs)-len(lname), len(pkgs)) > 0: ++ avl_langpack_pkgs.append(pkgs) + + return sorted(avl_langpack_pkgs) + +@@ -414,6 +418,11 @@ + if p not in pkgmatches: + pkgmatches.append(p) + ++ # This is special case to cover package name man-pages-zh-CN ++ # which should have been named as man-pages-zh_CN ++ if lang.find("zh_CN") != -1: ++ pkgmatches.append("man-pages-zh-CN") ++ + pkgs = get_matches(sack, pkgmatches) + for pkg in pkgs: + if yb.rpmdb.searchNevra(name=pkg.name): +@@ -446,6 +455,11 @@ + if p not in pkgmatches: + pkgmatches.append(p) + ++ # This is special case to cover package name man-pages-zh-CN ++ # which should have been named as man-pages-zh_CN ++ if lang.find("zh_CN") != -1: ++ pkgmatches.append("man-pages-zh-CN") ++ + pkgs = get_matches(yb.rpmdb, pkgmatches) + for pkg in pkgs: + if conduit and hasattr(conduit, 'registerPackageName'): diff --git a/SPECS/yum-langpacks.spec b/SPECS/yum-langpacks.spec new file mode 100644 index 0000000..231b9b0 --- /dev/null +++ b/SPECS/yum-langpacks.spec @@ -0,0 +1,176 @@ +Summary: Langpacks plugin for yum +Name: yum-langpacks +Version: 0.4.2 +Release: 7%{?dist} +License: GPLv2+ +Group: Development/Tools +Source0: https://fedorahosted.org/releases/y/u/%{name}/%{name}-%{version}.tar.gz +# upstream commited patches +Patch0: yum-langpacks-0.4.2-fix-langinfo-command.patch +Patch1: yum-langpacks-0.4.2-fix-zh_CN-locale-packages.patch +Patch2: yum-langpacks-0.4.2-fix-langlist-command.patch +Patch3: yum-langpacks-0.4.2-Add-parser-for-Release_Notes-packages.patch +Patch4: yum-langpacks-0.4.2-Add-parser-for-libreoffice-langpacks.patch +Patch5: yum-langpacks-0.4.2-fix-anaconda-installation-packages.patch + +URL: https://fedorahosted.org/yum-langpacks/ +BuildArch: noarch +BuildRequires: python-setuptools +BuildRequires: python2-devel +Requires: yum >= 3.0 +Requires: langtable-python + +%description +Yum-langpacks is a plugin for YUM that looks for langpacks for your native +language for packages you install. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 + +%build + +%install +%{__python2} setup.py install --skip-build --root %{buildroot} +gzip yum-langpacks.8 +mkdir -p %{buildroot}%{_mandir}/man8 +install -p -m 644 yum-langpacks.8.gz %{buildroot}%{_mandir}/man8/yum-langpacks.8.gz + +%files +%doc README COPYING +%{python2_sitelib}/* +%{_prefix}/lib/yum-plugins/langpacks.py* +%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/langpacks.conf +%{_mandir}/man8/yum-langpacks.8.gz + +%changelog +* Tue May 10 2016 Parag Nemade - 0.4.2-7 +- Resolves:rh#1251388 - Add parser for anaconda package installation + +* Wed May 04 2016 Parag Nemade - 0.4.2-6 +- Resolves:rh#1251388 - Add parser for anaconda package installation + +* Fri Apr 22 2016 Parag Nemade - 0.4.2-5 +- Resolves:rh#1192870 - Fix langlist when installed_langpacks not available +- Resolves:rh#1263241 - Add parser for Release_Notes packages +- Resolves:rh#1251388 - Add parser for libreoffice langpacks + +* Wed Jun 03 2015 Parag Nemade - 0.4.2-4 +- Resolves:rh#1165731: man-pages-zh-CN is not installed for zh_CN + +* Fri Dec 27 2013 Daniel Mach - 0.4.2-3 +- Mass rebuild 2013-12-27 + +* Wed Nov 20 2013 Parag Nemade - 0.4.2-2 +- Resolves:rh#1029789: yum langinfo only lists langpacks for installed packages + +* Tue Oct 08 2013 Parag Nemade - 0.4.2-1 +- Resolves:rh#1013514: Some more optimization for yum langavailable shows nothing + +* Mon Sep 30 2013 Parag Nemade - 0.4.1-3 +- Resolves:rh#1013514: Fixed yum langavailable shows nothing + +* Wed Sep 25 2013 Parag Nemade - 0.4.1-2 +- Resolves:rh#1011674: Fix issue of yum-langpacks commands that slows down yum runs + +* Thu Sep 12 2013 Parag Nemade - 0.4.1-1 +- Fix yum langavailable command output (rh#1006695) + +* Wed Sep 11 2013 Parag Nemade - 0.4.0-3 +- Add Requires: langtable-python (rh#1006417) + +* Tue Sep 10 2013 Parag Nemade - 0.4.0-2 +- use correct macro for python command in %%install +- Add BR: python2-devel + +* Tue Sep 10 2013 Parag Nemade - 0.4.0-1 +- update to 0.4.0 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 03 2013 Parag Nemade - 0.3.4-1 +- update to 0.3.4 + +* Tue Apr 16 2013 Parag Nemade - 0.3.1-2 +- Added langinfo command (rh#952578) + +* Fri Mar 29 2013 Jens Petersen - 0.3.1-1 +- update to 0.3.1 +- have to be root also to run langinstall (Parag Nemade, #928833) + +* Fri Feb 15 2013 Fedora Release Engineering - 0.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 19 2012 Jens Petersen - 0.3.0-4 +- update source and project urls +- minor spec cleanup + +* Tue Sep 25 2012 Bill Nottingham - 0.3.0-3 +- fix traceback on groupremove (#858175) + +* Mon Aug 13 2012 Bill Nottingham - 0.3.0-2 +- fix groupinstall of langonly groups (#840885) +- fix plugin type for use in yumex, elsewhere (#847502) + +* Wed Aug 08 2012 Bill Nottingham - 0.3.0-1 +- add langinstall/langremove/langlist commands (#840885) + +* Thu Jun 21 2012 Bill Nottingham - 0.2.5-1 +- don't exit on XML errors (#825811, #830739, ) + +* Thu Dec 15 2011 Bill Nottingham - 0.2.4-2 +- fix bad interaction with -C (#758574, ) + +* Wed Oct 26 2011 Bill Nottingham - 0.2.4-1 +- don't crash when there are no groups (#749108) + +* Mon Oct 24 2011 Bill Nottingham - 0.2.3-1 +- use compressed group metadata where possible (#748186) + +* Mon Mar 14 2011 Bill Nottingham - 0.2.2-1 +- don't match in-progress updates as removals (#684817) + +* Fri Mar 11 2011 Bill Nottingham - 0.2.1-1 +- fix it to work on provides, not just names (#681747) + +* Tue Mar 08 2011 Bill Nottingham - 0.2.0-1 +- update to new version that works on metadata (#681747, #682114) + +* Tue Feb 08 2011 Fedora Release Engineering - 0.1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 0.1.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sat Apr 24 2010 James Antill - 0.1.5-2 +- Fix the problems where langpacks could delete the system. +- Resolves: bug#585424 +- Register the package name, for yum history etc. + +* Thu Mar 11 2010 Jens Petersen - 0.1.5-1 +- fixes and improvements from James Antill (#571845): + - Move print's => yum logger uses. + - Move tsinfo ops to real install/remove ops, so deps will be solved + - Handles erase properly. + - Doesn't force upgrade langpacks on upgrades/downgrades/etc. + - Doesn't try to install multiple versions of langpacks. (#569352) + - Move from d.has_key(v) to "v in d", as py3 removes the former. + +* Tue Dec 8 2009 Jens Petersen - 0.1.4-2 +- fix source url (#536737) +- drop python requires (#536737) +- drop buildroot and cleaning of buildroot (#536737) +- use global (#536737) + +* Mon Nov 16 2009 Jens Petersen - 0.1.4-1 +- BR python-setuptools (#536737) +- remove shebang from langpacks.py (#536737) + +* Wed Nov 11 2009 Jens Petersen - 0.1.3-1 +- initial package (#433512)