From ac62a95cd648a738c4a875668f2b30468383b615 Mon Sep 17 00:00:00 2001 From: Federico Simoncelli Date: Jul 08 2014 14:02:08 +0000 Subject: python-remoto 0.0.17-2 --- 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 0.0.17-2 +- specfile cleanups + +* Sun Jun 22 2014 Federico Simoncelli 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