de71779
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
de71779
de71779
Name:           mash
ae5d3a7
Version:        0.1.14
de71779
Release:        1%{?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
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
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
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