f82a5e0
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
f82a5e0
f82a5e0
Name:           mash
b4b5fa1
Version:        0.5.8
fa46093
Release:        4%{?dist}
f82a5e0
Summary:        Koji buildsystem to yum repository converter
f82a5e0
Group:          Development/Tools
6efff11
License:        GPL
7a2495d
URL:            http://fedorahosted.org/releases/m/a/mash/
7a2495d
Source0:        http://fedorahosted.org/releases/m/a/mash/%{name}-%{version}.tar.gz
c4be9e8
Patch0:		mash-nodelta.patch
db5169f
Patch1:		mash-f12key.patch
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
fa46093
#%patch0 -p1
db5169f
%patch1 -p1
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
fa46093
* Thu Aug 20 2009 Bill Nottingham <notting@redhat.com> 0.5.8-4
fa46093
- re-enable deltas
fa46093
db5169f
* Tue Aug 11 2009 Bill Nottingham <notting@redhat.com> 0.5.8-3
db5169f
- add new F12 key to rawhide mash config
db5169f
c4be9e8
* Fri Jul 24 2009 Bill Nottingham <notting@redhat.com> 0.5.8-2
c4be9e8
- disable deltas for rawhide during payload format mass rebuild
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