2014-10-23 15:07:33 +00:00
|
|
|
%global realname kdcproxy
|
|
|
|
|
|
|
|
Name: python-%{realname}
|
2015-08-03 19:03:28 +00:00
|
|
|
Version: 0.3.2
|
2016-07-19 10:13:31 +00:00
|
|
|
Release: 4%{?dist}
|
2014-10-23 15:07:33 +00:00
|
|
|
Summary: MS-KKDCP (kerberos proxy) WSGI module
|
|
|
|
|
|
|
|
License: MIT
|
2015-06-11 16:22:42 +00:00
|
|
|
URL: https://github.com/npmccallum/%{realname}
|
|
|
|
Source0: https://github.com/npmccallum/%{realname}/archive/v%{version}.tar.gz
|
2014-10-23 15:07:33 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2-devel
|
2015-06-11 16:22:42 +00:00
|
|
|
|
2014-10-23 15:53:16 +00:00
|
|
|
%if 0%{?rhel} == 0
|
2015-06-11 16:22:42 +00:00
|
|
|
BuildRequires: python-tox
|
|
|
|
BuildRequires: pytest
|
|
|
|
BuildRequires: python-coverage
|
|
|
|
BuildRequires: python-webtest
|
|
|
|
BuildRequires: python-pyasn1
|
|
|
|
BuildRequires: python-dns
|
|
|
|
BuildRequires: python-mock
|
|
|
|
|
2014-10-23 15:07:33 +00:00
|
|
|
BuildRequires: python3-devel
|
2015-06-11 16:22:42 +00:00
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-coverage
|
|
|
|
BuildRequires: python3-webtest
|
|
|
|
BuildRequires: python3-pyasn1
|
|
|
|
BuildRequires: python3-dns
|
|
|
|
BuildRequires: python3-mock
|
2014-10-23 15:47:35 +00:00
|
|
|
%endif
|
2015-06-11 16:22:42 +00:00
|
|
|
|
2014-10-23 15:07:33 +00:00
|
|
|
Requires: python-dns
|
|
|
|
Requires: python-pyasn1
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a Python 2.x WSGI module for proxying KDC requests over
|
|
|
|
HTTP by following the MS-KKDCP protocol. It aims to be simple to deploy, with
|
|
|
|
minimal configuration.
|
|
|
|
|
2014-10-23 15:53:16 +00:00
|
|
|
%if 0%{?rhel} == 0
|
2014-10-23 15:07:33 +00:00
|
|
|
%package -n python3-%{realname}
|
|
|
|
Summary: MS-KKDCP (kerberos proxy) WSGI module
|
|
|
|
Requires: python3-dns
|
|
|
|
Requires: python3-pyasn1
|
|
|
|
|
|
|
|
%description -n python3-%{realname}
|
|
|
|
This package contains a Python 3.x WSGI module for proxying KDC requests over
|
|
|
|
HTTP by following the MS-KKDCP protocol. It aims to be simple to deploy, with
|
|
|
|
minimal configuration.
|
2014-10-23 15:47:35 +00:00
|
|
|
%endif
|
2014-10-23 15:07:33 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{realname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT%{python_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \;
|
2014-10-23 15:47:35 +00:00
|
|
|
|
2014-10-23 15:53:16 +00:00
|
|
|
%if 0%{?rhel} == 0
|
2014-10-23 15:47:35 +00:00
|
|
|
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
2014-10-23 15:07:33 +00:00
|
|
|
find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755 '{}' \;
|
2014-10-23 15:47:35 +00:00
|
|
|
%endif
|
2014-10-23 15:07:33 +00:00
|
|
|
|
2015-06-11 16:22:42 +00:00
|
|
|
%check
|
|
|
|
%if 0%{?rhel} == 0
|
2015-11-23 08:47:28 +00:00
|
|
|
tox --sitepackages -e py27,py35
|
2015-06-11 16:22:42 +00:00
|
|
|
%endif
|
|
|
|
|
2014-10-23 15:07:33 +00:00
|
|
|
%files
|
|
|
|
%doc COPYING README
|
|
|
|
%{python_sitelib}/%{realname}
|
|
|
|
%{python_sitelib}/%{realname}-%{version}-*.egg-info
|
|
|
|
|
2014-10-23 15:53:16 +00:00
|
|
|
%if 0%{?rhel} == 0
|
2014-10-23 15:07:33 +00:00
|
|
|
%files -n python3-%{realname}
|
|
|
|
%doc COPYING README
|
|
|
|
%{python3_sitelib}/%{realname}
|
|
|
|
%{python3_sitelib}/%{realname}-%{version}-*.egg-info
|
2014-10-23 15:47:35 +00:00
|
|
|
%endif
|
2014-10-23 15:07:33 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-07-19 10:13:31 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 20:00:22 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 16:14:07 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-08-03 19:03:28 +00:00
|
|
|
* Mon Aug 03 2015 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.3.2-1
|
|
|
|
- Update to 0.3.2
|
|
|
|
- Fixes CVE-2015-5159
|
|
|
|
|
2015-07-22 17:08:52 +00:00
|
|
|
* Wed Jul 22 2015 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.3.1-1
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
2015-06-18 19:44:40 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-11 16:22:42 +00:00
|
|
|
* 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)
|
|
|
|
|
2014-10-24 14:26:14 +00:00
|
|
|
* Fri Oct 24 2014 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.2.1-1
|
|
|
|
- Update to 0.2.1
|
|
|
|
|
2014-10-23 15:20:34 +00:00
|
|
|
* Thu Oct 23 2014 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.2-1
|
|
|
|
- Update to 0.2
|
2014-10-23 15:47:35 +00:00
|
|
|
- Fix EPEL7 build
|
2014-10-23 15:20:34 +00:00
|
|
|
|
2014-10-23 15:07:33 +00:00
|
|
|
* Tue Jan 21 2014 Nathaniel McCallum <npmccallum@fedoraproject.org> - 0.1.1-1
|
|
|
|
- Initial package
|