14
0
forked from pool/python-Fabric

- Rename to python-Fabric as following conventions;

- Now BuildRequires and Requires python-distribute instead of
  python-setuptools.

- Update to 1.0.1:
  - #301: Fixed a bug in local‘s behavior when capture=False and
    output.stdout (or .stderr) was also False. Thanks to Chris Rose
    for the catch.
  - #310: Update edge case in put where using the mode kwarg
    alongside use_sudo=True runs a hidden sudo command. The mode
    kwarg needs to be octal but was being interpolated in the sudo
    call as a string/integer. Thanks to Adam Ernst for the catch
    and suggested fix.
  - #311: append was supposed to have its partial kwarg’s default
    flipped from True to False. However, only the documentation was
    altered. This has been fixed. Thanks to Adam Ernst for bringing
    it to our attention.
  - #312: Tweak internal I/O related loops to prevent high CPU
    usage and poor screen-printing behavior on some systems. Thanks
    to Kirill Pinchuk for the initial patch.
  - #320: Some users reported problems with dropped input,
    particularly while entering sudo passwords. This was fixed via
    the same change as for #312.
- Regenerate spec file with py2pack;
- Add README file as documentation.

- Update to 1.0.0:
  - #7: run/sudo now allow full interactivity with the remote end.
    You can interact with remote prompts and similar interfaces,
    making certain tasks much easier, and freeing you from the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=2
This commit is contained in:
Alexandre Rogoski
2011-06-07 23:23:10 +00:00
committed by Git OBS Bridge
parent 859cd177dd
commit b44ef01e28
2 changed files with 15 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 7 23:21:42 UTC 2011 - alexandre@exatati.com.br
- Rename to python-Fabric as following conventions;
- Now BuildRequires and Requires python-distribute instead of
python-setuptools.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 29 01:21:24 UTC 2011 - alexandre@exatati.com.br Tue Mar 29 01:21:24 UTC 2011 - alexandre@exatati.com.br

View File

@@ -1,5 +1,5 @@
# #
# spec file for package python-fabric # spec file for package python-Fabric
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -19,7 +19,7 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define mod_name fabric %define mod_name Fabric
Name: python-%{mod_name} Name: python-%{mod_name}
Version: 1.0.1 Version: 1.0.1
@@ -28,12 +28,12 @@ Url: http://fabfile.org
Summary: Fabric is a simple, Pythonic tool for remote execution and deployment Summary: Fabric is a simple, Pythonic tool for remote execution and deployment
License: GPL License: GPL
Group: Development/Languages/Python Group: Development/Languages/Python
Source: Fabric-%{version}.tar.bz2 Source: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-distribute
Requires: python-paramiko >= 1.7.6 Requires: python-paramiko >= 1.7.6
Requires: python-setuptools Requires: python-distribute
%if 0%{?suse_version} %if 0%{?suse_version}
%py_requires %py_requires
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
@@ -78,7 +78,7 @@ suite at a higher level than that provided by e.g. Paramiko (which
Fabric itself leverages.) Fabric itself leverages.)
%prep %prep
%setup -q -n Fabric-%{version} %setup -q -n %{mod_name}-%{version}
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@@ -92,10 +92,8 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
# You may have to add additional files here (documentation and binaries mostly)
%{_bindir}/fab
%python_sitelib/%{mod_name}*
%python_sitelib/*.egg-info
%doc README %doc README
%{_bindir}/fab
%{python_sitelib}/*
%changelog %changelog