[python-django-pyscss/epel7] skip tests on rhel
Matthias Runge
mrunge at fedoraproject.org
Wed Oct 22 07:08:13 UTC 2014
commit 07b23ec7b9d3b68d5bf720e46885ed10823a894b
Author: Matthias Runge <mrunge at redhat.com>
Date: Wed Oct 22 09:08:02 2014 +0200
skip tests on rhel
python-django-pyscss.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/python-django-pyscss.spec b/python-django-pyscss.spec
index 54eb03d..1e56c51 100644
--- a/python-django-pyscss.spec
+++ b/python-django-pyscss.spec
@@ -5,7 +5,7 @@
Name: python-%{pypi_name}
Version: 1.0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Makes it easier to use PySCSS in Django
License: BSD
@@ -16,12 +16,14 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
+
+%if 0%{?fedora} > 0
BuildRequires: python-pillow
BuildRequires: python-django-compressor >= 1.3
BuildRequires: python-django-discover-runner
BuildRequires: python-scss >= 1.2.0
BuildRequires: python-django
-
+%endif
Requires: python-django >= 1.4
Requires: python-scss >= 1.2.0
@@ -43,9 +45,10 @@ rm -rf %{pypi_name}.egg-info
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
+%if 0%{?fedora} > 0
%check
%{__python2} setup.py test
-
+%endif
%files
%doc README.rst LICENSE
@@ -53,6 +56,9 @@ rm -rf %{pypi_name}.egg-info
%{python2_sitelib}/django_pyscss-%{version}-py?.?.egg-info
%changelog
+* Wed Oct 22 2014 Matthias Runge <mrunge at redhat.com> - 1.0.5-2
+- don't execute checks on RHEL
+
* Fri Oct 17 2014 Matthias Runge <mrunge at redhat.com> - 1.0.5-1
- update to 1.0.5
- fix tests and utils.py to work with Django-1.7
More information about the scm-commits
mailing list