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 a421759
Version:        0.5.22
Bill Nottingham a421759
Release:        1%{?dist}
f82a5e0
Summary:        Koji buildsystem to yum repository converter
f82a5e0
Group:          Development/Tools
Bill Nottingham 0bfd131
License:        GPLv2
7a2495d
URL:            http://fedorahosted.org/releases/m/a/mash/
7a2495d
Source0:        http://fedorahosted.org/releases/m/a/mash/%{name}-%{version}.tar.gz
f82a5e0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e70c8a0
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
59d9c59
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
d6a24e2
%{python_sitelib}/mash*
f82a5e0
%{_bindir}/*
f82a5e0
%{_datadir}/mash
59d9c59
/var/cache/mash
f82a5e0
f82a5e0
%changelog
Bill Nottingham a421759
* Mon Feb 27 2011 Bill Nottingham <notting@redhat.com> 0.5.22-1
Bill Nottingham a421759
- Add perl-libs whitelist
Bill Nottingham a421759
- fix arm dependency checks (<dennis@ausil.us>)
Bill Nottingham a421759
- fix key ordering
Bill Nottingham 4505dec
Bill Nottingham 0bfd131
* Tue Feb 10 2011 Bill Nottingham <notting@redhat.com> 0.5.21-1
Bill Nottingham 0bfd131
- update configs for F15 (<dennis@ausil.us>)
Bill Nottingham 214eb64
- add a knob for frobbing which ppc arch is preferred (<jwboyer@gmail.com>)
Bill Nottingham 4506836
- fix gdk-pixbuf loader path (#649339)
Bill Nottingham 4d218ef
Bill Nottingham f1f4f8e
* Tue Sep 28 2010 Bill Nottingham <notting@redhat.com> 0.5.20-1
Bill Nottingham f1f4f8e
- solve multilib against parent repos if configured (#633136)
Bill Nottingham f1f4f8e
- fix traceback when only binary RPMS exist (modified from #636697, <tguthmann@iseek.com.au>)
Bill Nottingham f1f4f8e
- disable sigchecking on deltas in source, not via patch (#512454)
Bill Nottingham f1f4f8e
- mark LSB-providing packages as multilib (#585858)
Bill Nottingham f1f4f8e
- fix libmunge to catch more cases (#637172, <mschwendt@gmail.com>)
Bill Nottingham f1f4f8e
- add krb5 plugin dir to multilib list (#632611)
Bill Nottingham f1f4f8e
- add libstdc++-static as a multilib whitelist (#630581)
Bill Nottingham f1f4f8e
- add dri as a multilib dir
Bill Nottingham f1f4f8e
- arm arch compatiblitiy <dennis@ausil.us>
Bill Nottingham f1f4f8e
Bill Nottingham 8d9609a
* Fri Jul 30 2010 Bill Nottingham <notting@redhat.com> 0.5.19-1
Bill Nottingham 8d9609a
- retarget branched.mash at f14
Bill Nottingham 8d9609a
Bill Nottingham 8d9609a
* Mon Jul 26 2010 Bill Nottingham <notting@redhat.com> 0.5.18-1
274b1ef
- add F14 key (<jkeating@redhat.com>)
736fd00
dab9782
* Fri Jun 25 2010 Bill Nottingham <notting@redhat.com> 0.5.17-1
dab9782
- fix copying of prior deltarpms, broken in 0.5.16 (#598584)
dab9782
56866f0
* Wed Apr 21 2010 Bill Nottingham <notting@redhat.com> 0.5.16-1
56866f0
- fix use of prior repodata (<jkeating@redhat.com>)
8b432d5
f694bfd
* Fri Apr 16 2010 Bill Nottingham <notting@redhat.com> 0.5.15-1
f694bfd
- branched compose configuration tweaks
f694bfd
- speed up composes a teeny bit
f694bfd
cef5870
* Tue Feb 23 2010 Bill Nottingham <notting@redhat.com> 0.5.14-1
cef5870
- further changes for NFR (<jkeating@redhat.com>)
cef5870
c471ab0
* Fri Feb 19 2010 Bill Nottingham <notting@redhat.com> 0.5.13-1
c471ab0
- assorted fixes for no-frozen-rawhide
c471ab0
- make package hash directories all lowercase
298d267
b79285e
* Wed Feb 17 2010 Bill Nottingham <notting@redhat.com> 0.5.12-1
b79285e
- adjust for branched trees and no-frozen-rawhide (<jkeating@redhat.com>)
b79285e
- allow for source repos to be optional (<jgregusk@redhat.com>)
b79285e
- allow for pulling all builds, not just latest (<kanarip@fedoraunity.org>)
b79285e
- enable hashed packages for rawhide
b79285e
b79285e
* Fri Dec 18 2009 Bill Nottingham <notting@redhat.com> 0.5.11-1
b79285e
- allow package directories to be hashed by the package name
b79285e
  (adapted from <skvidal@fedoraproject.org>)
b79285e
37fd0a2
* Mon Nov 16 2009 Bill Nottingham <notting@redhat.com> 0.5.10-1
37fd0a2
- fix up distro_tags and content_tags
37fd0a2
- bump rawhide version
37fd0a2
- there is no ppc in Fedora rawhide anymore (<jkeating@redhat.com>)
d870291
37fd0a2
* Mon Oct  5 2009 Bill Nottingham <notting@redhat.com> 0.5.9-1
37fd0a2
- set dist_tags & content_tags when making metadata; update rawhide config
37fd0a2
  (<jkeating@redhat.com>)
37fd0a2
- allow glibc-static as a devel package
37fd0a2
- allow making ancient yum-arch metadata
c4be9e8
b4b5fa1
* Mon Jun 29 2009 Bill Nottingham <notting@redhat.com> 0.5.8-1
b4b5fa1
- noarch packages can have debuginfo too (#508746)
b4b5fa1
- remove wine-arts from multilib whitelist (not needed, doesn't exist)
b4b5fa1
50c6853
* Tue Jun 23 2009 Bill Nottingham <notting@redhat.com> 0.5.7-1
50c6853
- when using previous runs for deltas, only look in the appropriate arch dirs
50c6853
- wine multilib fixes
50c6853
13322ba
* Mon Jun 22 2009 Bill Nottingham <notting@redhat.com> 0.5.6-1
13322ba
- more gtk2 multilib (#507165)
13322ba
- minor transaction speedups
13322ba
- handle new yum arch-setting API. (<skvidal@fedoraproject.org>)
0ac070e
0acef60
* Fri May  8 2009 Bill Nottingham <notting@redhat.com> 0.5.5-1
0acef60
- fix setting delta_dirs in config file
0acef60
- canonicalize -o option if passed as a relative path
0acef60
421ee1f
* Wed May  6 2009 Bill Nottingham <notting@redhat.com> 0.5.4-1
421ee1f
- allow configuring createrepo hash type
421ee1f
- remove old config files
70e9497
421ee1f
* Mon Apr 27 2009 Bill Nottingham <notting@redhat.com> 0.5.3-1
421ee1f
- when copying in old deltas, make sure the signatures match current packages
421ee1f
- don't delta source and debuginfo packages
421ee1f
421ee1f
* Fri Apr 17 2009 Bill Nottingham <notting@redhat.com> 0.5.2-1
421ee1f
- set a max size for deltarpm-able packages (#496242)
421ee1f
421ee1f
* Thu Apr 16 2009 Bill Nottingham <notting@redhat.com> 0.5.1-1
421ee1f
- delta fixes
421ee1f
- handle qt/kde plugins better (#495947)
421ee1f
421ee1f
* Wed Apr 15 2009 Bill Nottingham <notting@redhat.com> 0.5.0-1
421ee1f
- Add support for generating deltas with createrepo
421ee1f
- add F11 key to config (<jkeating@redhat.com>)
421ee1f
- various multlib updates (#485242, etc.)
9f8b396
9c107da
* Thu Jan  8 2009 Bill Nottingham <notting@redhat.com> 0.4.9-1
9c107da
- error out if strict_keys is set and we can't download the signed package
9c107da
34db030
* Thu Dec 18 2008 Bill Nottingham <notting@redhat.com> 0.4.8-1
34db030
- Fix debuginfo exclusion
34db030
- Fix --skip-stat with old createrepo
34db030
- Use update_from, if it's available
34db030
2453cb6
* Wed Dec 17 2008 Bill Nottingham <notting@redhat.com> 0.4.7-1
2453cb6
- Fix noarch handling
2453cb6
30a04d0
* Wed Dec 17 2008 Bill Nottingham <notting@redhat.com> 0.4.6-1
30a04d0
- Fix -p/--previous for certain repository layouts
30a04d0
e70c8a0
* Tue Dec 16 2008 Bill Nottingham <notting@redhat.com> 0.4.5-1
e70c8a0
- fix caching bug with respect to epochs
e70c8a0
- work with both python createrepo API and commandline createrepo
e70c8a0
d76bbf5
* Tue Dec 16 2008 Bill Nottingham <notting@redhat.com> 0.4.4-1
89b69fe
- Mark gstreamer plugins as multilib (#252173)
89b69fe
- Some more multilib devel blacklisting, including php. (#342851)
89b69fe
- Add a --previous option, for copying createrepo data
b4eb8b0
6efff11
* Wed Oct 15 2008 Bill Nottingham <notting@redhat.com> 0.4.2-1
6efff11
- Enable unique repoadata file names (<jkeating@redhat.com>)
6efff11
- Add a kernel multilib policy for sparc (<dennis@ausil.us>)
6efff11
- Fix base multilib policy, and packages with no key (<dennis@ausil.us>)
532214a
64bac14
* Mon Sep 15 2008 Bill Nottingham <notting@redhat.com> 0.4.1-1
64bac14
- Adjust for new keys
64bac14
59d9c59
* Tue Jul 22 2008 Bill Nottingham <notting@redhat.com> 0.4.0-1
59d9c59
- add simple timestamping for profiling usage
59d9c59
- add support for caching non-local koji repositories
59d9c59
ec41c95
* Fri May 16 2008 Bill Nottingham <notting@redhat.com> 0.3.7-1
ec41c95
- add F9 updates configuration
ec41c95
c4530b8
* Tue Apr 29 2008 Bill Nottingham <notting@redhat.com> 0.3.6-1
c4530b8
- adjust qt path to catch scim-bridge-qt
c4530b8
3810673
* Mon Apr 14 2008 Bill Nottingham <notting@redhat.com> 0.3.5-1
3810673
- add pulseaudio-utils as well
3810673
adedc2b
* Fri Apr 11 2008 Bill Nottingham <notting@redhat.com> 0.3.4-1
adedc2b
- add alsa plugins to multilib list (#338211)
adedc2b
409c9a0
* Tue Apr  1 2008 Bill Nottingham <notting@redhat.com> 0.3.3-1
409c9a0
- add gtk modules to multilib list (#439949)
409c9a0
c12e1ca
* Fri Feb 22 2008 Bill Nottingham <notting@redhat.com> 0.3.2-1
c12e1ca
- fix typo that broke handling of unsigned packages
6b01da4
- fix yum api usage (#433555, <peter@pramberger.at>)
6b01da4
- fix noarch w/o src.rpm logic (#433551, <peter@pramberger.at>)
6b01da4
- Add a 'use_repoview' option that allows us to toggle repoview generation. (<lmacken@redhat.com>)
6b01da4
- Tell createrepo to be quiet (<lmacken@redhat.com>)
6b01da4
- Don't re-generate repoview after multilib solving. (<lmacken@redhat.com>)
6b01da4
- Fix our "failsafe" shutil.copyfile call (<lmacken@redhat.com>)
522a21f
d6a24e2
* Thu Jan 17 2008 Bill Nottingham <notting@redhat.com> 0.3.0-1
d6a24e2
- use createrepo's python API
d6a24e2
- allow running without local koji storage
d6a24e2
20dab30
* Mon Nov 19 2007 Bill Nottingham <notting@redhat.com> 0.2.10-1
20dab30
- handle non Packages/ repositories better (#350391)
20dab30
2d63668
* Fri Nov  9 2007 Bill Nottingham <notting@redhat.com> 0.2.9-1
2d63668
- handle noarch excludearch for packages without source
2d63668
  rpms (<rob.myers@gtri.gatech.edu>)
2d63668
- use yum's pkgSack, not yumLocalPackage
2d63668
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