diff --git a/.gitignore b/.gitignore index ffd3d96..ab3e3f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ansible-0.3.1.tar.gz /ansible-0.4.1.tar.gz +/ansible-0.5.tar.gz diff --git a/ansible.spec b/ansible.spec index 09c6072..a97a3c0 100644 --- a/ansible.spec +++ b/ansible.spec @@ -1,7 +1,12 @@ +%if 0%{?rhel} <= 5 +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +%endif + Name: ansible Release: 1%{?dist} Summary: Minimal SSH command and control -Version: 0.4.1 +Version: 0.5 Group: Development/Libraries License: GPLv3+ @@ -16,12 +21,14 @@ Requires: python-paramiko Requires: python-jinja2 %description + Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. + %prep %setup -q @@ -37,7 +44,11 @@ cp -v docs/man/man1/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible cp -v library/* $RPM_BUILD_ROOT/%{_datadir}/ansible/ +%clean +rm -rf $RPM_BUILD_ROOT + %files +%defattr(-,root,root) %{python_sitelib}/ansible* %{_bindir}/ansible* %{_datadir}/ansible @@ -45,16 +56,14 @@ cp -v library/* $RPM_BUILD_ROOT/%{_datadir}/ansible/ %doc README.md PKG-INFO COPYING %doc %{_mandir}/man1/ansible* + %changelog -* Tue Jun 12 2012 Tim Bielawa - 0.4.1-1 -- Release of 0.4.1 (bugfixes) +* Fri Jul 6 2012 Tim Bielawa - 0.5-1 +- Release of 0.5 - Now with 100% more COWSAY! * Wed May 23 2012 Michael DeHaan - 0.4-0 - Release of 0.4 -* Tue May 1 2012 Tim Bielawa - 0.3.1-1 -- Release of 0.3.1. Mostly packaging related changes. - * Mon Apr 23 2012 Michael DeHaan - 0.3-1 - Release of 0.3 diff --git a/sources b/sources index a17f8c7..68b73ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e84cb423c514e28ffb137b5bd35bff26 ansible-0.4.1.tar.gz +5996350fcb2a2b4bbd062386dd9b545f ansible-0.5.tar.gz