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
a15c586627
commit
aa7b6aca57
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
|
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: tar
|
BuildRequires: tar
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
@ -54,6 +55,12 @@ install -d %{buildroot}/%{_mandir}/man.5
|
|||||||
install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5
|
install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5
|
||||||
%python_install
|
%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
|
%files
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user