|
|
de71779 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
de71779 |
|
|
|
de71779 |
Name: mash
|
|
|
de71779 |
Version: 0.1.10
|
|
|
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)
|
|
|
de71779 |
Requires: yum >= 3.1.0, 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
|
|
|
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
|