%define name rpmbuildupdate %define version 0.6 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Helps you build up to date RPMs License: GPL Group: Development/Other Source0: %{name}-%{version}.tar.bz2 URL: http://qa.mandriva.com/twiki/bin/view/Main/RpmBuildUpdate BuildArch: noarch Requires: wget Buildroot: %{_tmppath}/%{name}-%{version} Conflicts: rpm-rebuilder <= 0.25-1mdk %description rpmbuildupdate helps you build up to date RPMs. It download source tarball and update the spec files. It can also be used to rebuild and apply scripted change to a spec file. %prep %setup %build %install rm -rf %{buildroot} make install %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/%{name} %{_sysconfdir}/bash_completion.d/%{name} %changelog * Wed Jan 18 2006 Michael Scherer 0.6-1mdk - 0.6 - enhance description - add url * Thu Oct 06 2005 Guillaume Rousse 0.5-1mdk - first individual release