[python-openid-cla] Initial packaging

Patrick Uiterwijk puiterwijk at fedoraproject.org
Tue Jun 4 01:13:04 UTC 2013


commit 273594e36df3dadae1adae878689365fcedbf4f2
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Tue Jun 4 03:12:49 2013 +0200

    Initial packaging

 .gitignore             |    1 +
 python-openid-cla.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2948295 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.0.tar.gz
diff --git a/python-openid-cla.spec b/python-openid-cla.spec
new file mode 100644
index 0000000..68b11f5
--- /dev/null
+++ b/python-openid-cla.spec
@@ -0,0 +1,41 @@
+# 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())")}
+
+Name:           python-openid-cla
+Version:        1.0
+Release:        1%{?dist}
+Summary:        CLA extension for python-openid
+
+License:        BSD
+URL:            https://github.com/puiterwijk/python-openid-cla
+Source:         https://github.com/puiterwijk/%{name}/archive/v%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       python-openid
+
+%description
+CLA extension implementation for python-openid
+
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+ 
+%files
+%doc COPYING
+%{python_sitelib}/*
+
+
+%changelog
+* Sat Jun 02 2013 Patrick Uiterwijk <puiterwijk at gmail.com> - 1.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..e24a0f0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+682d795557c6a26b39919746fb386345  v1.0.tar.gz


More information about the scm-commits mailing list