f82a5e0
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
f82a5e0
f82a5e0
Name:           mash
Bill Nottingham 93b8100
Version:        0.5.20
Bill Nottingham 93b8100
Release:        1%{?dist}
f82a5e0
Summary:        Koji buildsystem to yum repository converter
f82a5e0
Group:          Development/Tools
f82a5e0
License:        GPL
80345b6
URL:            http://fedorahosted.org/releases/m/a/mash/
80345b6
Source0:        http://fedorahosted.org/releases/m/a/mash/%{name}-%{version}.tar.gz
f82a5e0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3cdf609
Requires:       yum, createrepo, koji
8e7a2e6
Conflicts:	pungi < 1.0.0
f82a5e0
BuildRequires:  python-devel
f82a5e0
BuildArch:      noarch
f82a5e0
f82a5e0
%description
f82a5e0
mash is a tool that queries a koji buildsystem for the latest RPMs for
f82a5e0
any particular tag, and creates repositories of those RPMs, including
f82a5e0
any multlib RPMs that are necessary.
f82a5e0
f82a5e0
%prep
f82a5e0
%setup -q
f82a5e0
f82a5e0
%build
f82a5e0
%{__python} setup.py build
f82a5e0
f82a5e0
%install
f82a5e0
rm -rf $RPM_BUILD_ROOT
f82a5e0
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
f82a5e0
f82a5e0
mv $RPM_BUILD_ROOT/%{_bindir}/mash.py $RPM_BUILD_ROOT/%{_bindir}/mash
f0690a0
mkdir -p $RPM_BUILD_ROOT/var/cache/mash
f82a5e0
%clean
f82a5e0
rm -rf $RPM_BUILD_ROOT
f82a5e0
f82a5e0
%files
f82a5e0
%defattr(-,root,root,-)
f82a5e0
%doc AUTHORS ChangeLog COPYING README TODO
f82a5e0
%config(noreplace) %{_sysconfdir}/mash
f0690a0
%{python_sitelib}/mash*
f82a5e0
%{_bindir}/*
f82a5e0
%{_datadir}/mash
f0690a0
/var/cache/mash
f82a5e0
f82a5e0
%changelog
Bill Nottingham 93b8100
* Tue Sep 28 2010 Bill Nottingham <notting@redhat.com> 0.5.20-1
Bill Nottingham 93b8100
- solve multilib against parent repos if configured (#633136)
Bill Nottingham 93b8100
- fix traceback when only binary RPMS exist (modified from #636697, <tguthmann@iseek.com.au>)
Bill Nottingham 93b8100
- disable sigchecking on deltas in source, not via patch (#512454)
Bill Nottingham 93b8100
- mark LSB-providing packages as multilib (#585858)
Bill Nottingham 93b8100
- fix libmunge to catch more cases (#637172, <mschwendt@gmail.com>)
Bill Nottingham 93b8100
- add krb5 plugin dir to multilib list (#632611)
Bill Nottingham 93b8100
- add libstdc++-static as a multilib whitelist (#630581)
Bill Nottingham 93b8100
- add dri as a multilib dir
Bill Nottingham 93b8100
- arm arch compatiblitiy <dennis@ausil.us>
Bill Nottingham 93b8100
Bill Nottingham 93b8100
* Fri Jul 30 2010 Bill Nottingham <notting@redhat.com> 0.5.19-1
Bill Nottingham 93b8100
- retarget branched.mash at f14
Bill Nottingham 93b8100
Bill Nottingham 93b8100
* Mon Jul 26 2010 Bill Nottingham <notting@redhat.com> 0.5.18-1
Bill Nottingham 93b8100
- add F14 key (<jkeating@redhat.com>)
Bill Nottingham 759763e
1a66e60
* Fri Jun 25 2010 Bill Nottingham <notting@redhat.com> 0.5.17-1
1a66e60
- fix copying of prior deltarpms, broken in 0.5.16 (#598584)
1a66e60
bcc743e
* Wed Apr 21 2010 Bill Nottingham <notting@redhat.com> 0.5.16-1
bcc743e
- fix use of prior repodata (<jkeating@redhat.com>)
bcc743e
bcc743e
* Fri Apr 16 2010 Bill Nottingham <notting@redhat.com> 0.5.15-1
bcc743e
- branched compose configuration tweaks
bcc743e
- speed up composes a teeny bit
bcc743e
bcc743e
* Tue Feb 23 2010 Bill Nottingham <notting@redhat.com> 0.5.14-1
bcc743e
- further changes for NFR (<jkeating@redhat.com>)
bcc743e
bcc743e
* Fri Feb 19 2010 Bill Nottingham <notting@redhat.com> 0.5.13-1
bcc743e
- assorted fixes for no-frozen-rawhide
bcc743e
- make package hash directories all lowercase
bcc743e
bcc743e
* Wed Feb 17 2010 Bill Nottingham <notting@redhat.com> 0.5.12-1
bcc743e
- adjust for branched trees and no-frozen-rawhide (<jkeating@redhat.com>)
bcc743e
- allow for source repos to be optional (<jgregusk@redhat.com>)
bcc743e
- allow for pulling all builds, not just latest (<kanarip@fedoraunity.org>)
bcc743e
- enable hashed packages for rawhide
bcc743e
bcc743e
* Fri Dec 18 2009 Bill Nottingham <notting@redhat.com> 0.5.11-1
bcc743e
- allow package directories to be hashed by the package name
bcc743e
  (adapted from <skvidal@fedoraproject.org>)
bcc743e
bcc743e
* Mon Nov 16 2009 Bill Nottingham <notting@redhat.com> 0.5.10-1
bcc743e
- fix up distro_tags and content_tags
bcc743e
- bump rawhide version
bcc743e
- there is no ppc in Fedora rawhide anymore (<jkeating@redhat.com>)
bf0bbc5
80345b6
* Mon Oct  5 2009 Bill Nottingham <notting@redhat.com> 0.5.9-1
80345b6
- set dist_tags & content_tags when making metadata; update rawhide config
80345b6
  (<jkeating@redhat.com>)
80345b6
- allow glibc-static as a devel package
80345b6
- allow making ancient yum-arch metadata
f617bb0
f0690a0
* Mon Jun 29 2009 Bill Nottingham <notting@redhat.com> 0.5.8-1
f0690a0
- noarch packages can have debuginfo too (#508746)
f0690a0
- remove wine-arts from multilib whitelist (not needed, doesn't exist)
f0690a0
f0690a0
* Tue Jun 23 2009 Bill Nottingham <notting@redhat.com> 0.5.7-1
f0690a0
- when using previous runs for deltas, only look in the appropriate arch dirs
f0690a0
- wine multilib fixes
f0690a0
f0690a0
* Mon Jun 22 2009 Bill Nottingham <notting@redhat.com> 0.5.6-1
f0690a0
- more gtk2 multilib (#507165)
f0690a0
- minor transaction speedups
f0690a0
- handle new yum arch-setting API. (<skvidal@fedoraproject.org>)
f0690a0
f0690a0
* Fri May  8 2009 Bill Nottingham <notting@redhat.com> 0.5.5-1
f0690a0
- fix setting delta_dirs in config file
f0690a0
- canonicalize -o option if passed as a relative path
f0690a0
f0690a0
* Wed May  6 2009 Bill Nottingham <notting@redhat.com> 0.5.4-1
f0690a0
- allow configuring createrepo hash type
f0690a0
- remove old config files
f0690a0
f0690a0
* Mon Apr 27 2009 Bill Nottingham <notting@redhat.com> 0.5.3-1
f0690a0
- when copying in old deltas, make sure the signatures match current packages
f0690a0
- don't delta source and debuginfo packages
f0690a0
f0690a0
* Fri Apr 17 2009 Bill Nottingham <notting@redhat.com> 0.5.2-1
f0690a0
- set a max size for deltarpm-able packages (#496242)
f0690a0
f0690a0
* Thu Apr 16 2009 Bill Nottingham <notting@redhat.com> 0.5.1-1
f0690a0
- delta fixes
f0690a0
- handle qt/kde plugins better (#495947)
f0690a0
f0690a0
* Wed Apr 15 2009 Bill Nottingham <notting@redhat.com> 0.5.0-1
f0690a0
- Add support for generating deltas with createrepo
f0690a0
- add F11 key to config (<jkeating@redhat.com>)
f0690a0
- various multlib updates (#485242, etc.)
f0690a0
f0690a0
* Thu Jan  8 2009 Bill Nottingham <notting@redhat.com> 0.4.9-1
f0690a0
- error out if strict_keys is set and we can't download the signed package
f0690a0
f0690a0
* Thu Dec 18 2008 Bill Nottingham <notting@redhat.com> 0.4.8-1
f0690a0
- Fix debuginfo exclusion
f0690a0
- Fix --skip-stat with old createrepo
f0690a0
- Use update_from, if it's available
f0690a0
f0690a0
* Wed Dec 17 2008 Bill Nottingham <notting@redhat.com> 0.4.7-1
f0690a0
- Fix noarch handling
f0690a0
f0690a0
* Wed Dec 17 2008 Bill Nottingham <notting@redhat.com> 0.4.6-1
f0690a0
- Fix -p/--previous for certain repository layouts
f0690a0
f0690a0
* Tue Dec 16 2008 Bill Nottingham <notting@redhat.com> 0.4.5-1
f0690a0
- fix caching bug with respect to epochs
f0690a0
- work with both python createrepo API and commandline createrepo
f0690a0
f0690a0
* Tue Dec 16 2008 Bill Nottingham <notting@redhat.com> 0.4.4-1
f0690a0
- Mark gstreamer plugins as multilib (#252173)
f0690a0
- Some more multilib devel blacklisting, including php. (#342851)
f0690a0
- Add a --previous option, for copying createrepo data
f0690a0
f0690a0
* Wed Oct 15 2008 Bill Nottingham <notting@redhat.com> 0.4.2-1
f0690a0
- Enable unique repoadata file names (<jkeating@redhat.com>)
f0690a0
- Add a kernel multilib policy for sparc (<dennis@ausil.us>)
f0690a0
- Fix base multilib policy, and packages with no key (<dennis@ausil.us>)
f0690a0
f0690a0
* Mon Sep 15 2008 Bill Nottingham <notting@redhat.com> 0.4.1-1
f0690a0
- Adjust for new keys
f0690a0
f0690a0
* Tue Jul 22 2008 Bill Nottingham <notting@redhat.com> 0.4.0-1
f0690a0
- add simple timestamping for profiling usage
f0690a0
- add support for caching non-local koji repositories
f0690a0
f0690a0
* Fri May 16 2008 Bill Nottingham <notting@redhat.com> 0.3.7-1
f0690a0
- add F9 updates configuration
f0690a0
f0690a0
* Tue Apr 29 2008 Bill Nottingham <notting@redhat.com> 0.3.6-1
f0690a0
- adjust qt path to catch scim-bridge-qt
f0690a0
f0690a0
* Mon Apr 14 2008 Bill Nottingham <notting@redhat.com> 0.3.5-1
f0690a0
- add pulseaudio-utils as well
51be249
f0690a0
* Fri Apr 11 2008 Bill Nottingham <notting@redhat.com> 0.3.4-1
f0690a0
- add alsa plugins to multilib list (#338211)
8903fe3
f0690a0
* Tue Apr  1 2008 Bill Nottingham <notting@redhat.com> 0.3.3-1
f0690a0
- add gtk modules to multilib list (#439949)
17c99c3
f0690a0
* Fri Feb 22 2008 Bill Nottingham <notting@redhat.com> 0.3.2-1
f0690a0
- fix typo that broke handling of unsigned packages
f0690a0
- fix yum api usage (#433555, <peter@pramberger.at>)
09ad8fe
- fix noarch w/o src.rpm logic (#433551, <peter@pramberger.at>)
f0690a0
- Add a 'use_repoview' option that allows us to toggle repoview generation. (<lmacken@redhat.com>)
f0690a0
- Tell createrepo to be quiet (<lmacken@redhat.com>)
f0690a0
- Don't re-generate repoview after multilib solving. (<lmacken@redhat.com>)
f0690a0
- Fix our "failsafe" shutil.copyfile call (<lmacken@redhat.com>)
f0690a0
f0690a0
* Thu Jan 17 2008 Bill Nottingham <notting@redhat.com> 0.3.0-1
f0690a0
- use createrepo's python API
f0690a0
- allow running without local koji storage
09ad8fe
39bf2a2
* Mon Nov 19 2007 Bill Nottingham <notting@redhat.com> 0.2.10-1
39bf2a2
- handle non Packages/ repositories better (#350391)
39bf2a2
025cfac
* Fri Nov  9 2007 Bill Nottingham <notting@redhat.com> 0.2.9-1
025cfac
- handle noarch excludearch for packages without source
025cfac
  rpms (<rob.myers@gtri.gatech.edu>)
025cfac
- use yum's pkgSack, not yumLocalPackage
025cfac
6cf101c
* Tue Sep 25 2007 Bill Nottingham <notting@redhat.com> 0.2.8-1
6cf101c
- libflashsupport (#305541)
6cf101c
48b9b91
* Fri Sep 21 2007 Bill Nottingham <notting@redhat.com> 0.2.7-1
48b9b91
- disable repoview for now
48b9b91
8d25342
* Thu Sep 20 2007 Bill Nottingham <notting@redhat.com> 0.2.6-1
8d25342
- repoview cleanups/fixes
8d25342
- fix gtkimmodules typo (#295371, <petersen@redhat.com>)
8d25342
687b01f
* Tue Sep 18 2007 Bill Nottingham <notting@redhat.com> 0.2.5-1
687b01f
- handle valgrind for multilib differently (#294761)
687b01f
6b235a3
* Mon Sep 17 2007 Bill Nottingham <notting@redhat.com> 0.2.4-1
6b235a3
- repoview support (<jkeating@redhat.com>)
6b235a3
e2e040e
* Thu Sep  6 2007 Bill Nottingham <notting@redhat.com> 0.2.3-1
e2e040e
- blacklist java-1.7.0-icedtea-devel (#271761)
e2e040e
ad902d1
* Tue Sep  4 2007 Bill Nottingham <notting@redhat.com> 0.2.2-1
7d42d11
- add nspluginwrapper to multilib whitelist (#275021)
ad902d1
- fix kernel-devel (#247321)
7d42d11
8e7a2e6
* Tue Aug 28 2007 Bill Nottingham <notting@redhat.com> 0.2.0-1
8e7a2e6
- updates to work with pungi 1.0.0, conflict with older pungi
8e7a2e6
- fix some multilib compose issues (<drago01@gmail.com>)
8e7a2e6
640950a
* Mon Jul 23 2007 Bill Nottingham <notting@redhat.com> 0.1.19-1
640950a
- fix spam-o-matic to use python mailer
640950a
27d51ab
* Thu Jun 21 2007 Bill Nottingham <notting@redhat.com> 0.1.18-1
27d51ab
- pull in cyrus-sasl plugins (#245176)
27d51ab
6cd6092
* Thu Jun  7 2007 Bill Nottingham <notting@redhat.com> 0.1.17-1
6cd6092
- exclude debuginfo from repodata where appropriate
6cd6092
- add spam-o-matic
6cd6092
3d8f871
* Thu May 31 2007 Bill Nottingham <notting@redhat.com> 0.1.16-1
3d8f871
- fix arch handling
3d8f871
633c785
* Thu May 31 2007 Bill Nottingham <notting@redhat.com> 0.1.15-1
633c785
- propagate errors better
633c785
- handle signatures in koji correctly
633c785
3cdf609
* Wed May 30 2007 Bill Nottingham <notting@redhat.com> 0.1.14-1
3cdf609
- add a use_sqlite config option for determining whether to use createrepo -d
3cdf609
61ee3c5
* Wed May 30 2007 Bill Nottingham <notting@redhat.com> 0.1.13-1
61ee3c5
- hopefully fix the db locking issues
61ee3c5
- make source rpm path configurable
61ee3c5
- add updates config files
61ee3c5
61ee3c5
* Tue May 29 2007 Bill Nottingham <notting@redhat.com> 0.1.12-1
61ee3c5
- use /tmp where appropriate
61ee3c5
- hacks to use less memory
61ee3c5
89d7403
* Sat May 26 2007 Bill Nottingham <notting@redhat.com> 0.1.11-1
89d7403
- run more operations in parallel
89d7403
f82a5e0
* Thu May 24 2007 Bill Nottingham <notting@redhat.com> 0.1.10-1
f82a5e0
- fix kernel handling
f82a5e0
- tweak rawhide config
f82a5e0
f82a5e0
* Wed May 23 2007 Bill Nottingham <notting@redhat.com> 0.1.9-1
f82a5e0
- add wine, wine-arts to multilib whitelist (#241059)
f82a5e0
f82a5e0
* Fri May 18 2007 Bill Nottingham <notting@redhat.com> 0.1.8-1
f82a5e0
- spec cleanups
f82a5e0
f82a5e0
* Thu May 17 2007 Bill Nottingham <notting@redhat.com> 0.1.7-1
f82a5e0
- initial build