3e855d5
Name:		fedora-upgrade
93bb2e2
Version:	28.2
93bb2e2
Release:	1%{?dist}
f4f4f53
Summary:	Upgrade Fedora to next version using dnf upgrade (unofficial tool)
3e855d5
3e855d5
Group:		Applications/System
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
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
4199d8e
Miroslav Suchý e95fe8b
* Mon Oct 24 2016 Miroslav Suchý <miroslav@suchy.cz> 25.2-1
Miroslav Suchý e95fe8b
- add warning about crashing XWindows
Miroslav Suchý e95fe8b
Miroslav Suchý 97718b0
* Mon Oct 24 2016 Miroslav Suchý <miroslav@suchy.cz> 25.1-1
Miroslav Suchý 97718b0
- remove upgrade from F22 and F23
Miroslav Suchý 97718b0
- add upgrade to F25 and use distribution-gpg-keys
Miroslav Suchý 97718b0
f4f4f53
* Mon Apr 25 2016 Miroslav Suchý <msuchy@redhat.com> 24.2-1
f4f4f53
- do not require yum and yum-utils
f4f4f53
f4f4f53
* Mon Apr 25 2016 Miroslav Suchý 24.1-1
f4f4f53
- dnf does not have clean plugins option
f4f4f53
- add example to readme
f4f4f53
- fix syntax error
f4f4f53
f4f4f53
* Mon Apr 25 2016 Miroslav Suchý 23.2-1
f4f4f53
- add upgrade to F24
f4f4f53
- remove yum and use only DNF
f4f4f53
- doc: admit that we can upgrade new releases too
f4f4f53
- make clear distance between our and plugin output
f4f4f53
- make the weak deps little bit stronger
f4f4f53
- pause before rebooting
f4f4f53
- dnf download should be quite
f4f4f53
- create function install_if_missing
f4f4f53
- install dnf-plugin-system-upgrade if not installed
f4f4f53
- allow to use official upgrade tool
f4f4f53
- more of migration to DNF
732f4a7
162e622
* Sun Oct 11 2015 Miroslav Suchý <miroslav@suchy.cz> 23.1-1
162e622
- add F23,24 keys
162e622
- change note about official tool
162e622
- upgrade to F23
162e622
- use %%license for LICENSE
162e622
- use dnf on F22
162e622
- update README.md #15
162e622
- do not ask about fedora next when upgrading to F22
9873a46
Miroslav Suchý 4d04b2b
* Sat Apr 25 2015 Miroslav Suchý <miroslav@suchy.cz> 22.2-1
Miroslav Suchý 4d04b2b
- upgrade to F22 was in fact upgrade to F21
Miroslav Suchý 4d04b2b
- package with rawhide repos was renamed
Miroslav Suchý 4d04b2b
- restore selinux context after upgrade
Miroslav Suchý 4d04b2b
d4b9680
* Fri Feb 20 2015 Miroslav Suchý <msuchy@redhat.com> 22.1-1
d4b9680
- bump up version
d4b9680
- import rpmfusion keys only if it exists
d4b9680
- add F22 GPG keys
d4b9680
- add Fedora 22