55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
Name: python-pip-run
|
|
Version: 8.8.1
|
|
Release: 1
|
|
Summary: install packages and run Python with them
|
|
License: MIT
|
|
URL: https://github.com/jaraco/pip-run
|
|
Source0: https://files.pythonhosted.org/packages/04/d3/6a68965484d52e1651bd5c62200abb31765a93bf283b0406f07ab2e1b02a/pip-run-8.8.1.tar.gz
|
|
BuildArch: noarch
|
|
%description
|
|
provides on-demand temporary package installation for a single interpreter run.
|
|
|
|
%package -n python3-pip-run
|
|
Summary: install packages and run Python with them
|
|
Provides: python-pip-run
|
|
# Base build requires
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pbr
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
# General requires
|
|
BuildRequires: python3-path
|
|
BuildRequires: python3-packaging
|
|
BuildRequires: python3-sphinx
|
|
|
|
# General requires
|
|
Requires: python3-pip
|
|
Requires: python3-path
|
|
Requires: python3-packaging
|
|
Requires: python3-sphinx
|
|
Requires: python3-rst-linker
|
|
|
|
%description -n python3-pip-run
|
|
provides on-demand temporary package installation for a single interpreter run.
|
|
|
|
%prep
|
|
%autosetup -n pip-run-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{python_sitelib}
|
|
cp -raf %{_builddir}/pip-run-8.8.1/pip_run %{buildroot}%{python_sitelib}
|
|
install -m 0755 %{_builddir}/pip-run-8.8.1/pip-run.py %{buildroot}%{python_sitelib}
|
|
|
|
%files -n python3-pip-run
|
|
%{python_sitelib}/pip_run
|
|
%{python_sitelib}/pip-run.py
|
|
|
|
%changelog
|
|
* Mon Aug 01 2022 OpenStack_SIG <openstack@openeuler.org> - 8.8.1-1
|
|
- Init package python3-pip-run of version 8.8.1
|
|
|