forked from rpm-software-management/fedora-distro-aliases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fedora-distro-aliases.spec
70 lines (47 loc) · 1.79 KB
/
fedora-distro-aliases.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
62
63
64
65
66
67
68
69
70
Name: fedora-distro-aliases
Version: 1.2
Release: 1%{?dist}
Summary: Aliases for active Fedora releases
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/fedora-distro-aliases
Source: %{URL}/archive/%{name}-%{version}-1/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%generate_buildrequires
%pyproject_buildrequires
%global _description %{expand:
Some projects such as Tito, Packit,
Fedora Review Service, etc operate over currently active Fedora releases.
They can use this package to find their version numbers instead of manually
defining a list.
This package queries Bodhi to find the active releases and therefore requires an
internet connection.}
%description %_description
%package -n python3-fedora-distro-aliases
Summary: %{summary}
%description -n python3-fedora-distro-aliases %_description
%prep
%autosetup -p1 -n fedora-distro-aliases-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files fedora_distro_aliases
%check
%pyproject_check_import -t
%{python3} -m pytest -vv
%files -n python3-fedora-distro-aliases -f %{pyproject_files}
%license LICENSES/GPL-2.0-or-later.txt
%doc README.md
%changelog
* Tue Jan 23 2024 Jakub Kadlcik <[email protected]> 1.2-1
- Drop bodhi-client dependency ([email protected])
- Add installation instructions ([email protected])
- Show how to get only version numbers ([email protected])
* Sat Jan 13 2024 Jakub Kadlcik <[email protected]> 1.1-1
- Fix Source URL ([email protected])
- Unify descriptions and mention querying bodhi ([email protected])
- Link fedfind project ([email protected])
- make repository REUSE compliant ([email protected])
* Tue Jan 09 2024 Jakub Kadlcik <[email protected]> - 1.0-1
- Initial package