-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpython3-osdetect.spec
More file actions
55 lines (35 loc) · 1019 Bytes
/
python3-osdetect.spec
File metadata and controls
55 lines (35 loc) · 1019 Bytes
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
Name: python-osdetect
Version: 1.2.1
Release: 0%{?dist}
Summary: Python module for detecting the current operating system platorm.
License: MIT
URL: https://github.com/malte70/OSDetect
Source: %{pypi_source OSDetect}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-hatchling
%global _description %{expand:
A small helper to get some information about your system and
python implementation, like the Operating System or the hardware platform.
}
%description %_description
%package -n python3-osdetect
Summary: %{summary}
%description -n python3-osdetect %_description
%prep
%autosetup -p1 -n osdetect-%{version}
%generate_buildrequires
#% pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l OSDetect
%check
%pytest
%files -n python3-osdetect -f %{pyproject_files}
%license LICENSE
%doc README.*
#% doc AUTHOR.*
#% changelog