f82a5e0
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
f82a5e0
f82a5e0
Name:           mash
39bf2a2
Version:        0.2.10
51be249
Release:        4%{?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
5b829ac
Patch1:		mash-noarch_build_nosrc-fix.patch
5b829ac
Patch2:		mash-multilib_yum_reponame-fix.patch
17c99c3
Patch3:		mash-multilib-sync.patch
f82a5e0
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3cdf609
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
17c99c3
%patch1 -p0
17c99c3
%patch2 -p0
51be249
%patch3 -p0 -b .foo
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
51be249
* Mon Jun 23 2008 Bill Nottingham <notting@redhat.com> 0.2.10-4
51be249
- fix scim-qt*
51be249
8903fe3
* Mon Apr 14 2008 Bill Nottingham <notting@redhat.com> 0.2.10-3
8903fe3
- sync again
8903fe3
8d76491
* Fri Apr 11 2008 Bill Nottingham <notting@redhat.com> 0.2.10-2
17c99c3
- sync multilib list with HEAD
17c99c3
09ad8fe
* Wed Feb 20 2008 Bill Nottingham <notting@redhat.com>
09ad8fe
- fix noarch w/o src.rpm logic (#433551, <peter@pramberger.at>)
5b829ac
- fix yum API usage (#433555, <peter@pramberger.at>)
09ad8fe
39bf2a2
* Mon Nov 19 2007 Bill Nottingham <notting@redhat.com> 0.2.10-1
39bf2a2
- handle non Packages/ repositories better (#350391)
39bf2a2
025cfac
* Fri Nov  9 2007 Bill Nottingham <notting@redhat.com> 0.2.9-1
025cfac
- handle noarch excludearch for packages without source
025cfac
  rpms (<rob.myers@gtri.gatech.edu>)
025cfac
- use yum's pkgSack, not yumLocalPackage
025cfac
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