diff --git a/Fabric-1.4.0.tar.gz b/Fabric-1.4.0.tar.gz new file mode 100644 index 0000000..6155eae --- /dev/null +++ b/Fabric-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d8a35bd3cda109e99fda5196ccf7a386cc41bf56252e17513260c740a3106f95 +size 178745 diff --git a/python-Fabric.changes b/python-Fabric.changes index 5a76658..2af228d 100644 --- a/python-Fabric.changes +++ b/python-Fabric.changes @@ -1,47 +1,53 @@ ------------------------------------------------------------------- -Tue Feb 14 11:46:00 UTC 2012 - alexandre@exatati.com.br +Mon Feb 20 22:15:10 UTC 2012 - saschpe@gmx.de -- Update to 1.4.0: - - [Bug] #495: Fixed documentation example showing how to subclass Task. - Thanks to Brett Haydon for the catch and Mark Merritt for the patch. - - [Bug] #410: Fixed a bug where using the task decorator inside/under - another decorator such as hosts could cause that task to become invalid - when invoked by name (due to how old-style vs new-style tasks are - detected.) Thanks to Dan Colish for the initial patch. - - [Feature] #559: rsync_project now allows users to append extra - SSH-specific arguments to rsync‘s --rsh flag. - - [Feature] #138: env.port may now be written to at fabfile module level - to set a default nonstandard port number. Previously this value was +- Update to version 1.4.0: + * :bug:495 Fixed documentation example showing how to subclass + ~fabric.tasks.Task. Thanks to Brett Haydon for the catch and Mark Merritt + for the patch. + * :bug:410 Fixed a bug where using the ~fabric.decorators.task decorator + inside/under another decorator such as ~fabric.decorators.hosts could cause + that task to become invalid when invoked by name (due to how old-style vs + new-style tasks are detected.) Thanks to Dan Colish for the initial patch. + * :feature:559 ~fabric.contrib.project.rsync_project now allows users to + append extra SSH-specific arguments to rsync's --rsh flag. + * :feature:138 :ref:env.port may now be written to at fabfile module + level to set a default nonstandard port number. Previously this value was read-only. - - [Feature] #3: Fabric can now load a subset of SSH config functionality - directly from your local ~/.ssh/config if env.use_ssh_config is set - to True. See Leveraging native SSH config files for details. Thanks - to Kirill Pinchuk for the initial patch. - - [Feature] #12: Added the ability to try connecting multiple times to - temporarily-down remote systems, instead of immediately failing. - (Default behavior is still to only try once.) See env.timeout and - env.connection_attempts for controlling both connection timeouts and - total number of attempts. reboot has also been overhauled (but - practically deprecated – see its updated docs.) - - [Feature] #474: execute now allows you to access the executed task’s - return values, by itself returning a dictionary whose keys are the + * :feature:3 Fabric can now load a subset of SSH config functionality + directly from your local ~/.ssh/config if :ref:env.use_ssh_config + is set to True. See :ref:ssh-config for details. + Thanks to Kirill Pinchuk for the initial patch. + * :feature:12 Added the ability to try connecting multiple times to + temporarily-down remote systems, instead of immediately failing. (Default + behavior is still to only try once.) See :ref:env.timeout and + :ref:env.connection_attempts for controlling both + connection timeouts and total number of attempts. ~fabric.operations.reboot + has also been overhauled (but practically deprecated -- see its updated + docs.) + * :feature:474 ~fabric.tasks.execute now allows you to access the executed + task's return values, by itself returning a dictionary whose keys are the host strings executed against. - - [Bug] #487: Overhauled the regular expression escaping performed in - append and contains to try and handle more corner cases. Thanks to - Neilen Marais for the patch. - - [Support] #532: Reorganized and cleaned up the output of fab --help. - - [Feature] #8: Added --skip-bad-hosts/env.skip_bad_hosts option to - allow skipping past temporarily down/unreachable hosts. - - [Feature] #13: Env vars may now be set at runtime via the new - --set command-line flag. - - [Feature] #506: A new output alias, commands, has been added, - which allows hiding remote stdout and local “running command X” + * :bug:487 Overhauled the regular expression escaping performed in + ~fabric.contrib.files.append and ~fabric.contrib.files.contains to try + and handle more corner cases. Thanks to Neilen Marais for the patch. + * :support:532 Reorganized and cleaned up the output of fab --help. + * :feature:8 Added :option:--skip-bad-hosts/:ref:env.skip_bad_hosts + option to allow skipping past temporarily down/unreachable + hosts. + * :feature:13 Env vars may now be set at runtime via the new :option:--set + command-line flag. + * :feature:506 A new :ref:output alias , commands, has + been added, which allows hiding remote stdout and local "running command X" output lines. - - [Feature] #72: SSH agent forwarding support has made it into - Fabric’s SSH library, and hooks for using it have been added - (disabled by default; use -A or env.forward_agent to enable.) - Thanks to Ben Davis for porting an existing Paramiko patch to ssh - and providing the necessary tweak to Fabric. + * :feature:72 SSH agent forwarding support has made it into Fabric's SSH + library, and hooks for using it have been added (disabled by default; use + :option:-A or :ref:env.forward_agent to enable.) Thanks + to Ben Davis for porting an existing Paramiko patch to ssh and providing + the necessary tweak to Fabric. +- Package AUTHORS and LICENSE +- Run testsuite and add related BuildRequires +- BuildRequire python-ssh ------------------------------------------------------------------- Fri Jan 13 04:01:33 UTC 2012 - alexandre@exatati.com.br @@ -72,7 +78,7 @@ Thu Nov 24 00:51:06 UTC 2011 - alexandre@exatati.com.br the catch. - [Bug] #475: Allow escaping of equals signs in per-task args/kwargs. - [Bug] #450: Improve traceback display when handling - ``ImportError``s for dependencies. Thanks to David Wolever for the patches. + ImportErrors for dependencies. Thanks to David Wolever for the patches. - [Bug] #446: Add QNX to list of secondary-case sed targets. Thanks to Rodrigo Madruga for the tip. - [Bug] #443: exists didn’t expand tildes; now it does. Thanks to diff --git a/python-Fabric.spec b/python-Fabric.spec index 79aadbc..81a371e 100644 --- a/python-Fabric.spec +++ b/python-Fabric.spec @@ -19,23 +19,24 @@ Name: python-Fabric Version: 1.4.0 Release: 0 -Url: http://fabfile.org Summary: Fabric is a simple, Pythonic tool for remote execution and deployment License: BSD-2-Clause Group: Development/Languages/Python -Source: Fabric-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://fabfile.org +Source: Fabric-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute -Requires: python-paramiko >= 1.7.6 +BuildRequires: python-fudge +BuildRequires: python-nose +BuildRequires: python-ssh Requires: python-distribute -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +Requires: python-ssh +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Fabric is a Python (2.5 or higher) library and command-line tool for @@ -82,9 +83,12 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +nosetests + %files %defattr(-,root,root,-) -%doc README +%doc AUTHORS LICENSE README %{_bindir}/fab %{python_sitelib}/*