Blame preupgrade.spec

45af710
Summary: Prepares a system for an upgrade
Seth Vidal 822c119
Name: preupgrade
Richard Hughes 9ef7af4
Version: 1.1.10
Richard Hughes 57acf07
Release: 1%{?dist}
Seth Vidal 822c119
License: GPLv2+
785bf6d
Source: https://fedorahosted.org/releases/p/r/preupgrade/%{name}-%{version}.tar.bz2
8ff789f
Source1: http://mirrors.fedoraproject.org/releases.txt
Seth Vidal 822c119
URL: https://fedorahosted.org/preupgrade/
Seth Vidal 822c119
BuildArch: noarch
Seth Vidal 822c119
Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1
a8c0bd1
Requires: pygtk2-libglade, gtk2 >= 2.16.6
9bea55b
Requires: anaconda-yum-plugins
1518935
Requires: python-urlgrabber >= 3.9.1-4
Seth Vidal 6ed70f2
Requires: yum-metadata-parser, yum >= 3.2.24
Seth Vidal 822c119
Requires: usermode
9ef1396
Requires: createrepo >= 0.9.7-7
b906ee5
Requires: util-linux >= 2.15.1
1518935
BuildRequires: intltool
Seth Vidal 822c119
BuildRequires: desktop-file-utils, python
76f0348
Conflicts: yaboot < 1.3.14-8
Seth Vidal 822c119
Seth Vidal 822c119
%description
3ee3814
preupgrade prepares your Fedora system for upgrading to a newer version
45af710
by examining your system, downloading all the files needed for the upgrade,
45af710
and then setting up your system to perform the upgrade after rebooting.
Seth Vidal 822c119
Seth Vidal 822c119
%prep
785bf6d
%setup -q
Seth Vidal 822c119
Seth Vidal 822c119
%build
Seth Vidal 822c119
# no op
Seth Vidal 822c119
Seth Vidal 822c119
%install
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
1518935
%find_lang %name
Seth Vidal 822c119
1518935
%files -f %{name}.lang
Seth Vidal 822c119
%defattr(-, root, root)
Seth Vidal 822c119
%dir %{_datadir}/%{name}
Richard Hughes 57acf07
%doc ChangeLog README COPYING
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
Richard Hughes 9ef7af4
* Fri Oct 21 2011 Richard Hughes <richard@hughsie.com> - 1.1.10-1
Richard Hughes 9ef7af4
- New upstream release.
Richard Hughes 9ef7af4
- Recommend downloading the DVD if there is not enough space in /boot
Richard Hughes 9ef7af4
- Do not hardcode --location=none when upgrading to F16
Richard Hughes 9ef7af4
Richard Hughes 57acf07
* Tue Mar 15 2011 Richard Hughes <richard@hughsie.com> - 1.1.9-1
Richard Hughes 57acf07
- New upstream release.
Richard Hughes 57acf07
71da919
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
71da919
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71da919
Richard Hughes 5f60a09
* Thu Sep 09 2010 Richard Hughes <richard@hughsie.com> - 1.1.8-1
Richard Hughes 5f60a09
- New upstream release.
Richard Hughes 5f60a09
- Reinvigorate pre-upgrade-cli with the same fixes as the gui tool.
Richard Hughes 5f60a09
- Translation updates.
Richard Hughes 5f60a09
613c4ba
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.6-3
613c4ba
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
613c4ba
3ee3814
* Sat Jun 05 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1.6-2
3ee3814
- Fix description to clarify that skipping releases is ok 
3ee3814
- Update spec to match current guidelines
3ee3814
1518935
* Wed May 12 2010 Richard Hughes <richard@hughsie.com> - 1.1.6-1
1518935
- New upstream release.
1518935
- Generate a valid kickstart when there is no space for the install.img
1518935
- Ensure we disable all plugins which could cause issues with downloading
1518935
- Translation updates
1518935
Seth Vidal 4b84dc5
* Mon Dec 14 2009 Seth Vidal <skvidal at fedoraproject.org> - 1.1.4-1
Seth Vidal 4b84dc5
- fixes 538118 among others
Seth Vidal 4b84dc5
9ef1396
* Fri Nov 13 2009 Will Woods <wwoods@redhat.com> - 1.1.3-1
9ef1396
- Check /boot for enough space to perform upgrade (bug 530541)
9ef1396
- Don't traceback if /boot is RAID (bug 504826)
9ef1396
- Check if /boot is dmraid
9ef1396
a8c0bd1
* Mon Oct 12 2009 Will Woods <wwoods@redhat.com> - 1.1.2-1
a8c0bd1
- Proper fix for bug 526208
a8c0bd1
- Require gtk2 >= 2.16.6
39ad957
39ad957
* Fri Oct  9 2009 Seth Vidal <skvidal at fedoraproject.org> - 1.1.1-2
Seth Vidal 6ed70f2
- require yum 3.2.24
Seth Vidal 6ed70f2
5fb04c1
* Fri Oct 09 2009 Will Woods <wwoods@redhat.com> - 1.1.1-1
5fb04c1
- Fix UI hang on upgrades from F11 (bug 526208)
5fb04c1
- Fix unhandled traceback in preupgrade.dev (bug 504826)
5fb04c1
- Give preupgrade its own User-Agent string
5fb04c1
a44c9ed
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
a44c9ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a44c9ed
785bf6d
* Wed May 13 2009 Will Woods <wwoods@redhat.com> - 1.1.0-1
785bf6d
- Bump version for 1.1.0 release
785bf6d
dde157e
* Tue May 5 2009 Will Woods <wwoods@redhat.com> - 1.1.0-0.pre3
dde157e
- Drop support for /boot on RAID
dde157e
- Properly enable both main and install repos
dde157e
- Fix cleanup of interrupted runs
dde157e
- Require VNC password to be >= 6 chars long, like anaconda (bug #498843)
dde157e
45af710
* Wed Apr 22 2009 Will Woods <wwoods@redhat.com> - 1.1.0-0.pre2
45af710
- Disable bootloader installation (bug 496952)
45af710
- Fix handling of releases.txt to accept Rawhide again
45af710
45af710
* Thu Apr 16 2009 Will Woods <wwoods@redhat.com> - 1.1.0-0.pre1
45af710
- Try to get new packages for *all* repos, including updates (bug 473966)
45af710
- Fix UnicodeDecodeError downloading packages (bug 476862)
45af710
- Fix traceback if network isn't up at startup (bug 474177)
45af710
- Specify which system to upgrade in kickstart (bug 473016)
45af710
- Fix traceback with certain mirrors (bug 487743)
45af710
- Fix problems with "excludes=" in yum.conf (bug 491577)
e4c6565
be64fa9
* Mon Dec  8 2008 Will Woods <wwoods@redhat.com> - 1.0.1-1
be64fa9
- Fix yaboot Conflicts: to allow installation on ppc (bug 473065)
be64fa9
- Fix crash with separate /var partition or mdraid root (bug 473782)
be64fa9
- Fix crash with mdraid (software RAID) root (bug 473103)
be64fa9
- CLI: Use the right dir for createrepo 
be64fa9
- CLI: Fix network option parsing, add --dhcp
be64fa9
- CLI: Write network options into ks.cfg (bug 472933)
6603dc7
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
* Thu May  1 2008 Seth Vidal <skvidal at fedoraproject.org> 
32a939c
- 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