[python-django-setuptest/el6] import spec file

Luis Enrique Bazán De León lbazan at fedoraproject.org
Tue Aug 7 21:28:07 UTC 2012


commit 448469dc6a772e1dad5e75288fdc0b7bd490f16c
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Tue Aug 7 16:28:54 2012 -0500

    import spec file

 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