-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-supportinfo.spec
More file actions
50 lines (38 loc) · 1.29 KB
/
Copy pathpython-supportinfo.spec
File metadata and controls
50 lines (38 loc) · 1.29 KB
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
Name: python-supportinfo
Version: 1.0.0
Release: 1%{?dist}
Summary: Python library for parsing and querying Amazon Linux package support information
BuildArch: noarch
License: MIT
URL: https://github.com/amazonlinux/amazon-linux-supportinfo
Source0: %{name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
%description
Python library for parsing and querying Amazon Linux package support
information. Reads the support_info.xml documents Amazon Linux publishes and
exposes the data through a Python API.
%package -n python3-supportinfo
Summary: %{summary}
%description -n python3-supportinfo
Python library for parsing and querying Amazon Linux package support
information. Reads the support_info.xml documents Amazon Linux publishes and
exposes the data through a Python API.
%prep
%autosetup -n %{name}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files supportinfo
%check
%pytest test/
%files -n python3-supportinfo -f %{pyproject_files}
%license LICENSE
%doc NOTICE README.md
%changelog
* Fri May 22 2026 Eric Su <ericsuu@amazon.com> - 1.0.0-1
- Initial public release on GitHub under MIT