Group :: Development/Python3
RPM: python3-module-editor
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%global pypi_name python-editor
Name: python3-module-editor
Version: 1.0.4
Release: alt3
Summary: Programmatically open an editor, capture the result
License: Apache-2.0
Group: Development/Python3
Url: https://github.com/fmoo/python-editor
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: https://pypi.python.org/packages/source/p/%pypi_name/%pypi_name-%version.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-python3
%description
An python module which provides a convenient example.
%prep
%setup -n %pypi_name-%version
rm -rf %pypi_name.egg-info
%build
%python3_build
%install
%python3_install
chmod a+x %buildroot%python3_sitelibdir/editor.py
%__subst "s|python$|python3|g" %buildroot%python3_sitelibdir/editor.py
%check
%files
%doc README.md
%doc LICENSE
%python3_sitelibdir/*.egg-info
%python3_sitelibdir/editor.py*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-editor
Version: 1.0.4
Release: alt3
Summary: Programmatically open an editor, capture the result
License: Apache-2.0
Group: Development/Python3
Url: https://github.com/fmoo/python-editor
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: https://pypi.python.org/packages/source/p/%pypi_name/%pypi_name-%version.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-python3
%description
An python module which provides a convenient example.
%prep
%setup -n %pypi_name-%version
rm -rf %pypi_name.egg-info
%build
%python3_build
%install
%python3_install
chmod a+x %buildroot%python3_sitelibdir/editor.py
%__subst "s|python$|python3|g" %buildroot%python3_sitelibdir/editor.py
%check
%files
%doc README.md
%doc LICENSE
%python3_sitelibdir/*.egg-info
%python3_sitelibdir/editor.py*
%changelog
…
Todas as alterações você pod ver aqui