|
|
6a4a481 |
%global srcname urllib2_kerberos
|
|
|
6a4a481 |
|
|
|
6a4a481 |
Name: python-%{srcname}
|
|
|
6a4a481 |
Version: 0.1.6
|
|
Tomas Dabasinskas |
cf5373c |
Release: 7%{?dist}
|
|
|
6a4a481 |
Summary: Kerberos over HTTP Negotiate/SPNEGO support for urllib2
|
|
|
6a4a481 |
|
|
|
6a4a481 |
Group: Development/Languages
|
|
|
6a4a481 |
License: ASL 2.0
|
|
|
6a4a481 |
URL: http://pypi.python.org/pypi/%{srcname}/
|
|
|
6a4a481 |
Source0: http://pypi.python.org/packages/source/u/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
6a4a481 |
|
|
|
6a4a481 |
BuildArch: noarch
|
|
|
6a4a481 |
BuildRequires: python-setuptools-devel
|
|
Tomas Dabasinskas |
cf5373c |
Requires: python-kerberos
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%description
|
|
|
6a4a481 |
urllib2 with kerberos authentication.
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%prep
|
|
|
6a4a481 |
%setup -q -n %{srcname}-%{version}
|
|
|
6a4a481 |
# Remove "#!/usr/bin/python\n"
|
|
|
6a4a481 |
tail -n +2 urllib2_kerberos.py >patched-urllib2_kerberos.py
|
|
|
6a4a481 |
mv patched-urllib2_kerberos.py urllib2_kerberos.py
|
|
|
6a4a481 |
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%build
|
|
|
6a4a481 |
%{__python} setup.py build
|
|
|
6a4a481 |
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%install
|
|
|
6a4a481 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
6a4a481 |
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%files
|
|
|
6a4a481 |
%{python_sitelib}/*
|
|
|
6a4a481 |
|
|
|
6a4a481 |
|
|
|
6a4a481 |
%changelog
|
|
Tomas Dabasinskas |
cf5373c |
* Tue Nov 27 2012 Tomas Dabasinskas <tomas@redhat.com> - 0.1.6-7
|
|
Tomas Dabasinskas |
cf5373c |
- python-kerberos is required by this package
|
|
Tomas Dabasinskas |
cf5373c |
|
|
|
6a4a481 |
* Wed Jul 11 2012 Tomas Dabasinskas <tomas@redhat.com> - 0.1.6-6
|
|
|
6a4a481 |
- Rebuilding retired package
|
|
|
6a4a481 |
- fixed spec file to comply with fedora-review
|
|
|
6a4a481 |
|
|
|
6a4a481 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.6-5
|
|
|
6a4a481 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
6a4a481 |
|
|
|
6a4a481 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-4
|
|
|
6a4a481 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6a4a481 |
|
|
|
6a4a481 |
* Thu Jun 18 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.6-3
|
|
|
6a4a481 |
- don't preserve attributes of the file you modified.
|
|
|
6a4a481 |
|
|
|
6a4a481 |
* Wed Jun 17 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.6-2
|
|
|
6a4a481 |
- add BuildRequires: python-setuptools-devel.
|
|
|
6a4a481 |
|
|
|
6a4a481 |
* Thu Jun 11 2009 Matěj Cepl <mcepl@redhat.com> - 0.1.6-1
|
|
|
6a4a481 |
- Initial packaging effort
|