-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunbreq.spec
46 lines (34 loc) · 1015 Bytes
/
unbreq.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
%global git_ref ab221f7a1268f821aa18b667b4c6a6080c210937
%global git_short_ref %(echo %{git_ref} | cut -b -7)
Name: unbreq
Version: 0^20252103.%{git_short_ref}
Release: %autorelease
Summary: Mock plugin - detector uf unneeded BuildRequires
License: Apache-2.0
URL: https://github.com/mkoncek/unbreq
Source0: https://github.com/mkoncek/unbreq/archive/%{git_ref}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: python3
BuildRequires: python3-rpm-macros
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(libdnf5)
BuildRequires: pkgconfig(libdnf5-cli)
%description
%{summary}.
%prep
%autosetup -p1 -C
%build
%{make_build}
%install
export buildroot=%{buildroot}
export libexecdir=%{_libexecdir}
export python3_sitelib=%{python3_sitelib}
make install
%files
%license LICENSE
%doc README.adoc
%{_libexecdir}/unbreq
%pycached %{python3_sitelib}/mockbuild/plugins/unbreq.py
%changelog
%autochangelog