From a783b70ac3e858b9e0563b0d09f22e33f70ff0c5 Mon Sep 17 00:00:00 2001 From: James Antill Date: Apr 22 2010 16:59:58 +0000 Subject: - Latest yum-3_2_X head. - Add deselections. - Add simple depsolve into compare_providers - Speedup distro-sync blah. --- diff --git a/yum-HEAD.patch b/yum-HEAD.patch index 738a3c5..236adfe 100644 --- a/yum-HEAD.patch +++ b/yum-HEAD.patch @@ -1,7 +1,7 @@ From cc5d13a39dcefbc401255d224c8700f4f907f285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 22 Mar 2010 19:31:43 +0200 -Subject: [PATCH 01/67] Fix unknown syslog facility mapping. +Subject: [PATCH 01/72] Fix unknown syslog facility mapping. --- yum/logginglevels.py | 2 +- @@ -27,7 +27,7 @@ index 6c23f88..3d82b55 100644 From 11dfde5e065e21c5bdb25a087501b90afe0b0dab Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 23 Mar 2010 10:09:20 -0400 -Subject: [PATCH 02/67] make sure we aren't overwriting the value of 'keys' +Subject: [PATCH 02/72] make sure we aren't overwriting the value of 'keys' this determines how many args we pass back in our yielded results never noticed it b/c nothing in yum uses keys=True - but it broke PK @@ -72,7 +72,7 @@ index ea73549..0aaa819 100644 From c6f4d336bd6be5cdb575c94628da2eb7bcb900f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 22 Mar 2010 19:56:44 +0200 -Subject: [PATCH 03/67] Use LOG_USER as default syslog facility everywhere in base. +Subject: [PATCH 03/72] Use LOG_USER as default syslog facility everywhere in base. --- yum/config.py | 2 +- @@ -98,7 +98,7 @@ index ad8db7e..cb01306 100644 From 40a53f0d3a8dd8ad4fb4802890e4f30b0214f3f9 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Wed, 24 Mar 2010 12:37:03 +0000 -Subject: [PATCH 04/67] l10n: Updates to Finnish (fi) translation +Subject: [PATCH 04/72] l10n: Updates to Finnish (fi) translation Transmitted-via: Transifex (www.transifex.net) --- @@ -708,7 +708,7 @@ index 4347eba..4240973 100644 From 2d8c8f210292766cc5389ac5700c3fa7fe1c8342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 24 Mar 2010 18:25:35 +0200 -Subject: [PATCH 05/67] Fix syslog_indent and syslog_facility settings, improve syslog format. +Subject: [PATCH 05/72] Fix syslog_indent and syslog_facility settings, improve syslog format. --- yum/logginglevels.py | 22 +++++++++------------- @@ -785,7 +785,7 @@ index 3d82b55..3a62945 100644 From a479fa2fca23ca0173cc06f7e4e24305df0db3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 24 Mar 2010 19:19:30 +0200 -Subject: [PATCH 06/67] Add support for remote syslogs with host:port values for syslog_device. +Subject: [PATCH 06/72] Add support for remote syslogs with host:port values for syslog_device. --- yum/logginglevels.py | 27 +++++++++++++++++---------- @@ -836,7 +836,7 @@ index 3a62945..1ab11db 100644 From b9484bfd83e3c0f83389a649a4cfd7b50b8c2b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 24 Mar 2010 22:04:35 +0200 -Subject: [PATCH 07/67] Document syslog_ident and syslog_facility config parameters. +Subject: [PATCH 07/72] Document syslog_ident and syslog_facility config parameters. --- docs/yum.conf.5 | 4 ++-- @@ -867,7 +867,7 @@ index cca3db7..a4789da 100644 From 311221f71bba055a623565996e981156265789ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 24 Mar 2010 23:31:28 +0200 -Subject: [PATCH 08/67] Make syslog_device configurable. +Subject: [PATCH 08/72] Make syslog_device configurable. --- docs/yum.conf.5 | 6 ++++++ @@ -941,7 +941,7 @@ index cb01306..c82fabc 100644 From 203a39125e1de20500739c94e7c92d074d19790f Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 4 Mar 2010 17:17:30 -0500 -Subject: [PATCH 09/67] Add distro-sync command, to "force update" to the latest versions. +Subject: [PATCH 09/72] Add distro-sync command, to "force update" to the latest versions. This should be safe to go in for 3.2.27, as it's an entirely self contained command ... I've tried it here going on multiple directions, @@ -1072,7 +1072,7 @@ index 35bd97c..88c047f 100644 From cb59d97fba6765d03a908219d5258b3896f2ecb1 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 11 Mar 2010 11:54:41 -0500 -Subject: [PATCH 10/67] Add documentation for distro-sync command. +Subject: [PATCH 10/72] Add documentation for distro-sync command. --- docs/yum.8 | 9 +++++++++ @@ -1112,7 +1112,7 @@ index 8d42d9d..ff7ed8f 100644 From a33aa64f23ac3c197871e9100c99e9cccc3f58b1 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 11 Mar 2010 11:47:33 -0500 -Subject: [PATCH 11/67] Add a little more documentation to get_applicable_notices() +Subject: [PATCH 11/72] Add a little more documentation to get_applicable_notices() --- yum/update_md.py | 4 +++- @@ -1146,7 +1146,7 @@ index 54d4cd7..fc051b0 100644 From 008d74a13173bcb7005e7150ebc1367720078452 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 11 Mar 2010 14:47:40 -0500 -Subject: [PATCH 12/67] Return an error code if yum can't install any of the specified packages +Subject: [PATCH 12/72] Return an error code if yum can't install any of the specified packages People want a bash scriptable way to say "X should be installed". So with this patch: @@ -1205,7 +1205,7 @@ index a34d205..cebbae3 100644 From b3ca56aed8f2949b73d07bf3c1aa90ae20793848 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 16 Mar 2010 17:37:04 -0400 -Subject: [PATCH 13/67] Add the provides data for each pkg, to format_missing_requires. Add relations. +Subject: [PATCH 13/72] Add the provides data for each pkg, to format_missing_requires. Add relations. --- output.py | 38 +++++++++++++++++++++++++++++++++----- @@ -1280,7 +1280,7 @@ index b09730a..aa5dc4d 100755 From f2c3967ea8185541a3c68fad754d19b2dfd71d35 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 22 Mar 2010 14:21:11 -0400 -Subject: [PATCH 14/67] Don't traceback when we can't open the history DB (non-root users by default +Subject: [PATCH 14/72] Don't traceback when we can't open the history DB (non-root users by default now), BZ 575917. Provide a .readable interface for callers to check. @@ -1418,7 +1418,7 @@ index 2707cac..3ef5f74 100644 From 7d04b0e6816cfb27e769bb19f44811f88523ed2b Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 22 Mar 2010 17:43:25 -0400 -Subject: [PATCH 15/67] Minor description fixup +Subject: [PATCH 15/72] Minor description fixup --- yum.spec | 2 +- @@ -1444,7 +1444,7 @@ index 29870e5..3a724cd 100644 From 1c2b28e36ef1d7051428ea57446cf800b388f36e Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 25 Mar 2010 11:29:06 -0400 -Subject: [PATCH 16/67] Show if transactions have error output, in history list +Subject: [PATCH 16/72] Show if transactions have error output, in history list --- docs/yum.8 | 2 ++ @@ -1485,7 +1485,7 @@ index aa5dc4d..c4fde7c 100755 From 5579a905155a6be3171f6968a24e691bafcac40b Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 25 Mar 2010 11:53:51 -0400 -Subject: [PATCH 17/67] Fix login user column output length, for history summary +Subject: [PATCH 17/72] Fix login user column output length, for history summary --- output.py | 2 +- @@ -1511,7 +1511,7 @@ index c4fde7c..7b09695 100755 From 9c3b0e9ae6b86cd96ee8751fc9e131e063724b23 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 25 Mar 2010 15:57:24 -0400 -Subject: [PATCH 18/67] Add groupremove_leaf_only option +Subject: [PATCH 18/72] Add groupremove_leaf_only option --- docs/yum.8 | 3 +++ @@ -1610,7 +1610,7 @@ index 11c9f29..f654d84 100644 From e0175dae0b4eb45f4c2b14f816f1145553ef0e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 26 Mar 2010 20:44:37 +0200 -Subject: [PATCH 19/67] Add distro-sync completion. +Subject: [PATCH 19/72] Add distro-sync completion. --- etc/yum.bash | 6 +++--- @@ -1651,7 +1651,7 @@ index 5dfdb64..c71344e 100644 From 1f800dfd4b8c7adb96c653ebd41f7d6b3869d569 Mon Sep 17 00:00:00 2001 From: Timur Malikin Date: Sun, 28 Mar 2010 14:56:53 +0000 -Subject: [PATCH 20/67] l10n: Updates to Russian (ru) translation +Subject: [PATCH 20/72] l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) --- @@ -1708,7 +1708,7 @@ index a1b946e..7c5137d 100644 From 305cb4c7c937dd2ea59180c4f08c0635c614e9c9 Mon Sep 17 00:00:00 2001 From: Timur Malikin Date: Sun, 28 Mar 2010 14:58:49 +0000 -Subject: [PATCH 21/67] l10n: Updates to Russian (ru) translation +Subject: [PATCH 21/72] l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) --- @@ -1744,7 +1744,7 @@ index 7c5137d..44c4591 100644 From 32fa4bdafb9c820af8f6bbbbc75cea976725e247 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 29 Mar 2010 22:25:18 -0400 -Subject: [PATCH 22/67] add --setopt option to yum cli +Subject: [PATCH 22/72] add --setopt option to yum cli this allows setting any config option by name. Either globally or in any repo config. @@ -1882,7 +1882,7 @@ index 7b84a61..88d4467 100644 From d38a25828b7699a6ffdaaecb06ba223ff2d24edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 30 Mar 2010 18:47:35 +0300 -Subject: [PATCH 23/67] Add --setopt to completions. +Subject: [PATCH 23/72] Add --setopt to completions. --- etc/yum.bash | 4 ++-- @@ -1917,7 +1917,7 @@ index c71344e..966e33a 100644 From ecfd7b5e643bab7337d44c981157768b86cab439 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 30 Mar 2010 14:31:11 -0400 -Subject: [PATCH 24/67] Test for repo_setopts, only there for cli +Subject: [PATCH 24/72] Test for repo_setopts, only there for cli --- yum/__init__.py | 2 +- @@ -1943,7 +1943,7 @@ index 88d4467..f7dd8f2 100644 From 3e1d76650dc1c5c6128a75230db80d50e56fde65 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 30 Mar 2010 14:39:34 -0400 -Subject: [PATCH 25/67] change out the repo_setopts fix so instead of hasattr'ing it - we +Subject: [PATCH 25/72] change out the repo_setopts fix so instead of hasattr'ing it - we are adding an empty one. --- @@ -1980,7 +1980,7 @@ index f7dd8f2..cbb0dfa 100644 From 4f267e0e7eca1898ff57a546e8daa9cf89450e20 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 30 Mar 2010 16:54:37 -0400 -Subject: [PATCH 26/67] minor change so that if there are any empty lines in the gpgkey file we're +Subject: [PATCH 26/72] minor change so that if there are any empty lines in the gpgkey file we're checking that we don't traceback. We won't find a key, but at least we don't traceback b/c of it. @@ -2009,7 +2009,7 @@ index f8dccdb..454768a 100644 From 01c8ad02dedeb47842d4a01593abcdba3617904a Mon Sep 17 00:00:00 2001 From: Misha Shnurapet Date: Thu, 1 Apr 2010 17:49:34 +0000 -Subject: [PATCH 27/67] l10n: Updates to Russian (ru) translation +Subject: [PATCH 27/72] l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) --- @@ -3908,7 +3908,7 @@ index 44c4591..47cd5ba 100644 From 0ac90c93ee164ea24951926e8b26ae897ec270af Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 1 Apr 2010 15:29:18 -0400 -Subject: [PATCH 28/67] fix the documentation to be on the correct methods. +Subject: [PATCH 28/72] fix the documentation to be on the correct methods. --- yum/packageSack.py | 31 ++++++++++++++++--------------- @@ -4010,7 +4010,7 @@ index 1278cba..723f0cd 100644 From 204f47d96e8c585b96da60adf4ef94d8211be168 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 30 Mar 2010 15:48:29 -0400 -Subject: [PATCH 29/67] Speedup repeated calls to .install() with a pattern, via. returnPackages(). +Subject: [PATCH 29/72] Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded in sqlite. @@ -4173,7 +4173,7 @@ index 1d6c764..9a95b7b 100644 From ae29fa070f83cf2e11b06ea938468e51eac00eba Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 30 Mar 2010 18:47:49 -0400 -Subject: [PATCH 30/67] Add searchProvides() into the false positive cache +Subject: [PATCH 30/72] Add searchProvides() into the false positive cache --- yum/sqlitesack.py | 7 ++++++- @@ -4204,7 +4204,7 @@ index 9a95b7b..d387c76 100644 From 1f76f743d187226461a226358147c37d42a8fab1 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 30 Mar 2010 18:52:39 -0400 -Subject: [PATCH 31/67] Pkgname caching for rpmdb.returnPackages() so update is as fast as install +Subject: [PATCH 31/72] Pkgname caching for rpmdb.returnPackages() so update is as fast as install --- yum/rpmsack.py | 31 ++++++++++++++++++++++++++----- @@ -4316,7 +4316,7 @@ index 4580150..4c17b67 100644 From 2a9161a8b4bfc121fa8245700df355c63b58b442 Mon Sep 17 00:00:00 2001 From: James Antill Date: Wed, 31 Mar 2010 00:12:09 -0400 -Subject: [PATCH 32/67] Should work around the reget MD problems +Subject: [PATCH 32/72] Should work around the reget MD problems --- yum/yumRepo.py | 8 ++++++++ @@ -4351,7 +4351,7 @@ index 8d7617e..b67b897 100644 From 9ef0326b38b2098d5bac9442ec4eac2fb0f06bb0 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 1 Apr 2010 18:25:50 -0400 -Subject: [PATCH 33/67] Fix make check due to groupremove_leaf_only +Subject: [PATCH 33/72] Fix make check due to groupremove_leaf_only --- test/testbase.py | 1 + @@ -4376,7 +4376,7 @@ index 0b05812..b4ce5d7 100644 From 3d629ee9686dc972ebd431ee0db9c5912e4f24f3 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 1 Apr 2010 18:26:16 -0400 -Subject: [PATCH 34/67] Add testcase for dcbd and lldpad in F13 +Subject: [PATCH 34/72] Add testcase for dcbd and lldpad in F13 --- test/depsolvetests.py | 15 +++++++++++++++ @@ -4412,7 +4412,7 @@ index 02bbf8f..7af3f16 100644 From 20b93715c0cf57068c5714699a2f2065a0489e2c Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 1 Apr 2010 18:29:35 -0400 -Subject: [PATCH 35/67] Use TMPDIR for people who don't want to use /var/tmp, yum#337 +Subject: [PATCH 35/72] Use TMPDIR for people who don't want to use /var/tmp, yum#337 --- yum/__init__.py | 6 +++++- @@ -4448,7 +4448,7 @@ index cbb0dfa..917fa1f 100644 From 7a56e51a1fa707d46f58ccb8d5687617d78795b6 Mon Sep 17 00:00:00 2001 From: James Antill Date: Sat, 3 Apr 2010 17:13:02 -0400 -Subject: [PATCH 36/67] Don't traceback when lock holder doesn't exist anymore +Subject: [PATCH 36/72] Don't traceback when lock holder doesn't exist anymore --- utils.py | 2 +- @@ -4474,7 +4474,7 @@ index dd6b642..e93facb 100644 From c6ffca42ae0c542e0c16ef7d5d2fbba1db1c5fb6 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 8 Apr 2010 11:27:45 -0400 -Subject: [PATCH 37/67] make rangecompare accept <, <=, >, >=, = instead of just letterflags and numerics +Subject: [PATCH 37/72] make rangecompare accept <, <=, >, >=, = instead of just letterflags and numerics makes certain types of comparisons simpler when coming from text. --- @@ -4560,7 +4560,7 @@ index a925027..b5f3566 100644 From 72e0bbb2d2dd704071e222b2b3cea86d31d22985 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 8 Apr 2010 11:28:45 -0400 -Subject: [PATCH 38/67] add a provides_for method to package objects +Subject: [PATCH 38/72] add a provides_for method to package objects so we can check if this package satisfies the specific requirement completely (including file deps). @@ -4608,7 +4608,7 @@ index 33cbc39..58be729 100644 From 8f7e8978263d9c60bdfa37abaf0c6a44ed42b46d Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 8 Apr 2010 14:05:25 -0400 -Subject: [PATCH 39/67] fix for testRL_dcbd1 unittest - +Subject: [PATCH 39/72] fix for testRL_dcbd1 unittest - When we're doing an install for dep - make sure what we're installing provides for the thing we need. this should really only ever happen on the obsolete pathway. @@ -4688,7 +4688,7 @@ index f654d84..48f77d5 100644 From c508ed6723b73b7606637376b374ee72e5afd42b Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 8 Apr 2010 16:22:04 -0400 -Subject: [PATCH 40/67] - clean up debug statement :( +Subject: [PATCH 40/72] - clean up debug statement :( - make provides_for use misc.re_primary_filename/dirname --- @@ -4731,7 +4731,7 @@ index 58be729..f4a00eb 100644 From 12a63c100f706738805cb0ead8852308be88027d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 8 Apr 2010 23:58:58 +0300 -Subject: [PATCH 41/67] Spelling fixes. +Subject: [PATCH 41/72] Spelling fixes. --- rpmUtils/oldUtils.py | 2 +- @@ -4833,7 +4833,7 @@ index d387c76..5887cb7 100644 From 0e58f4bbafd9e1701a33e3805015d647565239c4 Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 00:09:51 -0400 -Subject: [PATCH 42/67] Cleanup the docs for re_primary_*() to make them less confusing +Subject: [PATCH 42/72] Cleanup the docs for re_primary_*() to make them less confusing --- yum/misc.py | 9 ++++----- @@ -4886,7 +4886,7 @@ index f4a00eb..427893b 100644 From 1b6b585eab225209cfbfdc156eeb27197dfecedc Mon Sep 17 00:00:00 2001 From: skvidal Date: Fri, 9 Apr 2010 14:06:19 +0000 -Subject: [PATCH 43/67] l10n: Updates to Russian (ru) translation +Subject: [PATCH 43/72] l10n: Updates to Russian (ru) translation Transmitted-via: Transifex (www.transifex.net) --- @@ -5801,7 +5801,7 @@ index 47cd5ba..ad4391c 100644 From 8d3f214597e03e5f4e30c877351cf4926a241627 Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 00:17:36 -0400 -Subject: [PATCH 44/67] Allow users to see just specific version groups +Subject: [PATCH 44/72] Allow users to see just specific version groups --- yumcommands.py | 6 ++++++ @@ -5838,7 +5838,7 @@ index 88c047f..9bc06ad 100644 From 543344aa1346a5e3b37a6b813121f6078cfb9aa4 Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 15:59:07 -0400 -Subject: [PATCH 45/67] Add dynamic yumvars from the filesystem. +Subject: [PATCH 45/72] Add dynamic yumvars from the filesystem. --- docs/yum.conf.5 | 12 ++++++++++++ @@ -5922,7 +5922,7 @@ index d869a26..e13eb12 100644 From d2638b9d8b360713f9739a88dfa03e1e3ffab28b Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 16:14:27 -0400 -Subject: [PATCH 46/67] Remove bad assert: yum list blah\* +Subject: [PATCH 46/72] Remove bad assert: yum list blah\* --- yum/sqlitesack.py | 1 - @@ -5947,7 +5947,7 @@ index 5887cb7..8a4ec8b 100644 From 3ec0eb7fe87f339c71539636282c018d278d04c5 Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 16:46:08 -0400 -Subject: [PATCH 47/67] Disallow symlinks, for variables (although it is root only), and tweak docs +Subject: [PATCH 47/72] Disallow symlinks, for variables (although it is root only), and tweak docs Add the vars directory on install, to make it easier for users. Own the vars directory in the specfile. @@ -6039,7 +6039,7 @@ index e13eb12..ea8bcbf 100644 From cf43ce922a58f6514a7bc76cdc326a89134379fc Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 9 Apr 2010 16:59:16 -0400 -Subject: [PATCH 48/67] Add more docs for version command +Subject: [PATCH 48/72] Add more docs for version command --- docs/yum.8 | 20 +++++++++++++++++++- @@ -6090,7 +6090,7 @@ index d36b1cc..6761f1c 100644 From 7fc1a9491a0fc74ec9cf4e95f3c28a0e86c408cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 10 Apr 2010 13:47:48 +0300 -Subject: [PATCH 49/67] Add basic version completion. +Subject: [PATCH 49/72] Add basic version completion. --- etc/yum.bash | 9 ++++++++- @@ -6130,7 +6130,7 @@ index 966e33a..0fcba24 100644 From c46e474d6db8f1e1d9aff21de44a3325535cb24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 10 Apr 2010 13:58:43 +0300 -Subject: [PATCH 50/67] Clean up some unnecessary/redundant code. +Subject: [PATCH 50/72] Clean up some unnecessary/redundant code. --- rpmUtils/updates.py | 13 +++++-------- @@ -6197,7 +6197,7 @@ index ed64441..e45d70a 100644 From d3c698e03df6f664c67b61301320ebdc2dc11422 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 12 Apr 2010 11:50:55 -0400 -Subject: [PATCH 51/67] Do the pkgnames_loaded in the correct place, for _search +Subject: [PATCH 51/72] Do the pkgnames_loaded in the correct place, for _search --- yum/rpmsack.py | 7 ++++--- @@ -6235,7 +6235,7 @@ index 4c17b67..179b008 100644 From 62759284de079371407f4ba429f48a0be5a5589b Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 12 Apr 2010 11:53:17 -0400 -Subject: [PATCH 52/67] Do the pkgmatch_fails negative caching, in _search +Subject: [PATCH 52/72] Do the pkgmatch_fails negative caching, in _search --- yum/rpmsack.py | 10 ++++++++++ @@ -6297,7 +6297,7 @@ index 179b008..2b932cf 100644 From e45f29737d830587373e2b494fdcee95ad708e65 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 12 Apr 2010 11:56:00 -0400 -Subject: [PATCH 53/67] Don't integrate negative pkgnames with provides, probably fine but... +Subject: [PATCH 53/72] Don't integrate negative pkgnames with provides, probably fine but... --- yum/rpmsack.py | 6 ++++-- @@ -6379,7 +6379,7 @@ index 8a4ec8b..344a966 100644 From ade6d1655f790cc3be68eb8178d164f9c3e1cc3e Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 13 Apr 2010 11:50:28 -0400 -Subject: [PATCH 54/67] Move /var/lib/yum/vars to /etc/yum/vars as it's not yum generated +Subject: [PATCH 54/72] Move /var/lib/yum/vars to /etc/yum/vars as it's not yum generated --- Makefile | 2 +- @@ -6487,7 +6487,7 @@ index ea8bcbf..3e91735 100644 From 05c2b1e916f371b91f4bde35c1b447f6f6288818 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 13 Apr 2010 17:13:55 -0400 -Subject: [PATCH 55/67] Slight speed increase for repodiff, up/11 vs. up/12: 8:27 => 1:50 :) :) +Subject: [PATCH 55/72] Slight speed increase for repodiff, up/11 vs. up/12: 8:27 => 1:50 :) :) --- yum/packageSack.py | 9 +++++++-- @@ -6520,7 +6520,7 @@ index 723f0cd..7a5ce7a 100644 From 0a50151d301d187dcac3989733cd24e66a37f064 Mon Sep 17 00:00:00 2001 From: James Antill Date: Tue, 13 Apr 2010 17:20:37 -0400 -Subject: [PATCH 56/67] Minor correction to rest testing for pkgnames_loaded (harmless) +Subject: [PATCH 56/72] Minor correction to rest testing for pkgnames_loaded (harmless) --- yum/sqlitesack.py | 2 +- @@ -6546,7 +6546,7 @@ index 344a966..b5cea0e 100644 From 59f29da93ce4c75869c0a5fecc71f333c61aa54f Mon Sep 17 00:00:00 2001 From: James Antill Date: Wed, 14 Apr 2010 00:11:49 -0400 -Subject: [PATCH 57/67] Add a header to the automatic yum check output to make it more obvious. +Subject: [PATCH 57/72] Add a header to the automatic yum check output to make it more obvious. --- yum/__init__.py | 8 +++++++- @@ -6602,7 +6602,7 @@ index 9bc06ad..89c562c 100644 From b792f26a18906cf722f7354cc91e0c2e6679c471 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 14 Apr 2010 16:09:54 -0400 -Subject: [PATCH 58/67] new dump_xml methods for repodata and repomd and related changes +Subject: [PATCH 58/72] new dump_xml methods for repodata and repomd and related changes - add dump_xml methods to RepoData and RepoMD so we can write them back out @@ -6761,7 +6761,7 @@ index 0021d94..eab351a 100755 From 87f51be49f80ddcb3c7a0df56a106a048327a641 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 15 Apr 2010 08:56:10 -0400 -Subject: [PATCH 59/67] to_xml(revision) and make sure elem is None by default for RepoData objects. +Subject: [PATCH 59/72] to_xml(revision) and make sure elem is None by default for RepoData objects. --- yum/repoMDObject.py | 4 ++-- @@ -6796,7 +6796,7 @@ index eab351a..7a4593e 100755 From e27832b442d39b3cfb525bcdf6875a55bf890e45 Mon Sep 17 00:00:00 2001 From: James Antill Date: Wed, 14 Apr 2010 18:25:22 -0400 -Subject: [PATCH 60/67] Enable "big update" speedup, disable if a repo. doesn't have pkgfiles index. +Subject: [PATCH 60/72] Enable "big update" speedup, disable if a repo. doesn't have pkgfiles index. --- test/testbase.py | 11 +++++++++++ @@ -6946,7 +6946,7 @@ index e7b60de..cad36f4 100644 From 204a4d086e601cf4517cf39e23eaad49ac71eedf Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 01:32:19 -0400 -Subject: [PATCH 61/67] Add obsoleted and provides index checking, don't default to doing them though +Subject: [PATCH 61/72] Add obsoleted and provides index checking, don't default to doing them though --- yum/__init__.py | 19 ++++++++++++++++--- @@ -7069,7 +7069,7 @@ index e113802..e18df3f 100644 From 1f714fa2f00b1d92fc5636e58cf9ad97fd638b03 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 01:33:32 -0400 -Subject: [PATCH 62/67] Fix rpmdb.searchPrco() with "globs", can also affect getProvides() etc. +Subject: [PATCH 62/72] Fix rpmdb.searchPrco() with "globs", can also affect getProvides() etc. --- yum/rpmsack.py | 4 ++-- @@ -7097,7 +7097,7 @@ index e18df3f..eba1409 100644 From e8ce2ff4619b69d8ad244a5df5aeaf484076203b Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 12:37:51 -0400 -Subject: [PATCH 63/67] Fix the docs. for have_fast* +Subject: [PATCH 63/72] Fix the docs. for have_fast* Rename it from have_fastSearchFiles to have_fastReturnFileEntries to better reflect what it means. @@ -7342,7 +7342,7 @@ index cad36f4..d7d8859 100644 From 5f6c04f93ef6cf3272197560bb914ce5fd410155 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 12:54:42 -0400 -Subject: [PATCH 64/67] Add primary_only arg. to returnFileTypes(), use it from transactioninfo +Subject: [PATCH 64/72] Add primary_only arg. to returnFileTypes(), use it from transactioninfo sack so that we don't require filelists to be downloaded. --- @@ -7434,7 +7434,7 @@ index d7d8859..dfa34b3 100644 From 94d742bf395cc565cf3a0dca138608a9296b1303 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 13:18:18 -0400 -Subject: [PATCH 65/67] Add pkg.filterObsoleters(), so we don't have to create the provide +Subject: [PATCH 65/72] Add pkg.filterObsoleters(), so we don't have to create the provide tuple and test "backwards". Also convert callers. @@ -7545,7 +7545,7 @@ index eba1409..996416b 100644 From f9b8420f54162289d79e5c8b84291057758a609f Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 15 Apr 2010 15:11:32 -0400 -Subject: [PATCH 66/67] Add nocontexts to possible ts flag usage, when available +Subject: [PATCH 66/72] Add nocontexts to possible ts flag usage, when available --- yum/depsolve.py | 3 +++ @@ -7572,7 +7572,7 @@ index 8b02d7c..e62680f 100644 From f06b289b3e88cd22948f376509cd84d04263b7aa Mon Sep 17 00:00:00 2001 From: James Antill Date: Fri, 16 Apr 2010 09:32:53 -0400 -Subject: [PATCH 67/67] Rename filterObsoleters => obsoletedBy, before it goes public +Subject: [PATCH 67/72] Rename filterObsoleters => obsoletedBy, before it goes public --- yum/__init__.py | 4 ++-- @@ -7645,3 +7645,389 @@ index 996416b..7f5b233 100644 -- 1.6.6.1 + +From 2e262a88ef65eb6cd00f1944dc2a3631a7cf9b1f Mon Sep 17 00:00:00 2001 +From: James Antill +Date: Fri, 16 Apr 2010 17:32:03 -0400 +Subject: [PATCH 68/72] Create the ghost files, to make rpmbuild happy + +--- + yum.spec | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/yum.spec b/yum.spec +index 5ece693..a559eda 100644 +--- a/yum.spec ++++ b/yum.spec +@@ -57,6 +57,12 @@ make DESTDIR=$RPM_BUILD_ROOT install + # install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/yum/yum.conf + # install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/yum.cron + ++# Ghost files: ++mkdir -p $RPM_BUILD_ROOT/var/lib/yum/history ++mkdir -p $RPM_BUILD_ROOT/var/lib/yum/plugins ++mkdir -p $RPM_BUILD_ROOT/var/lib/yum/yumdb ++touch $RPM_BUILD_ROOT/var/lib/yum/uuid ++ + %find_lang %name + + %clean +-- +1.6.6.1 + + +From c2ad03da2d8c8028d323d2ed2cc6b662b68138fb Mon Sep 17 00:00:00 2001 +From: James Antill +Date: Mon, 19 Apr 2010 15:38:30 -0400 +Subject: [PATCH 69/72] Speedup distro-sync, only get the latest pkgs for those we are interested in + +--- + cli.py | 9 ++++++++- + 1 files changed, 8 insertions(+), 1 deletions(-) + +diff --git a/cli.py b/cli.py +index 1678e65..4d5b538 100644 +--- a/cli.py ++++ b/cli.py +@@ -721,7 +721,14 @@ class YumBaseCli(yum.YumBase, output.YumOutput): + del ipkgs[installed[0]] + + apkgs = {} +- for pkg in self.pkgSack.returnNewestByName(): ++ pkgs = [] ++ if ipkgs: ++ try: ++ pkgs = self.pkgSack.returnNewestByName(patterns=ipkgs.keys()) ++ except Errors.PackageSackError: ++ pkgs = [] ++ ++ for pkg in pkgs: + if pkg.name not in ipkgs: + continue + apkgs[pkg.name] = pkg +-- +1.6.6.1 + + +From edabdc811274d3ff6e427a50684ec285e9e330ee Mon Sep 17 00:00:00 2001 +From: James Antill +Date: Mon, 19 Apr 2010 15:39:24 -0400 +Subject: [PATCH 70/72] Add tsInfo.deselect() so we can remove it from anaconda + +--- + yum/transactioninfo.py | 32 ++++++++++++++++++++++++++++++++ + 1 files changed, 32 insertions(+), 0 deletions(-) + +diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py +index dfa34b3..41af838 100644 +--- a/yum/transactioninfo.py ++++ b/yum/transactioninfo.py +@@ -193,6 +193,38 @@ class TransactionData: + + return result + ++ def deselect(self, pattern): ++ """ Remove these packages from the transaction. This is more user ++ orientated than .remove(). Used from kickstart/install -blah. """ ++ ++ # We don't have a returnPackages() here, so just try the "simple" ++ # specifications. Pretty much 100% hit rate on kickstart. ++ txmbrs = self.matchNaevr(pattern) ++ if not txmbrs: ++ na = pattern.rsplit('.', 2) ++ txmbrs = self.matchNaevr(na[0], na[1]) ++ ++ if not txmbrs: ++ if self.pkgSack is not None: ++ pkgs = [] ++ else: ++ pkgs = self.pkgSack.returnPackages(pattern) ++ if not pkgs: ++ pkgs = self.rpmdb.returnPackages(pattern) ++ ++ for pkg in pkgs: ++ txmbrs.extend(self.getMembers(pkg.pkgtup)) ++ # Now we need to do conditional group packages, so they don't ++ # get added later on. This is hacky :( ++ for req, cpkgs in self.conditionals.iteritems(): ++ if pkg in cpkgs: ++ cpkgs.remove(pkg) ++ self.conditionals[req] = cpkgs ++ ++ for txmbr in txmbrs: ++ self.remove(txmbr.pkgtup) ++ return txmbrs ++ + def _isLocalPackage(self, txmember): + # Is this the right criteria? + # FIXME: This is kinda weird, we really want all local pkgs to be in a +-- +1.6.6.1 + + +From 922e8f42c66fe8e6238ef61eaa4d912d118974bf Mon Sep 17 00:00:00 2001 +From: James Antill +Date: Mon, 19 Apr 2010 15:40:08 -0400 +Subject: [PATCH 71/72] Add -pkgname to install etc., so we can test tsInfo.deselect() + +--- + docs/yum.8 | 7 ++++++- + yum/__init__.py | 38 +++++++++++++++++++++++++++++++++----- + 2 files changed, 39 insertions(+), 6 deletions(-) + +diff --git a/docs/yum.8 b/docs/yum.8 +index 6761f1c..1089b7d 100644 +--- a/docs/yum.8 ++++ b/docs/yum.8 +@@ -89,7 +89,9 @@ group of packages while ensuring that all dependencies are + satisfied\&. (See \fBSpecifying package names\fP for more information) + If no package matches the given package name(s), they are assumed to be a shell + glob and any matches are then installed\&. If the name starts with an +-@ character the rest of the name is used as though passed to the groupinstall command\&. If the name is a file, then install works ++@ character the rest of the name is used as though passed to the groupinstall ++command\&. If the name starts with a - character, then a search is done within ++the transaction and any matches are removed. If the name is a file, then install works + like localinstall\&. If the name doesn't match a package, then package + "provides" are searched (Eg. "_sqlitecache.so()(64bit)") as are + filelists (Eg. "/usr/bin/yum"). Also note that for filelists, wildcards will +@@ -127,6 +129,9 @@ is done by either obsoleting, upgrading or downgrading as appropriate. This will + "normally" do the same thing as the upgrade command however if you have the + package FOO installed at version 4, and the latest available is only + version 3, then this command will \fBdowngrade\fP FOO to version 3. ++ ++This command does not perform operations on groups, local packages or negative ++selections. + .IP + .IP "\fBremove\fP or \fBerase\fP" + Are used to remove the specified packages from the system +diff --git a/yum/__init__.py b/yum/__init__.py +index 34f2de7..4fee2c7 100644 +--- a/yum/__init__.py ++++ b/yum/__init__.py +@@ -2663,7 +2663,9 @@ class YumBase(depsolve.Depsolve): + def returnPackagesByDep(self, depstring): + """Pass in a generic [build]require string and this function will + pass back the packages it finds providing that dep.""" +- ++ ++ if not depstring: ++ return [] + results = self.pkgSack.searchProvides(depstring) + return results + +@@ -2693,6 +2695,9 @@ class YumBase(depsolve.Depsolve): + """Pass in a generic [build]require string and this function will + pass back the installed packages it finds providing that dep.""" + ++ if not depstring: ++ return [] ++ + # parse the string out + # either it is 'dep (some operator) e:v-r' + # or /file/dep +@@ -2866,6 +2871,17 @@ class YumBase(depsolve.Depsolve): + pkgnames.update(thisgroup.packages) + return self.pkgSack.searchNames(pkgnames) + ++ def _minus_deselect(self, pattern): ++ """ Remove things from the transaction, like kickstart. """ ++ assert pattern[0] == '-' ++ pat = pattern[1:] ++ ++ if pat and pat[0] == '@': ++ pat = pat[1:] ++ return self.deselectGroup(pat) ++ ++ return self.tsInfo.deselect(pat) ++ + def _find_obsoletees(self, po): + """ Return the pkgs. that are obsoleted by the po we pass in. """ + if not isinstance(po, YumLocalPackage): +@@ -2906,7 +2922,10 @@ class YumBase(depsolve.Depsolve): + raise Errors.InstallError, _('Nothing specified to install') + + if 'pattern' in kwargs: +- if kwargs['pattern'][0] == '@': ++ if kwargs['pattern'] and kwargs['pattern'][0] == '-': ++ return self._minus_deselect(kwargs['pattern']) ++ ++ if kwargs['pattern'] and kwargs['pattern'][0] == '@': + return self._at_groupinstall(kwargs['pattern']) + + was_pattern = True +@@ -3218,7 +3237,10 @@ class YumBase(depsolve.Depsolve): + + + elif 'pattern' in kwargs: +- if kwargs['pattern'][0] == '@': ++ if kwargs['pattern'] and kwargs['pattern'][0] == '-': ++ return self._minus_deselect(kwargs['pattern']) ++ ++ if kwargs['pattern'] and kwargs['pattern'][0] == '@': + return self._at_groupinstall(kwargs['pattern']) + + (e, m, u) = self.rpmdb.matchPackageNames([kwargs['pattern']]) +@@ -3399,7 +3421,10 @@ class YumBase(depsolve.Depsolve): + pkgs = [po] + else: + if 'pattern' in kwargs: +- if kwargs['pattern'][0] == '@': ++ if kwargs['pattern'] and kwargs['pattern'][0] == '-': ++ return self._minus_deselect(kwargs['pattern']) ++ ++ if kwargs['pattern'] and kwargs['pattern'][0] == '@': + return self._at_groupremove(kwargs['pattern']) + + (e,m,u) = self.rpmdb.matchPackageNames([kwargs['pattern']]) +@@ -3693,7 +3718,10 @@ class YumBase(depsolve.Depsolve): + if po: + apkgs = [po] + elif 'pattern' in kwargs: +- if kwargs['pattern'][0] == '@': ++ if kwargs['pattern'] and kwargs['pattern'][0] == '-': ++ return self._minus_deselect(kwargs['pattern']) ++ ++ if kwargs['pattern'] and kwargs['pattern'][0] == '@': + apkgs = self._at_groupdowngrade(kwargs['pattern']) + doing_group_pkgs = True # Don't warn. about some things + else: +-- +1.6.6.1 + + +From 00633bee2f6b3987351dd2fef5678f4a481f0057 Mon Sep 17 00:00:00 2001 +From: James Antill +Date: Tue, 20 Apr 2010 18:10:22 -0400 +Subject: [PATCH 72/72] Add a simple "how many packages does this provider require" test. + + This only goes one level deep, to keep any performance problems in +check (and because it's hard :), so in theory it can screw up where: + + pkgA => pkgX + pkgX => pkgC + pkgX => pkgD + pkgX => pkgE + + pkgB => pkgY + pkgB => pkgZ + +...with this patch we'd pick "pkgA" because it had "less" requirements, +even though it actually requires 1 more thing. However, real world +result on F12: + +% yum install @core @base gdm +[...] +Resolving: desktop-notification-daemon + + kdebase-runtime => 38 things + xfce4-notifyd => 4 things + notification-daemon => 1 thing + +...all are "equal" before this patch, so it's this or shortest name. +--- + yum/depsolve.py | 55 +++++++++++++++++++++++++++++++++++++++++++++++- + yum/transactioninfo.py | 1 - + 2 files changed, 54 insertions(+), 2 deletions(-) + +diff --git a/yum/depsolve.py b/yum/depsolve.py +index a9e4d55..910c9e1 100644 +--- a/yum/depsolve.py ++++ b/yum/depsolve.py +@@ -27,6 +27,7 @@ import rpmUtils.miscutils + from rpmUtils.arch import archDifference, canCoinstall + import misc + from misc import unique, version_tuple_to_string ++from transactioninfo import TransactionMember + import rpm + + from packageSack import ListPackageSack +@@ -859,7 +860,11 @@ class Depsolve(object): + + self.verbose_logger.log(logginglevels.DEBUG_2, _("looking for %s as a requirement of %s"), req, txmbr) + provs = self.tsInfo.getProvides(*req) +- if not provs: ++ # The self provides should mostly be caught before here now, but ++ # at least config() crack still turns up, it's not that ++ # expensive to just do it, and we really don't want "false positive" ++ # requires for compare_providers(). ++ if not provs and not txmbr.po.inPrcoRange('provides', req): + ret.append( (txmbr.po, self._prco_req2req(req)) ) + continue + +@@ -1228,6 +1233,7 @@ class Depsolve(object): + if res == po: + pkgresults[po] += 5 + ++ # End of O(N*N): for nextpo in pkgs: + if _common_sourcerpm(po, reqpo): + self.verbose_logger.log(logginglevels.DEBUG_4, + _('common sourcerpm %s and %s' % (po, reqpo))) +@@ -1244,6 +1250,53 @@ class Depsolve(object): + + pkgresults[po] += cpl*2 + ++ # If we have more than one "best", see what would happen if we picked ++ # each package ... ie. what things do they require that _aren't_ already ++ # installed/to-be-installed. In theory this can screw up due to: ++ # pkgA => requires pkgX ++ # pkgB => requires pkgY, requires pkgZ ++ # ...but pkgX requires 666 other things. Going recursive is ++ # "non-trivial" though, python != prolog. This seems to do "better" ++ # from simple testing though. ++ bestnum = max(pkgresults.values()) ++ rec_depsolve = {} ++ for po in pkgs: ++ if pkgresults[po] != bestnum: ++ continue ++ rec_depsolve[po] = 0 ++ if len(rec_depsolve) > 1: ++ for po in rec_depsolve: ++ fake_txmbr = TransactionMember(po) ++ ++ # Note that this is just requirements, so you could also have ++ # 4 requires for a single package. This might be fixable, if ++ # needed, but given the above it's probably better to leave it ++ # like this. ++ reqs = self._checkInstall(fake_txmbr) ++ rec_depsolve[po] = len(reqs) ++ ++ bestnum = min(rec_depsolve.values()) ++ self.verbose_logger.log(logginglevels.DEBUG_4, ++ _('requires minimal: %d') % bestnum) ++ for po in rec_depsolve: ++ if rec_depsolve[po] == bestnum: ++ self.verbose_logger.log(logginglevels.DEBUG_4, ++ _(' Winner: %s') % po) ++ pkgresults[po] += 1 ++ else: ++ num = rec_depsolve[po] ++ self.verbose_logger.log(logginglevels.DEBUG_4, ++ _(' Loser(with %d): %s') % (num, po)) ++ ++ # We don't want to decide to use a "shortest first", if something else ++ # has told us to pick something else. But we want to pick between ++ # multiple "best" packages. So we spike all the best packages (so ++ # only those can win) and then bump them down by package name length. ++ bestnum = max(pkgresults.values()) ++ for po in pkgs: ++ if pkgresults[po] != bestnum: ++ continue ++ pkgresults[po] += 1000 + pkgresults[po] += (len(po.name)*-1) + + bestorder = sorted(pkgresults.items(), +diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py +index 41af838..508ab65 100644 +--- a/yum/transactioninfo.py ++++ b/yum/transactioninfo.py +@@ -402,7 +402,6 @@ class TransactionData: + self.downgraded.sort() + self.failed.sort() + +- + def addInstall(self, po): + """adds a package as an install but in mode 'u' to the ts + takes a packages object and returns a TransactionMember Object""" +-- +1.6.6.1 + diff --git a/yum.spec b/yum.spec index b8d67f0..46043a2 100644 --- a/yum.spec +++ b/yum.spec @@ -3,7 +3,7 @@ Summary: RPM installer/updater Name: yum Version: 3.2.27 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://yum.baseurl.org/download/3.2/%{name}-%{version}.tar.gz @@ -35,7 +35,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Yum is a utility that can check for and automatically download and install updated RPM packages. Dependencies are obtained and downloaded -automatically prompting the user as necessary. +automatically, prompting the user for permission as necessary. %package updatesd Summary: Update notification daemon @@ -120,6 +120,12 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/lib/yum-plugins %changelog +* Thu Apr 22 2010 James Antill - 3.2.27-8 +- Latest yum-3_2_X head. +- Add deselections. +- Add simple depsolve into compare_providers +- Speedup distro-sync blah. + * Fri Apr 16 2010 James Antill - 3.2.27-7 - Latest yum-3_2_X head. - Add the "big update" speedup patch.