[python-certifi/el6] First Commit: python-certifi 0.0.8-2

Arun SAG sagarun at fedoraproject.org
Sun Apr 8 09:56:19 UTC 2012


commit 4dd618bef4730846ab2333599107a803e49a7b1f
Author: Arun SAG <sagarun at gmail.com>
Date:   Sun Apr 8 15:26:09 2012 +0530

    First Commit: python-certifi 0.0.8-2

 .gitignore          |    1 +
 python-certifi.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c96bd72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/certifi-0.0.8.tar.gz
diff --git a/python-certifi.spec b/python-certifi.spec
new file mode 100644
index 0000000..de0db2f
--- /dev/null
+++ b/python-certifi.spec
@@ -0,0 +1,47 @@
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+%global pkgname certifi
+
+
+Name:           python-certifi
+Version:        0.0.8
+Release:        2%{?dist}
+Summary:        Mozilla's SSL Certs
+
+License:        ISC and GPLv2 and MPLv1.1 and LGPLv2+
+URL:            http://pypi.python.org/pypi/%{pkgname}
+Source0:        http://pypi.python.org/packages/source/c/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+
+%description
+This package contains Mozilla's CA bundle for SSL.
+
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+sed -i 's|#!/usr/bin/env python||' certifi/core.py
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc README.rst LICENSE
+%{python_sitelib}/*
+
+
+%changelog
+* Wed Apr 03 2012 Arun S A G <sagarun at gmail.com> - 0.0.8-2
+- Fix rpmlint issues
+- Add License file
+- Remove sitelib and other comments
+- Do not clean buildroot in install section
+
+* Mon Apr 02 2012 Arun S A G <sagarun at gmail.com> - 0.0.8-1
+- Initial package
diff --git a/sources b/sources
index e69de29..2c9887f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dc5f5e7f0b5fc08d27654b17daa6ecec  certifi-0.0.8.tar.gz


More information about the scm-commits mailing list