-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfedora-distro-aliases.spec
93 lines (65 loc) · 2.74 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Name: fedora-distro-aliases
Version: 1.7
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
%{_bindir}/resolve-fedora-aliases
%changelog
* Fri Mar 07 2025 Jakub Kadlcik <[email protected]> 1.7-1
- Exclude archived releases ([email protected])
- Generate aliases for minor versions of EPEL ([email protected])
* Thu Feb 20 2025 Jakub Kadlcik <[email protected]> 1.6-1
- Account for `frozen` release state ([email protected])
* Mon Oct 07 2024 Jakub Kadlcik <[email protected]> 1.5-1
- Implement a caching mechanism ([email protected])
- Return bodhi releases as simple dicts ([email protected])
- Add CLI ([email protected])
- Use pagination for bodhi's API ([email protected])
- Combine HTTP calls in bodhi_active_releases ([email protected])
* Tue Aug 20 2024 Jakub Kadlcik <[email protected]> 1.4-1
- Add an attribute with always numeric version number ([email protected])
* Sat Feb 24 2024 Jakub Kadlcik <[email protected]> 1.3-1
- Make sure everything behaves correctly during the branching window
- Add releasers.conf ([email protected])
* 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