f82a5e0
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
f82a5e0
f82a5e0
Name:           mash
633c785
Version:        0.1.15
f82a5e0
Release:        1%{?dist}
f82a5e0
Summary:        Koji buildsystem to yum repository converter
f82a5e0
Group:          Development/Tools
f82a5e0
License:        GPL
f82a5e0
URL:            http://people.redhat.com/notting/mash/
f82a5e0
Source0:        http://people.redhat.com/notting/mash/%{name}-%{version}.tar.gz
f82a5e0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3cdf609
Requires:       yum, createrepo, koji
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
f82a5e0
 
f82a5e0
%clean
f82a5e0
rm -rf $RPM_BUILD_ROOT
f82a5e0
f82a5e0
f82a5e0
%files
f82a5e0
%defattr(-,root,root,-)
f82a5e0
%doc AUTHORS ChangeLog COPYING README TODO
f82a5e0
%config(noreplace) %{_sysconfdir}/mash
f82a5e0
%{python_sitelib}/mash
f82a5e0
%{_bindir}/*
f82a5e0
%{_datadir}/mash
f82a5e0
f82a5e0
%changelog
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