[python-remoto] python-remoto 0.0.17-2
Federico Simoncelli
fsimonce at fedoraproject.org
Tue Jul 8 14:55:31 UTC 2014
commit ac62a95cd648a738c4a875668f2b30468383b615
Author: Federico Simoncelli <fsimonce at redhat.com>
Date: Tue Jul 8 16:01:20 2014 +0200
python-remoto 0.0.17-2
.gitignore | 1 +
python-remoto.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5736cf2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/remoto-0.0.17.tar.xz
diff --git a/python-remoto.spec b/python-remoto.spec
new file mode 100644
index 0000000..06c865f
--- /dev/null
+++ b/python-remoto.spec
@@ -0,0 +1,51 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2: %global __python2 /usr/bin/python2}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+
+%global pkgname remoto
+
+Name: python-%{pkgname}
+Version: 0.0.17
+Release: 2%{?dist}
+Summary: Execute remote commands or processes
+
+License: MIT
+URL: http://github.com/alfredodeza/remoto
+
+# http://github.com/alfredodeza/%{pkgname}/archive/%{version}.tar.gz
+Source0: %{pkgname}-%{version}.tar.xz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+Requires: python-execnet >= 1.2.0
+
+%description
+Execute remote commands or processes.
+
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+
+%build
+REMOTO_NO_VENDOR=1 %{__python2} setup.py build
+
+
+%install
+REMOTO_NO_VENDOR=1 %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc LICENSE README.rst
+%{python2_sitelib}/*
+
+
+%changelog
+* Fri Jun 27 2014 Federico Simoncelli <fsimonce at redhat.com> 0.0.17-2
+- specfile cleanups
+
+* Sun Jun 22 2014 Federico Simoncelli <fsimonce at redhat.com> 0.0.17-1
+- initial build
diff --git a/sources b/sources
index e69de29..f98905f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b83e25c7c786d5dff5f111a382ba4ce3 remoto-0.0.17.tar.xz
More information about the scm-commits
mailing list