de71779
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
de71779
de71779
Name:           mash
df63c9f
Version:        0.1.18
701497d
Release:        3%{?dist}
de71779
Summary:        Koji buildsystem to yum repository converter
de71779
Group:          Development/Tools
de71779
License:        GPL
de71779
URL:            http://people.redhat.com/notting/mash/
de71779
Source0:        http://people.redhat.com/notting/mash/%{name}-%{version}.tar.gz
de71779
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ae5d3a7
Requires:       yum, createrepo, koji
de71779
BuildRequires:  python-devel
de71779
BuildArch:      noarch
c5ffd2d
Patch:		mash-multilib.patch
de71779
de71779
%description
de71779
mash is a tool that queries a koji buildsystem for the latest RPMs for
de71779
any particular tag, and creates repositories of those RPMs, including
de71779
any multlib RPMs that are necessary.
de71779
de71779
%prep
de71779
%setup -q
c5ffd2d
%patch -p1
de71779
de71779
%build
de71779
%{__python} setup.py build
de71779
de71779
%install
de71779
rm -rf $RPM_BUILD_ROOT
de71779
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
de71779
de71779
mv $RPM_BUILD_ROOT/%{_bindir}/mash.py $RPM_BUILD_ROOT/%{_bindir}/mash
de71779
 
de71779
%clean
de71779
rm -rf $RPM_BUILD_ROOT
de71779
de71779
de71779
%files
de71779
%defattr(-,root,root,-)
de71779
%doc AUTHORS ChangeLog COPYING README TODO
de71779
%config(noreplace) %{_sysconfdir}/mash
de71779
%{python_sitelib}/mash
de71779
%{_bindir}/*
de71779
%{_datadir}/mash
de71779
de71779
%changelog
701497d
* Tue Sep 18 2007 Bill Nottingham <notting@redhat.com> 0.1.18-3
701497d
- more multilib fixes from head (#294761)
701497d
c5ffd2d
* Thu Sep  6 2007 Bill Nottingham <notting@redhat.com> 0.1.18-2
c5ffd2d
- backport some multilib fixes from HEAD (#247321, #271761)
c5ffd2d
df63c9f
* Thu Jun 21 2007 Bill Nottingham <notting@redhat.com> 0.1.18-1
df63c9f
- pull in cyrus-sasl plugins (#245176)
df63c9f
3426799
* Thu Jun  7 2007 Bill Nottingham <notting@redhat.com> 0.1.17-1
3426799
- exclude debuginfo from repodata where appropriate
3426799
- add spam-o-matic
3426799
3426799
* Thu May 31 2007 Bill Nottingham <notting@redhat.com> 0.1.16-1
3426799
- fix arch handling
3426799
3426799
* Thu May 31 2007 Bill Nottingham <notting@redhat.com> 0.1.15-1
3426799
- propagate errors better
3426799
- handle signatures in koji correctly
3426799
ae5d3a7
* Wed May 30 2007 Bill Nottingham <notting@redhat.com> 0.1.14-1
ae5d3a7
- add a use_sqlite config option for determining whether to use createrepo -d
ae5d3a7
86c9349
* Wed May 30 2007 Bill Nottingham <notting@redhat.com> 0.1.13-1
86c9349
- hopefully fix the db locking issues
86c9349
- make source rpm path configurable
86c9349
- add updates config files
86c9349
86c9349
* Tue May 29 2007 Bill Nottingham <notting@redhat.com> 0.1.12-1
86c9349
- use /tmp where appropriate
86c9349
- hacks to use less memory
86c9349
d613aef
* Sat May 26 2007 Bill Nottingham <notting@redhat.com> 0.1.11-1
d613aef
- run more operations in parallel
d613aef
de71779
* Thu May 24 2007 Bill Nottingham <notting@redhat.com> 0.1.10-1
de71779
- fix kernel handling
de71779
- tweak rawhide config
de71779
de71779
* Wed May 23 2007 Bill Nottingham <notting@redhat.com> 0.1.9-1
de71779
- add wine, wine-arts to multilib whitelist (#241059)
de71779
de71779
* Fri May 18 2007 Bill Nottingham <notting@redhat.com> 0.1.8-1
de71779
- spec cleanups
de71779
de71779
* Thu May 17 2007 Bill Nottingham <notting@redhat.com> 0.1.7-1
de71779
- initial build