npmccallum pushed to python-kdcproxy (master). "Update to 0.3 and run tests"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 11 16:23:25 UTC 2015


From 7eb6e75fb7f471b872d92d8aa5d3a7e88f6abdb9 Mon Sep 17 00:00:00 2001
From: Nathaniel McCallum <nathaniel at themccallums.org>
Date: Thu, 11 Jun 2015 12:22:42 -0400
Subject: Update to 0.3 and run tests


diff --git a/.gitignore b/.gitignore
index ef9bb8d..fdcff6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /kdcproxy-0.1.1.tar.gz
 /kdcproxy-0.2.tar.gz
 /kdcproxy-0.2.1.tar.gz
+/v0.3.tar.gz
diff --git a/python-kdcproxy.spec b/python-kdcproxy.spec
index e19cb52..c5ebe48 100644
--- a/python-kdcproxy.spec
+++ b/python-kdcproxy.spec
@@ -1,19 +1,35 @@
 %global realname kdcproxy
 
 Name:           python-%{realname}
-Version:        0.2.1
+Version:        0.3
 Release:        1%{?dist}
 Summary:        MS-KKDCP (kerberos proxy) WSGI module
 
 License:        MIT
-URL:            https://pypi.python.org/pypi/%{realname}
-Source0:        https://pypi.python.org/packages/source/k/%{realname}/%{realname}-%{version}.tar.gz
+URL:            https://github.com/npmccallum/%{realname}
+Source0:        https://github.com/npmccallum/%{realname}/archive/v%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
+
 %if 0%{?rhel} == 0
+BuildRequires:  python-tox
+BuildRequires:  pytest
+BuildRequires:  python-coverage
+BuildRequires:  python-webtest
+BuildRequires:  python-pyasn1
+BuildRequires:  python-dns
+BuildRequires:  python-mock
+
 BuildRequires:  python3-devel
+BuildRequires:  python3-pytest
+BuildRequires:  python3-coverage
+BuildRequires:  python3-webtest
+BuildRequires:  python3-pyasn1
+BuildRequires:  python3-dns
+BuildRequires:  python3-mock
 %endif
+
 Requires:       python-dns
 Requires:       python-pyasn1
 
@@ -50,6 +66,11 @@ find $RPM_BUILD_ROOT%{python_sitelib}/%{realname}/ -name '*.py' -exec chmod 755
 find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \;
 %endif
 
+%check
+%if 0%{?rhel} == 0
+tox --sitepackages -e py27,py34
+%endif
+
 %files
 %doc COPYING README
 %{python_sitelib}/%{realname}
@@ -63,6 +84,10 @@ find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755
 %endif
 
 %changelog
+* Wed Jun 10 2015 Nathaniel McCallum <npmccallum at fedoraproject.org> - 0.3-1
+- Update to 0.3
+- Run tests in Fedora (not RHEL due to python-tox)
+
 * Fri Oct 24 2014 Nathaniel McCallum <npmccallum at fedoraproject.org> - 0.2.1-1
 - Update to 0.2.1
 
diff --git a/sources b/sources
index 253d2b0..35ab462 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-74e0c77ae3e6526712a6899df10d2663  kdcproxy-0.2.1.tar.gz
+2cb9cb0a870b9bc83da8993cb24391c3  v0.3.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-kdcproxy.git/commit/?h=master&id=7eb6e75fb7f471b872d92d8aa5d3a7e88f6abdb9


More information about the scm-commits mailing list