rpms/python-urllib2_kerberos/EL-5 python-urllib2_kerberos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matej Cepl mcepl at fedoraproject.org
Fri Jun 19 07:36:46 UTC 2009


Author: mcepl

Update of /cvs/pkgs/rpms/python-urllib2_kerberos/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8939

Modified Files:
	.cvsignore sources 
Added Files:
	python-urllib2_kerberos.spec 
Log Message:
Initial commit


--- NEW FILE python-urllib2_kerberos.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define srcname urllib2_kerberos 

Name:           python-%{srcname}
Version:        0.1.6
Release:        3%{?dist}
Summary:        Kerberos over HTTP Negotiate/SPNEGO support for urllib2

Group:          Development/Languages
License:        ASL 2.0
URL:            http://pypi.python.org/pypi/%{srcname}/
Source0:        http://pypi.python.org/packages/source/u/%{srcname}/%{srcname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools-devel

%description
urllib2 with kerberos authentication.

%prep
%setup -q -n %{srcname}-%{version}
tail -n +2 urllib2_kerberos.py >patched-urllib2_kerberos.py
mv patched-urllib2_kerberos.py urllib2_kerberos.py

%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{python_sitelib}/*


%changelog
* Thu Jun 18 2009 Matěj Cepl <mcepl at redhat.com> - 0.1.6-3
- don't preserve attributes of the file you modified.

* Wed Jun 17 2009 Matěj Cepl <mcepl at redhat.com> - 0.1.6-2
- add BuildRequires: python-setuptools-devel.

* Thu Jun 11 2009 Matěj Cepl <mcepl at redhat.com> - 0.1.6-1
- Initial packaging effort


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-urllib2_kerberos/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	18 Jun 2009 20:23:36 -0000	1.1
+++ .cvsignore	19 Jun 2009 07:36:16 -0000	1.2
@@ -0,0 +1 @@
+urllib2_kerberos-0.1.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-urllib2_kerberos/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	18 Jun 2009 20:23:36 -0000	1.1
+++ sources	19 Jun 2009 07:36:16 -0000	1.2
@@ -0,0 +1 @@
+9a22d5d243103e17ca0ccf64b51f54ec  urllib2_kerberos-0.1.6.tar.gz




More information about the fedora-extras-commits mailing list