|
|
3e855d5 |
Name: fedora-upgrade
|
|
|
27cf2c9 |
Version: 30.5
|
|
|
3a43b43 |
Release: 2%{?dist}
|
|
|
f4f4f53 |
Summary: Upgrade Fedora to next version using dnf upgrade (unofficial tool)
|
|
|
3e855d5 |
|
|
|
3e855d5 |
License: GPLv2
|
|
|
3e855d5 |
URL: https://github.com/xsuchy/fedora-upgrade
|
|
|
3e855d5 |
# Sources can be obtained by
|
|
|
3e855d5 |
# git clone git://github.com/xsuchy/fedora-upgrade.git
|
|
|
3e855d5 |
# cd fedora-upgrade
|
|
|
3e855d5 |
# tito build --tgz
|
|
|
3e855d5 |
Source0: %{name}-%{version}.tar.gz
|
|
|
3e855d5 |
BuildArch: noarch
|
|
|
3e855d5 |
|
|
|
f4f4f53 |
Requires: dnf
|
|
|
f4f4f53 |
Requires: dnf-plugins-core
|
|
|
f4f4f53 |
Recommends: dnf-plugin-system-upgrade
|
|
|
8433c47 |
Requires: dnf-utils
|
|
|
f4f4f53 |
Requires: cpio
|
|
|
3e855d5 |
Requires: rpmconf
|
|
|
3e855d5 |
Requires: libselinux-utils
|
|
Miroslav Suchý |
4d04b2b |
Requires: policycoreutils
|
|
|
8433c47 |
Requires: distribution-gpg-keys >= 1.14
|
|
|
162e622 |
Suggests: vim-enhanced
|
|
|
3bed0d4 |
Requires: wget
|
|
|
3e855d5 |
BuildRequires: asciidoc
|
|
|
3e855d5 |
BuildRequires: libxslt
|
|
|
3e855d5 |
|
|
|
3e855d5 |
%description
|
|
|
f4f4f53 |
Upgrade Fedora to next version using dnf upgrade.
|
|
|
3e855d5 |
This is attempt to automatize steps as listed here:
|
|
Miroslav Suchý |
97718b0 |
https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager
|
|
|
3e855d5 |
|
|
|
e76e11f |
This is an unofficial tool, for official Fedora-supported
|
|
Miroslav Suchý |
97718b0 |
upgrades please see:
|
|
Miroslav Suchý |
97718b0 |
https://fedoraproject.org/wiki/Upgrading
|
|
|
e76e11f |
|
|
|
3e855d5 |
%prep
|
|
|
3e855d5 |
%setup -q
|
|
|
3e855d5 |
|
|
|
3e855d5 |
%build
|
|
|
3e855d5 |
a2x -d manpage -f manpage fedora-upgrade.8.asciidoc
|
|
|
3e855d5 |
|
|
|
3e855d5 |
%install
|
|
|
3e855d5 |
mkdir -p %{buildroot}%{_sbindir}
|
|
|
3e855d5 |
mkdir -p %{buildroot}%{_mandir}/man8
|
|
Miroslav Suchý |
97718b0 |
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
|
3e855d5 |
install -m755 fedora-upgrade %{buildroot}%{_sbindir}
|
|
|
3e855d5 |
install -m644 fedora-upgrade.8 %{buildroot}/%{_mandir}/man8/
|
|
|
3e855d5 |
|
|
|
3e855d5 |
%files
|
|
|
162e622 |
%license LICENSE
|
|
|
162e622 |
%doc README.md
|
|
|
3e855d5 |
%{_sbindir}/fedora-upgrade
|
|
|
3e855d5 |
%doc %{_mandir}/man8/fedora-upgrade.8*
|
|
|
895ea4b |
%{_datadir}/%{name}
|
|
|
3e855d5 |
|
|
|
3e855d5 |
%changelog
|
|
|
3a43b43 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 30.5-2
|
|
|
3a43b43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3a43b43 |
|
|
|
27cf2c9 |
* Thu Apr 11 2019 Miroslav Suchý <msuchy@redhat.com> 30.5-1
|
|
|
27cf2c9 |
- warn when user is not running screen or tmux
|
|
|
27cf2c9 |
- improve exit banner when failure happens
|
|
|
27cf2c9 |
- package fedora-release does not need to be installed, it can be fedora-
|
|
|
27cf2c9 |
release-common
|
|
|
27cf2c9 |
|
|
|
44417e3 |
* Tue Mar 19 2019 Miroslav Suchý <msuchy@redhat.com> 30.4-1
|
|
|
44417e3 |
- Fix the offline update path for fedora 30
|
|
|
44417e3 |
|
|
|
4da460e |
* Mon Mar 18 2019 Miroslav Suchý <msuchy@redhat.com> 30.3-1
|
|
|
4da460e |
- unmount tmpfs when error occurs
|
|
|
4da460e |
- trap Ctrl+C
|
|
|
4da460e |
- accept "rawhide" as upgrade-to version
|
|
|
4da460e |
- allow to upgrade to specific version
|
|
|
4da460e |
- add link to common bugs
|
|
|
4da460e |
- allow to mount /var/cache/dnf as tmpfs
|
|
|
4da460e |
|
|
|
b42f74c |
* Thu Feb 28 2019 Miroslav Suchý <msuchy@redhat.com> 30.2-1
|
|
|
b42f74c |
- set module_id during upgrade
|
|
|
b42f74c |
- add upgrade F29 to F30
|
|
|
b42f74c |
- remove old changelog entries
|
|
|
b42f74c |
- remove Group tag from spec
|
|
|
92ec7ed |
|
|
|
9887111 |
* Wed Aug 08 2018 Miroslav Suchý <msuchy@redhat.com> 29.1-1
|
|
|
9887111 |
- add upgrade from F28 to F29
|
|
|
9887111 |
- Update release notes URL to point towards the correct target version
|
|
|
a4612c3 |
|
|
|
93bb2e2 |
* Wed Apr 18 2018 Miroslav Suchý <msuchy@redhat.com> 28.2-1
|
|
|
93bb2e2 |
- remove --distro-sync for dnf system-upgrade
|
|
|
93bb2e2 |
- do not check for dnf-plugins-core, it has been installed by check_dnf_deps()
|
|
|
93bb2e2 |
- be more verbose so we have some progress
|
|
|
3f4327e |
|
|
|
8433c47 |
* Tue Jan 23 2018 Miroslav Suchý <msuchy@redhat.com> 28.1-1
|
|
|
8433c47 |
- clean caches before doing any other task
|
|
|
8433c47 |
- list orphans after upgrade
|
|
|
8433c47 |
- warn if not run as root
|
|
|
8433c47 |
- add upgrade to F28 and remove upgrade to F25
|
|
|
8433c47 |
- Remove PackageKit cache
|
|
|
8433c47 |
- choose better wording for reset priorities
|
|
|
8433c47 |
- reset services priorities the systemd way
|
|
|
8433c47 |
|
|
|
ec6165c |
* Wed Sep 20 2017 Miroslav Suchý <msuchy@redhat.com> 27.1-1
|
|
|
ec6165c |
- remove old changelogs
|
|
|
ec6165c |
- remove upgrade from f24
|
|
|
ec6165c |
- Add support for Fedora 27
|
|
|
2a158ac |
|
|
|
a94b2e0 |
* Thu Mar 16 2017 Miroslav Suchý <msuchy@redhat.com> 26.1-1
|
|
|
a94b2e0 |
- add upgrade to F26
|