Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit 49ce1a6

Browse files
committed
support Preupgrade Assistant 2.2.0
- bump version
1 parent 9901e62 commit 49ce1a6

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

redhat-upgrade-tool.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
import redhat_upgrade_tool.logutils as logutils
4343
import redhat_upgrade_tool.media as media
4444

45-
from preup.xccdf import XccdfHelper
46-
from preup import settings
45+
from preupg.xccdf import XccdfHelper
46+
from preupg import settings
4747

4848
import logging
4949
log = logging.getLogger("redhat-upgrade-tool")
@@ -106,7 +106,8 @@ def reboot():
106106
call(['reboot'])
107107

108108
def get_preupgrade_result_name():
109-
return os.path.join(settings.result_dir, settings.xml_result_name)
109+
return os.path.join(settings.assessment_results_dir,
110+
settings.xml_result_name)
110111

111112
def check_release_version_file():
112113
if not os.path.exists(release_version_file):

redhat-upgrade-tool.spec

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: redhat-upgrade-tool
2-
Version: 0.7.47
2+
Version: 0.7.48
33
Release: 1%{?dist}
44
Summary: The Red Hat Enterprise Linux Upgrade tool
55
Epoch: 1
@@ -10,9 +10,7 @@ Source0: %{url}/archive/%{name}-%{version}.tar.gz
1010

1111
Requires: grubby
1212
Requires: python-rhsm
13-
14-
# Require for preupgr --riskcheck
15-
Requires: preupgrade-assistant >= 2.1.8-1
13+
Requires: preupgrade-assistant >= 2.2.0-1
1614

1715
# https://bugzilla.redhat.com/show_bug.cgi?id=1038299
1816
Requires: yum >= 3.2.29-43
@@ -75,6 +73,12 @@ mkdir -p $RPM_BUILD_ROOT/etc/redhat-upgrade-tool/update.img.d
7573
#{_datadir}/redhat-upgrade-tool/ui
7674

7775
%changelog
76+
* Mon Dec 5 2016 Michal Bocek <[email protected]> - 1:0.7.48-1
77+
- Support Preupgrade Assistant version 2.2.0
78+
Resolves: rhbz#1398401
79+
- Fix usage of HTTPS repo URL with --noverify option
80+
Resolves: rhbz#1398318
81+
7882
* Thu Oct 6 2016 Michal Bocek <[email protected]> - 1:0.7.47-1
7983
- Fix traceback caused by Unicode characters that appear in raw_input
8084
prompt message during the import of GPG keys.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def run(self):
6464
os.rename(outfile, newfile)
6565

6666
setup(name="redhat-upgrade-tool",
67-
version="0.7.47",
67+
version="0.7.48",
6868
description="Red Hat Upgrade",
6969
long_description="",
7070
author="Will Woods",

0 commit comments

Comments
 (0)