-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathte.spec
61 lines (45 loc) · 1.49 KB
/
te.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
52
53
54
55
56
57
58
59
60
61
Name: te
Version: 0.1.0
Release: 1%{?dist}
Summary: General multi-host workload execution utility
License: Apache-2.0
URL: https://github.com/neoave/te
Source0: https://github.com/neoave/te/releases/download/v%{version}/te-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-click
BuildRequires: python3-setuptools
Requires: python3-%{name}lib = %{version}-%{release}
Recommends: %{name}-data = %{version}-%{release}
%description
te is general purpose multi-host workload execution utility.
%package data
Summary: Common `te` playbooks and files.
%description data
The tmt Python module and command line tool implement the test
metadata specification (L1 and L2) and allows easy test execution.
This package contains the Python 3 module.
%package -n python3-%{name}lib
Summary: Core `te` libraries
%{?python_provide:%python_provide python3-%{name}lib}
%?python_enable_dependency_generator
%description -n python3-%{name}lib
The `te` Python module implementing core `te` functionality and built-in steps.
%prep
%autosetup
%build
%py3_build
%install
%py3_install
%files
%license LICENSE
%doc README.md
%{_bindir}/te
%files data
%{_datadir}/%{name}
%files -n python3-%{name}lib
%{python3_sitelib}/%{name}
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
%changelog
* Sun Oct 02 2022 Vobornik Petr <[email protected]> - 0.1.0-1
- Initial package.