2006-11-08 22:52:04 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
Name: pungi
|
2007-08-22 02:04:07 +00:00
|
|
|
Version: 0.5.0
|
2006-11-08 22:52:04 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Distribution compose tool
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
License: GPL
|
2006-12-10 02:59:34 +00:00
|
|
|
URL: http://hosted.fedoraproject.org/projects/pungi
|
2006-11-08 22:52:04 +00:00
|
|
|
Source0: http://linux.duke.edu/projects/%{name}/release/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-01-16 21:58:40 +00:00
|
|
|
Requires: anaconda-runtime, yum => 3.0.3
|
2006-12-12 05:18:37 +00:00
|
|
|
BuildRequires: python-devel
|
2006-11-08 22:52:04 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
A tool to create anaconda based installation trees/isos of a set of rpms.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-12-10 02:59:34 +00:00
|
|
|
%doc Authors Changelog COPYING GPL README ToDo
|
2006-11-09 01:33:06 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/pungi
|
2006-11-08 22:52:04 +00:00
|
|
|
# For noarch packages: sitelib
|
2006-11-09 01:33:06 +00:00
|
|
|
%{python_sitelib}/pypungi
|
2006-11-08 22:52:04 +00:00
|
|
|
%{_bindir}/pungi
|
2007-08-25 00:45:54 +00:00
|
|
|
%{_datadir}/pungi
|
2006-11-08 22:52:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2007-08-22 02:04:07 +00:00
|
|
|
* Tue Aug 21 2007 Jesse Keating <jkeating@redhat.com> - 0.5.0-1
|
|
|
|
- Rework how source rpms are pulled in
|
|
|
|
Always pull in 'src' arch packages, just filter them
|
|
|
|
when not needed. Saves having to reset or create new
|
|
|
|
yum objects.
|
|
|
|
- Create a base pungi class that sets logging
|
|
|
|
- Inherit this class in Gather and Pungi
|
|
|
|
- Adjust logging to make use of new facility, use right levels
|
|
|
|
- Drop a note when all done with composing
|
|
|
|
- Make Gather() no longer a subclass of yum
|
|
|
|
- Be verbose about what we clean (makefile)
|
|
|
|
- Create a subclass of yum to work around logging fun
|
|
|
|
|
2007-08-01 20:38:57 +00:00
|
|
|
* Wed Aug 01 2007 Jesse Keating <jkeating@redhat.com> - 0.4.1-1
|
|
|
|
- Create a new yum object for source downloads as yum
|
|
|
|
|
2007-07-28 15:02:20 +00:00
|
|
|
* Sat Jul 28 2007 Jesse Keating <jkeating@redhat.com> - 0.4.0-1
|
|
|
|
- split createrepo call to it's own function. This enables rawhide
|
|
|
|
composes to happen once again. Also breaks API.
|
|
|
|
- When raising an error, print the error too
|
|
|
|
|
2007-07-24 16:43:08 +00:00
|
|
|
* Tue Jul 24 2007 Jesse Keating <jkeating@redhat.com> - 0.3.9-1
|
|
|
|
- Add a few more desktopy things to manifest
|
|
|
|
- Rename f7 files to f8; set up config files for f8test1
|
|
|
|
- Don't quote things passed to mkisofs, not a shell
|
|
|
|
- Always log stdout before checking for stderr output
|
|
|
|
- Include memtest86+ in the "Fedora" manifest
|
|
|
|
|
2007-06-20 18:04:02 +00:00
|
|
|
* Wed Jun 20 2007 Jesse Keating <jkeating@redhat.com> - 0.3.8-1
|
|
|
|
- Only grab the newest of deps.
|
|
|
|
- Don't use flavor for a log file if no flavor set (Trac #48)
|
|
|
|
- Point to the right manifest file in pungi.conf
|
|
|
|
- Add a install target to make (Trac #37)
|
|
|
|
- Enable the source repo in yum configs (Trac #47)
|
|
|
|
- Use universal newlines in getting process output (Trac #44)
|
|
|
|
- Fix logging of broken deps (Trac #39)
|
|
|
|
|
2007-05-30 14:46:55 +00:00
|
|
|
* Wed May 30 2007 Jesse Keating <jkeating@redhat.com> - 0.3.7-1
|
|
|
|
- Handle the cdsize variable correctly
|
|
|
|
- More fixes for cached download stuff
|
|
|
|
- Fix default CD size storing
|
|
|
|
- Update comps file with what shipped for F7
|
|
|
|
|
2007-05-25 18:30:13 +00:00
|
|
|
* Fri May 25 2007 Jesse Keating <jkeating@redhat.coM> - 0.3.6-1
|
|
|
|
- Handle the cdsize variable correctly
|
|
|
|
|
2007-05-24 12:52:02 +00:00
|
|
|
* Thu May 24 2007 Jesse Keating <jkeating@redhat.coM> - 0.3.5-1
|
|
|
|
- Use the right flavor in the Everything configs
|
|
|
|
|
2007-05-24 06:06:33 +00:00
|
|
|
* Thu May 24 2007 Jesse Keating <jkeating@redhat.coM> - 0.3.4-1
|
|
|
|
- Use a package checksum to verify cached download
|
|
|
|
|
2007-05-23 16:44:08 +00:00
|
|
|
* Wed May 23 2007 Jesse Keating <jkeating@redhat.coM> - 0.3.3-1
|
|
|
|
- Commit config files used for producing Fedora 7
|
|
|
|
- Default pungi.conf file to using Fedora 7 stuff
|
|
|
|
|
2007-05-21 16:08:30 +00:00
|
|
|
* Mon May 21 2007 Jesse Keating <jkeating@redhat.coM> - 0.3.2-1
|
|
|
|
- Don't quote ISO label, not running mkisofs in shell
|
|
|
|
- Apply sparc patches (spot)
|
|
|
|
- Fix cached downloads comparing correctly
|
|
|
|
- Shorten 'development' to 'devel' in default config, more space for mkisofs
|
|
|
|
- Handle config file missing better (jgranado)
|
|
|
|
|
2007-04-06 12:02:00 +00:00
|
|
|
* Fri Apr 06 2007 Jesse Keating <jkeating@redhat.com> - 0.3.1-1
|
|
|
|
- Fix comments in default config file
|
|
|
|
|
2007-04-02 21:19:19 +00:00
|
|
|
* Mon Apr 02 2007 Jesse Keating <jkeating@redhat.com> - 0.3.0-1
|
|
|
|
- Remove incompatible fc6 config files
|
|
|
|
- Update default config file with comments / new options
|
|
|
|
- Update comps file
|
|
|
|
- Enable source iso building again.
|
|
|
|
- Don't try a rescue if the script doesn't exist (prarit)
|
|
|
|
- Pass flavor off to buildinstall if it is set (wwoods)
|
|
|
|
- Fix a logic flaw in the depsolving loop
|
|
|
|
- Use yum's built in exclude handling
|
|
|
|
- Use yum's built in conditional handling for things from comps
|
|
|
|
- Do excludes before group handling.
|
|
|
|
- Get all potential matches for deps, let install time figure
|
|
|
|
the best one to use.
|
|
|
|
- Work around false positive 'unmatched' packages (globs are fun)
|
|
|
|
- Change how depsolving is done
|
|
|
|
- Get all potential matches for a dep, instead of our 'best'
|
|
|
|
our 'best' may not be the same as install time best.
|
|
|
|
- Remove anaconda code, use direct yum functions to get deps
|
|
|
|
- Use a True/False flag to depsolve instead of iterating over
|
|
|
|
a dict.
|
|
|
|
- Log what packages are being added for which reasons.
|
|
|
|
- Do things faster/smarter if we've only asked for one disc
|
|
|
|
- log the rpm2cpio stuff for release notes
|
|
|
|
- correctly capture errors from subprocess
|
|
|
|
|
2007-03-10 05:08:13 +00:00
|
|
|
* Fri Mar 09 2007 Jesse Keating <jkeating@redhat.com> - 0.2.8-1
|
|
|
|
- Call createrepo ourselves for the tree, not buildinstall's job
|
|
|
|
- Convert from commands to subprocess for things we call out
|
|
|
|
- Add kickstart %packages syntax support to package manifest
|
|
|
|
- Make the list we hand off to yum to search for as unique as we can
|
|
|
|
|
2007-02-28 19:08:07 +00:00
|
|
|
* Wed Feb 28 2007 Jesse Keating <jkeating@redhat.com> - 0.2.7-1
|
|
|
|
- Fix gathering of srpms (thanks skvidal)
|
|
|
|
- Update comps from F7 Test2
|
|
|
|
|
2007-02-21 21:48:08 +00:00
|
|
|
* Thu Feb 22 2007 Jesse Keating <jkeating@redhat.com> - 0.2.6-1
|
|
|
|
- Don't use TMPDIR with buildinstall, it is broken
|
|
|
|
|
2007-02-21 14:34:23 +00:00
|
|
|
* Wed Feb 21 2007 Jesse Keating <jkeating@redhat.com> - 0.2.5-1
|
|
|
|
- Make use of anaconda's TMPDIR support
|
|
|
|
- Put yum tempdirs in the workdir
|
|
|
|
- Add a version option to cli arguments
|
|
|
|
- Make cdsize a config option
|
|
|
|
|
2007-02-15 23:18:22 +00:00
|
|
|
* Thu Feb 15 2007 Jesse Keating <jkeating@redhat.com> - 0.2.4-1
|
|
|
|
- Add support for globbing in manifest
|
|
|
|
- Add new Make targets (Essien Ita Essien)
|
|
|
|
- Add runtime flags for doing specific stages of the compose (Essien Ita Essien)
|
|
|
|
- Add ability to define destdir on the cli to override conf file
|
|
|
|
- Clean up optionparse stuff, print usage if arg list is too small
|
|
|
|
- Fix part of the patch from Essien
|
|
|
|
- Add Contributors to the Authors file
|
|
|
|
- Adjust the Makefile so that srpm doesn't cause a tag
|
|
|
|
- Merged changes from Will Woods
|
|
|
|
- Write out some tree description files
|
|
|
|
- Don't traceback on existing files in download area (not sure this will stay)
|
|
|
|
- Style fixed some stuff from Will
|
|
|
|
- Add logging patch from jbowes
|
|
|
|
- Various logging tweaks
|
|
|
|
- Use -d flag in createrepo for sqlite blobs
|
|
|
|
- Add pydoc stuff to various functions
|
|
|
|
- Support comments in the package manifest
|
|
|
|
|
2007-02-06 22:40:13 +00:00
|
|
|
* Tue Feb 06 2007 Jesse Keating <jkeating@redhat.com> - 0.2.3-1
|
|
|
|
- Be able to opt-out of a bugurl since buildinstall supports this
|
|
|
|
- Make isodir an object of pungi (wwoods)
|
|
|
|
- yum bestPackagesFromList takes an arch argument. Fixes ppc64 bug
|
|
|
|
- Don't use 'returnSimple' anymore, deprecated in yum api
|
|
|
|
|
2007-01-29 21:11:16 +00:00
|
|
|
* Mon Jan 29 2007 Jesse Keating <jkeating@redhat.com> - 0.2.2-1
|
|
|
|
- Update the comps file again from F7
|
|
|
|
- Fix the ppc boot flags
|
|
|
|
- Clean up SRPM-disc junk
|
|
|
|
- add bugurl config option for anaconda betanag
|
|
|
|
|
2007-01-25 18:08:43 +00:00
|
|
|
* Thu Jan 25 2007 Jesse Keating <jkeating@redhat.com> - 0.2.1-1
|
2007-01-25 04:42:40 +00:00
|
|
|
- Add a "flavor" option (such as Desktop)
|
|
|
|
- Move packageorder file into workdir
|
2007-01-25 18:08:43 +00:00
|
|
|
- Update the comps file from F7
|
2007-01-25 04:42:40 +00:00
|
|
|
|
2007-01-24 23:15:36 +00:00
|
|
|
* Wed Jan 24 2007 Jesse Keating <jkeating@redhat.com> - 0.2.0-1
|
|
|
|
- Now use a manifest to determine what to pull in, not comps itself
|
|
|
|
- Add a minimal-manifest for test composes
|
|
|
|
- Add current F7 comps file for test composes
|
|
|
|
- Use some anaconda code to depsolve, gets better (and more common) results
|
|
|
|
- Bump the iso size to what was used in FC6
|
|
|
|
- Move splittree workdirs into work/ at the end of the run
|
|
|
|
- Remove our splittree for rawhide
|
|
|
|
- Remove old main() sections from pungi.py and gather.py
|
|
|
|
- Require yum 3.0.3 or newer
|
|
|
|
- Add rescueCD support
|
|
|
|
|
2006-12-14 03:07:01 +00:00
|
|
|
* Wed Dec 13 2006 Jesse Keating <jkeating@redhat.com> - 0.1.2-1
|
|
|
|
- Fix a bug in DVD repodata
|
|
|
|
- Add correct ppc boot args
|
|
|
|
- Set ppc arch correctly
|
|
|
|
|
2006-12-12 05:18:37 +00:00
|
|
|
* Mon Dec 11 2006 Jesse Keating <jkeating@redhat.com> - 0.1.1-2
|
|
|
|
- Need BR python-devel in rawhide
|
|
|
|
|
2006-12-12 04:57:21 +00:00
|
|
|
* Mon Dec 11 2006 Jesse Keating <jkeating@redhat.com> - 0.1.1-1
|
2006-12-10 02:59:34 +00:00
|
|
|
- Update to 0.1.1
|
|
|
|
- Add ability to get srpms
|
2006-12-12 04:57:21 +00:00
|
|
|
- Add ability to get relnote files
|
2006-12-10 02:59:34 +00:00
|
|
|
- Use a config file system
|
|
|
|
- Clean up some docs
|
|
|
|
- Add config files for composing FC6 respins
|
|
|
|
|
2006-11-08 22:52:04 +00:00
|
|
|
* Wed Nov 8 2006 Jesse Keating <jkeating@redhat.com> - 0.1.0-1
|
|
|
|
- Initial spec
|