[PATCH 2/2] Fix searching for local RPMs with no version required
Vratislav Podzimek
vpodzime at redhat.com
Tue Jul 30 08:34:35 UTC 2013
This follows commit 8abd348ae8387b7d778da8bc5764dc61dcf508a7 which fixed the
same for fetching RPMs with no specific version required.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
scripts/makeupdates | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/makeupdates b/scripts/makeupdates
index f2fd188..9f127b1 100755
--- a/scripts/makeupdates
+++ b/scripts/makeupdates
@@ -416,7 +416,8 @@ def remove_local_packages(packages, arch):
if name in packages:
requested_version = packages[name]
# handle versions with build number and without it
- if requested_version == version_build or requested_version == version:
+ if not requested_version or requested_version == version_build or \
+ requested_version == version:
include_rpms.append(rpm_path)
del packages[name]
--
1.7.11.7
More information about the anaconda-patches
mailing list