-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-pytest-ansible-playbook.spec
51 lines (36 loc) · 1.36 KB
/
python-pytest-ansible-playbook.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by pyp2rpm-3.2.1
%global pypi_name pytest-ansible-playbook
Name: python-%{pypi_name}
Version: 0.3.0
Release: 1%{?dist}
Summary: Pytest fixture which runs given ansible playbook file
License: Apache 2.0
URL: https://gitlab.com/mbukatov/pytest-ansible-playbook
Source0:
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
%description
%package -n python%{python3_pkgversion}-%{pypi_name}
Summary: Pytest fixture which runs given ansible playbook file
Requires: python%{python3_pkgversion}-pytest >= 2.9.2
Requires: python%{python3_pkgversion}-setuptools
%description -n python%{python3_pkgversion}-%{pypi_name}
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%{__python3} setup.py build
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%files -n python%{python3_pkgversion}-%{pypi_name}
%doc README.rst
%dir %{python3_sitelib}/__pycache__/
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/pytest_ansible_playbook.py
%{python3_sitelib}/pytest_ansible_playbook
%{python3_sitelib}/pytest_ansible_playbook-%{version}-py?.?.egg-info
%changelog
* Mon Nov 07 2016 Martin Bukatovic <[email protected]> - 0.3.0-1
- Initial package.