SHA256
1
0
forked from pool/b4

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:
Jiri Slaby 2020-08-20 06:28:28 +00:00 committed by Git OBS Bridge
parent a2cf17d2d7
commit c138859e95

View File

@ -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