Add a %check section to pykickstart.spec which invokes make check and make test. --- pykickstart.spec | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pykickstart.spec b/pykickstart.spec index e319d73..0291700 100644 --- a/pykickstart.spec +++ b/pykickstart.spec @@ -15,7 +15,7 @@ Group: System Environment/Libraries BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel, gettext, python-setuptools-devel -Requires: python, python-urlgrabber +Requires: python, python-urlgrabber, pychecker %description The pykickstart package is a python library for manipulating kickstart @@ -32,6 +32,9 @@ rm -rf %{buildroot} make DESTDIR=%{buildroot} install %find_lang %{name} +%check +make check test + %clean rm -rf %{buildroot} -- 1.6.5.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list