From a915e99c114a5da65bd96dcaf14b1d3008eefd6e Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Sep 20 2011 20:29:37 +0000 Subject: Merge branch 'trialify' * trialify: Add trial output to .gitignore Added %check --- diff --git a/.gitignore b/.gitignore index 04efec1..0b6a840 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /build /dist /beah.egg-info +/_trial_temp/ diff --git a/beah.spec b/beah.spec index fe94d2e..a84d78e 100644 --- a/beah.spec +++ b/beah.spec @@ -27,9 +27,7 @@ Requires: procmail Requires: python%{?_rhel3} Requires: python%{?_rhel3}-setuptools Requires: python%{?_rhel3}-simplejson -Requires: python%{?_rhel3}-twisted-core Requires: python%{?_rhel3}-twisted-web -Requires: python%{?_rhel3}-zope-interface # We need these for EL4 and EL5. # RHEL3 python26 includes these, but since its a versioned package doesn't provide them. %if "0%{?dist}" != "0" @@ -43,6 +41,12 @@ Requires(preun): initscripts Requires(postun): initscripts BuildRequires: python%{?_py_dev}-devel BuildRequires: python%{?_rhel3}-setuptools +BuildRequires: python%{?_rhel3}-simplejson +BuildRequires: python%{?_rhel3}-twisted-web +%if "0%{?dist}" != "0" +BuildRequires: python-hashlib +BuildRequires: python-uuid +%endif %description Beah - Test Harness. @@ -68,6 +72,9 @@ Powered by Twisted. rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --optimize=1 --skip-build --root $RPM_BUILD_ROOT +%check +trial beah + %clean rm -rf $RPM_BUILD_ROOT