- diff --git a/fedmsg.spec b/fedmsg.spec
- index 9af18c0..ef8a30a 100644
- --- a/fedmsg.spec
- +++ b/fedmsg.spec
- @@ -1,4 +1,5 @@
- %global modname fedmsg
- +%bcond_without check
- Name: fedmsg
- Version: 1.1.2
- @@ -102,7 +103,10 @@ rm doc/_build/html/.buildinfo
- %check
- +%if %{with check}
- PYTHONPATH=$(pwd) py.test-3 fedmsg
- +%endif
- +
- # Remove compiled .py files from config caused by the tests reading the config
- rm -f %{buildroot}%{_sysconfdir}/fedmsg.d/*.py{c,o}