Update to 0.3 and run tests
This commit is contained in:
parent
7de1719a7a
commit
7eb6e75fb7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/kdcproxy-0.1.1.tar.gz
|
/kdcproxy-0.1.1.tar.gz
|
||||||
/kdcproxy-0.2.tar.gz
|
/kdcproxy-0.2.tar.gz
|
||||||
/kdcproxy-0.2.1.tar.gz
|
/kdcproxy-0.2.1.tar.gz
|
||||||
|
/v0.3.tar.gz
|
||||||
|
@ -1,19 +1,35 @@
|
|||||||
%global realname kdcproxy
|
%global realname kdcproxy
|
||||||
|
|
||||||
Name: python-%{realname}
|
Name: python-%{realname}
|
||||||
Version: 0.2.1
|
Version: 0.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: MS-KKDCP (kerberos proxy) WSGI module
|
Summary: MS-KKDCP (kerberos proxy) WSGI module
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/%{realname}
|
URL: https://github.com/npmccallum/%{realname}
|
||||||
Source0: https://pypi.python.org/packages/source/k/%{realname}/%{realname}-%{version}.tar.gz
|
Source0: https://github.com/npmccallum/%{realname}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
|
|
||||||
%if 0%{?rhel} == 0
|
%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-devel
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-coverage
|
||||||
|
BuildRequires: python3-webtest
|
||||||
|
BuildRequires: python3-pyasn1
|
||||||
|
BuildRequires: python3-dns
|
||||||
|
BuildRequires: python3-mock
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: python-dns
|
Requires: python-dns
|
||||||
Requires: python-pyasn1
|
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 '{}' \;
|
find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \;
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if 0%{?rhel} == 0
|
||||||
|
tox --sitepackages -e py27,py34
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{python_sitelib}/%{realname}
|
%{python_sitelib}/%{realname}
|
||||||
@ -63,6 +84,10 @@ find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 10 2015 Nathaniel McCallum <npmccallum@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@fedoraproject.org> - 0.2.1-1
|
* Fri Oct 24 2014 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.2.1-1
|
||||||
- Update to 0.2.1
|
- Update to 0.2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user