[python-django-setuptest] new spec python-django-setuptest
Luis Enrique Bazán De León
lbazan at fedoraproject.org
Tue Aug 7 20:39:44 UTC 2012
commit c8af66c4521f053dda19958b2bd1b9f8f91b1073
Author: Luis Bazan <lbazan at fedoraproject.org>
Date: Tue Aug 7 15:40:24 2012 -0500
new spec python-django-setuptest
python-django-setuptest.spec | 61 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/python-django-setuptest.spec b/python-django-setuptest.spec
new file mode 100644
index 0000000..21f7a1c
--- /dev/null
+++ b/python-django-setuptest.spec
@@ -0,0 +1,61 @@
+%global pkgname django-setuptest
+
+Name: python-django-setuptest
+Version: 0.1.2
+Release: 3%{?dist}
+Summary: Simple module enabling Django app testing
+
+License: BSD
+URL: https://github.com/praekelt/django-setuptest
+Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-coverage
+BuildRequires: python-pep8
+BuildRequires: python-setuptools
+%if 0%{?fedora} >= 18
+Requires: python-django
+BuildRequires: python-django
+%else
+Requires: Django
+BuildRequires: Django
+%endif
+
+%description
+Simple module enabling Django app testing via
+$ python setup.py test.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root $RPM_BUILD_ROOT
+
+%check
+%{__python} setup.py test
+
+%files
+%doc README.rst CHANGELOG.rst
+%{python_sitelib}/setuptest
+%{python_sitelib}/django_setuptest-*.egg-info
+
+%changelog
+* Fri Aug 03 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.2-3
+- change BuildRequires python-devel to python2-devel
+- change BuildRequires python-setuptools-devel to python-setuptools
+- add if in BuildRequires if f18 require python-django else use django
+
+* Fri Aug 03 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.2-2
+- add check section
+- add README
+- add BuildRequires coverage and pep8
+
+* Fri Aug 03 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.2-1
+- Initial Import
+
+
+
More information about the scm-commits
mailing list