]> git.pld-linux.org Git - packages/b4.git/blame - b4.spec
rebuild with python 3.10
[packages/b4.git] / b4.spec
CommitLineData
c6e3519c
JB
1Summary: A tool to work with public-inbox and patch archives
2Summary(pl.UTF-8): Narzędzie do pracy z publiczną skrzynką odbiorczą i archiwami łatek
3Name: b4
aec52b8a 4Version: 0.8.0
6fd04146 5Release: 2
c6e3519c
JB
6License: GPL v2+
7Group: Development/Tools
8Source0: https://www.kernel.org/pub/software/devel/b4/%{name}-%{version}.tar.xz
aec52b8a 9# Source0-md5: 87c4eb9d7dd5d94139e7768b1ce43804
c6e3519c
JB
10URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
11BuildRequires: python3-modules >= 1:3.6
12BuildRequires: python3-setuptools
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.714
377ac892 15BuildRequires: sed >= 4.0
a9b8ce80
JB
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
511737a7 18BuildArch: noarch
c6e3519c
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This is a helper utility to work with patches made available via a
23public-inbox archive like lore.kernel.org. It is written to make it
24easier to participate in a patch-based workflows, like those used in
25the Linux kernel development.
26
27%description -l pl.UTF-8
28Narzędzie pomocnicze do pracy z łatkami dostępnymi przez archiwum
29publicznej skrzynki odbiorczej, takie jak lore.kernel.org. Zostało
30napisane, aby ułatwić uczestniczenie w stylu pracy opartym na łatkach,
31jak ten używany przy rozwijaniu jądra Linuksa.
32
33%prep
34%setup -q
35
c44940c7 36# ~= not supported properly by rpm-pythonprov
377ac892
JB
37%{__sed} -i -e 's/~=/>=/' requirements.txt setup.py
38
c6e3519c
JB
39%build
40%py3_build
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%py3_install
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc README.rst
53%attr(755,root,root) %{_bindir}/b4
54%{py3_sitescriptdir}/b4
55%{py3_sitescriptdir}/b4-%{version}-py*.egg-info
377ac892 56%{_mandir}/man5/b4.5*
This page took 0.047562 seconds and 4 git commands to generate.