[PATCH pykickstart] Add %check section to pykickstart.spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux