-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathosidb_bindings.spec
58 lines (40 loc) · 1.11 KB
/
osidb_bindings.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
%define name osidb_bindings
%define version 4.6.3
%define release 0%{?dist}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: OSIDB Python Bindings
URL: https://github.com/RedHatProductSecurity/osdib-bindings
Source0: %{name}-%{version}.tar.gz
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
AutoReqProv: no
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: tox
BuildRequires: python3-tox-current-env
Requires: python3-aiohttp
Requires: python3-attrs
Requires: python3-dateutil
Requires: python3-requests
Requires: python3-requests-gssapi
%description
Python Client bindings for OSIDB
%prep
%autosetup -n %{name}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{name}
%check
%tox
%files -n %{name} -f %{pyproject_files}
%ghost %{python3_sitelib}/tests/*
%changelog
* Wed May 22 2024 Jason <[email protected]> - 3.6.0
- RPM packing for osidb_bindings added