|
Seth Vidal |
822c119 |
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
Seth Vidal |
822c119 |
Summary: Preresolves dependencies and prepares a system for an upgrade
|
|
Seth Vidal |
822c119 |
Name: preupgrade
|
|
|
76f0348 |
Version: 1.0.0
|
|
|
8ff789f |
Release: 1%{?dist}
|
|
Seth Vidal |
822c119 |
License: GPLv2+
|
|
Seth Vidal |
822c119 |
Group: System Environment/Base
|
|
Seth Vidal |
822c119 |
Source: https://fedorahosted.org/releases/p/r/preupgrade/%{name}-%{version}.tar.gz
|
|
|
8ff789f |
Source1: http://mirrors.fedoraproject.org/releases.txt
|
|
Seth Vidal |
822c119 |
URL: https://fedorahosted.org/preupgrade/
|
|
Seth Vidal |
822c119 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Seth Vidal |
822c119 |
BuildArch: noarch
|
|
Seth Vidal |
822c119 |
Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1
|
|
|
9bea55b |
# preupgrade-gui requires pygtk2 and libglade
|
|
|
76f0348 |
# TODO: split out preupgrade-gtk subpackage that requires this
|
|
|
9bea55b |
Requires: pygtk2-libglade
|
|
|
9bea55b |
# F10 anaconda provides its special depsolving magic as yum plugins
|
|
|
9bea55b |
Requires: anaconda-yum-plugins
|
|
|
9bea55b |
# F10 anaconda expects to be handed a valid yum repo
|
|
|
9bea55b |
Requires: createrepo
|
|
|
9bea55b |
# yum 3.2.18 is needed to enable the above plugins at runtime
|
|
|
8ff789f |
# yum 3.2.19 is needed for setup_locale(), which fixes some i18n tracebacks
|
|
|
8ff789f |
Requires: yum-metadata-parser, yum >= 3.2.19
|
|
Seth Vidal |
822c119 |
Requires: usermode
|
|
|
9bea55b |
Requires: e2fsprogs
|
|
Seth Vidal |
822c119 |
BuildRequires: desktop-file-utils, python
|
|
|
76f0348 |
# preupgrade's use of long append="..." strings will break older yaboot
|
|
|
76f0348 |
# and thus render ppc systems unbootable - see bug #471321
|
|
|
76f0348 |
Conflicts: yaboot < 1.3.14-8
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%description
|
|
Seth Vidal |
822c119 |
Preresolves all dependencies, downloads the packages and makes your system
|
|
Seth Vidal |
822c119 |
ready for an upgrade via anaconda.
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%prep
|
|
Seth Vidal |
822c119 |
%setup -q
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%build
|
|
Seth Vidal |
822c119 |
# no op
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%install
|
|
Seth Vidal |
822c119 |
rm -rf $RPM_BUILD_ROOT
|
|
Seth Vidal |
822c119 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
Seth Vidal |
822c119 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
Seth Vidal |
822c119 |
ln -s consolehelper $RPM_BUILD_ROOT/%{_bindir}/%{name}
|
|
Seth Vidal |
50d70db |
ln -s consolehelper $RPM_BUILD_ROOT/%{_bindir}/%{name}-cli
|
|
|
8ff789f |
# NOTE: we ship this *only* for PackageKit - it is ignored by preupgrade!
|
|
|
8ff789f |
# preupgrade itself pulls data from {$PWD,$PWD/data}/releases.txt or
|
|
|
8ff789f |
# http://mirrors.fedoraproject.org/releases.txt
|
|
|
8ff789f |
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/preupgrade/releases.list
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%clean
|
|
Seth Vidal |
822c119 |
rm -rf $RPM_BUILD_ROOT
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%files
|
|
Seth Vidal |
822c119 |
%defattr(-, root, root)
|
|
Seth Vidal |
822c119 |
%dir %{_datadir}/%{name}
|
|
|
8ff789f |
%doc ChangeLog README COPYING data/releases.txt
|
|
Seth Vidal |
822c119 |
%config(noreplace) %{_sysconfdir}/pam.d/*
|
|
Seth Vidal |
822c119 |
%config(noreplace) %{_sysconfdir}/security/console.apps/*
|
|
Seth Vidal |
822c119 |
%{_datadir}/%{name}/*
|
|
Seth Vidal |
822c119 |
%{_sbindir}/%{name}
|
|
Seth Vidal |
50d70db |
%{_sbindir}/%{name}-cli
|
|
Seth Vidal |
822c119 |
%{_bindir}/%{name}
|
|
Seth Vidal |
50d70db |
%{_bindir}/%{name}-cli
|
|
Seth Vidal |
822c119 |
%{python_sitelib}/%{name}
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
%changelog
|
|
|
76f0348 |
* Fri Nov 21 2008 Will Woods <wwoods@redhat.com> - 1.0.0-1
|
|
|
76f0348 |
- Minor UI fixes
|
|
|
76f0348 |
- Add --clean flag
|
|
|
76f0348 |
- Use checksums to verify boot image integrity
|
|
|
76f0348 |
- Clean up bootloader config when cleaning an interrupted run
|
|
|
76f0348 |
- Use 'ybin --bootonce' on ppc rather than changing default boot target
|
|
|
76f0348 |
- Be more careful about picking a keymap (bug 471515)
|
|
|
76f0348 |
- Add Fedora 10 (Cambridge) to releases.txt
|
|
|
76f0348 |
|
|
|
8ff789f |
* Mon Nov 3 2008 Will Woods <wwoods@redhat.com> - 0.9.9-1
|
|
|
8ff789f |
- Fetch release data from http://mirrors.fedoraproject.org/releases.txt
|
|
|
8ff789f |
- Recognize new metadata filenames
|
|
|
8ff789f |
- Generate kickstart for all installs
|
|
|
8ff789f |
- Automatically upgrade bootloader config during upgrade
|
|
|
8ff789f |
- preupgrade-cli: Add --vnc for headless remote installs
|
|
|
8ff789f |
- preupgrade-cli: Properly set locale so we don't crash on non-en_US
|
|
|
8ff789f |
- preupgrade-cli: Fix --help
|
|
|
8ff789f |
|
|
|
01e95b6 |
* Thu Oct 2 2008 Will Woods <wwoods@redhat.com> - 0.9.8-2
|
|
|
01e95b6 |
- Clear cache after user decides not to resume an old run
|
|
|
01e95b6 |
- Add Fedora 10 Beta to releases.list
|
|
|
01e95b6 |
|
|
|
9bea55b |
* Thu Sep 18 2008 Will Woods <wwoods@redhat.com> - 0.9.8-1
|
|
|
9bea55b |
- GUI version prompts to resume interrupted runs
|
|
|
9bea55b |
- Checks for available disk space before downloading / rebooting
|
|
|
9bea55b |
- Does not change boot target until you hit the Reboot button
|
|
|
9bea55b |
- Handle invalid treeinfo gracefully (bug #459935)
|
|
|
9bea55b |
- Use UUID=xxx for devices - makes finding devices much more robust
|
|
|
9bea55b |
- No more network dialog for missing packages
|
|
|
9bea55b |
- Use anaconda's own depsolving tweaks (whiteout/blacklist)
|
|
|
9bea55b |
- Use kickstart to automate installs
|
|
|
21e77ff |
|
|
|
9bea55b |
* Tue May 6 2008 Will Woods <wwoods@redhat.com> - 0.9.3-2
|
|
|
9bea55b |
- Add missing Requires on pyxf86config
|
|
|
21e77ff |
|
|
Seth Vidal |
4e5e3e8 |
* Fri May 2 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.3-1
|
|
Seth Vidal |
4e5e3e8 |
- 0.9.3
|
|
Seth Vidal |
4e5e3e8 |
|
|
Seth Vidal |
4e5e3e8 |
|
|
Seth Vidal |
4e5e3e8 |
* Thu May 1 2008 Seth Vidal <skvidal at fedoraproject.org>
|
|
Seth Vidal |
4e5e3e8 |
- make preupgrade clean up its messes in %post so it doesn't leave
|
|
Seth Vidal |
4e5e3e8 |
cruft on the fs after an upgrade.
|
|
Seth Vidal |
4e5e3e8 |
|
|
Seth Vidal |
50d70db |
* Thu Apr 24 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.2-1
|
|
Seth Vidal |
50d70db |
- 0.9.2
|
|
Seth Vidal |
50d70db |
- put cli tool back in
|
|
Seth Vidal |
50d70db |
|
|
Seth Vidal |
50d70db |
* Mon Apr 21 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.1-1
|
|
Seth Vidal |
50d70db |
- 0.9.1
|
|
Seth Vidal |
50d70db |
|
|
Seth Vidal |
822c119 |
* Mon Apr 7 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9-2
|
|
Seth Vidal |
822c119 |
- add dist tag
|
|
Seth Vidal |
822c119 |
- fix buildroot
|
|
Seth Vidal |
822c119 |
- fix buildarchitectures to buildarch
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
* Thu Apr 3 2008 Will Woods <wwoods@redhat.com> - 0.9-1
|
|
Seth Vidal |
822c119 |
- Remove .desktop file; we'll run from a puplet notification (or by hand)
|
|
Seth Vidal |
822c119 |
- Check file size on downloaded boot images to make sure they're the right ones
|
|
Seth Vidal |
822c119 |
- More descriptive title for boot item
|
|
Seth Vidal |
822c119 |
- Update releases.list - add Fedora 9 Beta
|
|
Seth Vidal |
822c119 |
- Add python as a buildreq
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
* Wed Mar 26 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.8-1
|
|
Seth Vidal |
822c119 |
- remove the cli for now b/c it is broken!
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
* Mon Mar 24 2008 Will Woods <wwoods@redhat.com> - 0.8-1
|
|
Seth Vidal |
822c119 |
- Functionally nearly complete
|
|
Seth Vidal |
822c119 |
- Add .desktop file for GUI
|
|
Seth Vidal |
822c119 |
|
|
Seth Vidal |
822c119 |
* Thu Feb 7 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.1-1
|
|
Seth Vidal |
822c119 |
- first pkging attempt
|