diff --git a/.gitignore b/.gitignore index eeca48a..b75f1f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /ansible-inventory-grapher-1.0.1.tar.gz +/ansible-inventory-grapher-2.1.0.tar.gz diff --git a/ansible-inventory-grapher.spec b/ansible-inventory-grapher.spec index f740e09..624385f 100644 --- a/ansible-inventory-grapher.spec +++ b/ansible-inventory-grapher.spec @@ -2,8 +2,8 @@ %global lib_name ansibleinventorygrapher Name: %{archive_name} -Version: 1.0.1 -Release: 4%{?dist} +Version: 2.1.0 +Release: 1%{?dist} Summary: Creates graphs representing ansible inventory License: GPLv3+ @@ -21,17 +21,17 @@ ansible-inventory-grapher creates a dot file suitable for use by graphviz. %prep -%setup -q -n %{archive_name}-%{version} +%autosetup -n %{archive_name}-%{version} rm -rf *.egg-info sed -i -e '/^#!\//, 1d' lib/ansibleinventorygrapher/__init__.py find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' %build -%{__python2} setup.py build +%py2_build %install -%{__python2} setup.py install --skip-build --root=%{buildroot} +%py2_install %check %{__python2} setup.py test @@ -43,6 +43,9 @@ find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' %{python2_sitelib}/ansible_inventory_grapher-%{version}-py2.*.egg-info %changelog +* Mon May 09 2016 Parag Nemade - 2.1.0-1 +- Update to 2.1.0 + * Wed Feb 03 2016 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 86e1895..dee773f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1b484af7431774e1666ce4364ea0dfab ansible-inventory-grapher-1.0.1.tar.gz +80eaa24092f31578e8896afcd880c830 ansible-inventory-grapher-2.1.0.tar.gz