up to 0.5.2+2
OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=16
This commit is contained in:
parent
a2cf17d2d7
commit
c138859e95
7
b4.spec
7
b4.spec
@ -27,6 +27,7 @@ Group: Development/Tools/Other
|
||||
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: tar
|
||||
Requires: python3-requests
|
||||
@ -54,6 +55,12 @@ install -d %{buildroot}/%{_mandir}/man.5
|
||||
install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%python_exec setup.py check
|
||||
export PYTHONPATH="./"
|
||||
%python_exec ./b4/command.py --version >check_version
|
||||
echo %version | grep "`cat check_version`"
|
||||
|
||||
%files
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user