Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Created January 23, 2020 14:01
Show Gist options
  • Save dmsimard/ad156bca4e11796f56f02d1805c7d0e5 to your computer and use it in GitHub Desktop.
Save dmsimard/ad156bca4e11796f56f02d1805c7d0e5 to your computer and use it in GitHub Desktop.
%global srcname ara
Name: %{srcname}
Version: 1.3.2
Release: 1%{?dist}
Summary: ARA Records Ansible playbooks and makes them easier to understand and troubleshoot
License: GPLv3
URL: https://github.com/ansible-community/ara
Source0: https://pypi.io/packages/source/a/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
Requires: python3-%{srcname} = %{version}-%{release}
%description
%{summary}
It provides Ansible plugins to record Ansible playbooks to a local or remote
database and an API to query and browse playbook results
%package -n python3-%{srcname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-pbr
Requires: python3-requests
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
%{summary}
This package contains the python files and Ansible plugins
%prep
%autosetup -n %{srcname}-%{version} -S git
%build
%py3_build
%install
%py3_install
%files
%doc README.rst
%license LICENSE
%files -n python3-%{srcname}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-*.egg-info
%exclude %{python3_sitelib}/%{srcname}/api/tests
%changelog
* Thu Jan 23 2020 David Moreau Simard <[email protected]> - 1.3.2-el8
- Simplified spec for el8 (no tests, docs and API server)
* Fri Dec 13 2019 David Moreau Simard <[email protected]> - 1.3.2
- Update to latest upstream release
* Tue Dec 3 2019 David Moreau Simard <[email protected]> - 1.3.0
- Update to latest upstream release
* Wed Nov 6 2019 David Moreau Simard <[email protected]> - 1.2.0-2
- Add missing pygments dependency
* Wed Nov 6 2019 David Moreau Simard <[email protected]> - 1.2.0-1
- Update to latest upstream release
* Tue Oct 8 2019 David Moreau Simard <[email protected]> - 1.1.0-3
- Add an ara-server package alias to python3-ara-server
* Tue Sep 10 2019 David Moreau Simard <[email protected]> - 1.1.0-1
- Update to latest upstream release
* Wed Jul 24 2019 Fedora Release Engineering <[email protected]> - 0.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <[email protected]> - 0.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Sep 10 2018 David Moreau Simard <[email protected]> - 0.16.1
- Update to latest upstream release
- Default to python3
* Thu Jul 12 2018 Fedora Release Engineering <[email protected]> - 0.14.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <[email protected]> - 0.14.6-2
- Rebuilt for Python 3.7
* Sat Feb 24 2018 David Moreau Simard <[email protected]> - 0.14.6-1
- Update to upstream 0.14.6
* Wed Feb 07 2018 Fedora Release Engineering <[email protected]> - 0.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Aug 5 2017 David Moreau Simard <[email protected]> - 0.14.0-1
- First packaged version of ARA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment