From a81b458e87dc9a1f8aaa26eae901faf54cc1fdf5 Mon Sep 17 00:00:00 2001 From: Jan Hutar Date: Dec 21 2009 07:45:08 +0000 Subject: Spec file changes suggested by James Laska --- diff --git a/python-rpmfluff.spec b/python-rpmfluff.spec index 0ea3cff..3ecf33d 100644 --- a/python-rpmfluff.spec +++ b/python-rpmfluff.spec @@ -7,12 +7,12 @@ Summary: Lightweight way of building RPMs, and sabotaging them License: GPLv2 Group: Development/Tools URL: https://fedorahosted.org/rpmfluff/ - Source0: https://fedorahosted.org/releases/r/p/rpmfluff/rpmfluff-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python + %description rpmfluff is a lightweight way of building RPMs, and sabotaging them so they are broken in controlled ways. @@ -20,24 +20,30 @@ are broken in controlled ways. It is intended for use when testing RPM-testers e.g. rpmlint and writing test cases for RPM tools e.g. yum + %prep %setup -q -n rpmfluff-%{version} + %build echo "Nothing to build" + %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{python_sitelib}/ install -p -m 0755 rpmfluff.py $RPM_BUILD_ROOT/%{python_sitelib}/ + %clean rm -rf $RPM_BUILD_ROOT + %files %defattr(-,root,root,-) %doc README -%{python_sitelib}/* +%{python_sitelib}/rpmfluff.py* + %changelog * Fri Dec 18 2009 Jan Hutar - 0.3-1