summaryrefslogtreecommitdiff
path: root/extra/packaging/fedora/hiccup.spec
blob: 112badc9538a0027f461f92de067f820b6d86dbf (plain)
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
%global commit 71539b7eb63beac09ad64f8e866536fc0ffb6083
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name:           hiccup
Version:        %{shortcommit}
Release:        1%{?dist}
Summary:        a python script to help keep you up to date

License:        MIT
URL:            https://github.com/getchoo/hiccup
Source0:        %{URL}/archive/%{commit}/%{name}-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel

%global _description %{expand:
a python script that attempts to upgrade your system with multiple package managers.}

%description %_description


%prep
%autosetup -n %{name}-%{commit}


%generate_buildrequires
%pyproject_buildrequires -w


%build
%pyproject_wheel


%install
%pyproject_install
%pyproject_save_files hiccup


%check
%pyproject_check_import


%files -f %{pyproject_files}
%doc README.md docs/default-config.json
%{_bindir}/%{name}


%changelog
* Wed Sep 07 2022 seth <[email protected]>
- bump git commit
* Fri Aug 26 2022 seth <[email protected]>
-  initial commit