python-remoto/python-remoto.spec

55 lines
1.2 KiB
RPMSpec
Raw Normal View History

2021-06-24 09:44:14 +08:00
%global srcname remoto
Name: python-%{srcname}
2022-09-28 14:52:07 +08:00
Version: 1.2.1
2021-06-24 09:44:14 +08:00
Release: 1
Summary: Execute remote commands or processes
License: MIT
URL: https://github.com/alfredodeza/remoto
2022-09-28 14:52:07 +08:00
Source0: https://files.pythonhosted.org/packages/42/02/a9e5b25538bd12d98c7ea6d277c33e472d1d1d4ec50a4d42be3ca73f6023/remoto-1.2.1.tar.gz
2021-06-24 09:44:14 +08:00
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-execnet >= 1.2.0
BuildRequires: python3-mock
BuildRequires: python3-setuptools
%global _description\
Execute remote commands or processes.
%description %_description
%package -n python3-%{srcname}
Summary: Execute remote commands or processes
Requires: python3
Requires: python3-execnet >= 1.2.0
%description -n python3-%{srcname} %_description
%prep
%autosetup -n %{srcname}-%{version}
%build
%{py3_build}
%install
%{py3_install}
%check
py.test-%{python3_version} -v remoto/tests
%files -n python3-%{srcname}
%{python3_sitelib}/*
%license LICENSE
%doc README.rst
%changelog
2022-09-28 14:52:07 +08:00
* Wed Sep 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.2.1-1
- Upgrade to 1.2.1
2021-06-24 09:44:14 +08:00
* Thu Jun 24 2021 liufeng <liufeng@kylinos.cn> - 1.1.4-1
- Package Init