[ansible/f17] Correct license. Include COPYING in dist.

Timothy Bielawa tbielawa at fedoraproject.org
Fri Jul 6 02:33:24 UTC 2012


commit 05e6711da9f12562a3093af9ae49d8d101e69f05
Author: Tim Bielawa <tbielawa at redhat.com>
Date:   Thu Jul 5 22:30:54 2012 -0400

    Correct license. Include COPYING in dist.

 .gitignore   |    1 +
 ansible.spec |   21 +++++++++++++++------
 sources      |    2 +-
 3 files changed, 17 insertions(+), 7 deletions(-)
---
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 <tbielawa at redhat.com> - 0.4.1-1
-- Release of 0.4.1 (bugfixes)
+* Fri Jul  6 2012 Tim Bielawa <tim at redhat.com> - 0.5-1
+- Release of 0.5 - Now with 100% more COWSAY!
 
 * Wed May 23 2012 Michael DeHaan <michael.dehaan at gmail.com> - 0.4-0
 - Release of 0.4
 
-* Tue May  1 2012 Tim Bielawa <tbielawa at redhat.com> - 0.3.1-1
-- Release of 0.3.1. Mostly packaging related changes.
-
 * Mon Apr 23 2012 Michael DeHaan <michael.dehaan at gmail.com> - 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


More information about the scm-commits mailing list