From 9b5e86d874f7415c94e2bef39e193b93806260e6 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: May 18 2019 22:14:10 +0000 Subject: Initial package --- diff --git a/.gitignore b/.gitignore index e69de29..8559f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +colcon-spawn-shell-0.2.0.tar.gz diff --git a/python-colcon-spawn-shell.rpmlintrc b/python-colcon-spawn-shell.rpmlintrc new file mode 100644 index 0000000..1410682 --- /dev/null +++ b/python-colcon-spawn-shell.rpmlintrc @@ -0,0 +1,5 @@ +# SPELLING ERRORS +addFilter(r': spelling-error .*[ (]en_US\)? (un|workspaces?) -> ') + +# FALSE POSITIVES +addFilter(r': non-executable-script .*bash.em 644 /bin/bash') diff --git a/python-colcon-spawn-shell.spec b/python-colcon-spawn-shell.spec new file mode 100644 index 0000000..9dce5b4 --- /dev/null +++ b/python-colcon-spawn-shell.spec @@ -0,0 +1,66 @@ +%global srcname colcon-spawn-shell + +Name: python-%{srcname} +Version: 0.2.0 +Release: 1%{?dist} +Summary: Source colcon workspaces in a new shell + +License: ASL 2.0 +URL: https://github.com/colcon/colcon-spawn-shell +Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +This is a colcon plugin to chain workspaces in new shells. It allows quickly +un-chaining workspaces by exiting the spawned shell. + +The shell's prompt is edited to show the workspace order. The only supported +shell is bash. + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools >= 30.3.0 +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%if %{undefined __pythondist_requires} +Requires: python%{python3_pkgversion}-colcon-core >= 0.3.1 +Requires: python%{python3_pkgversion}-colcon-bash >= 0.3.0 +%endif # __pythondist_requires + +%description -n python%{python3_pkgversion}-%{srcname} +This is a colcon plugin to chain workspaces in new shells. It allows quickly +un-chaining workspaces by exiting the spawned shell. + +The shell's prompt is edited to show the workspace order. The only supported +shell is bash. + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python%{python3_pkgversion}-%{srcname} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/colcon_spawn_shell/ +%{python3_sitelib}/colcon_spawn_shell-%{version}-py%{python3_version}.egg-info/ + + +%changelog +* Fri Apr 26 2019 Scott K Logan - 0.2.0-2 +- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 +- Handle automatic dependency generation (f30+) + +* Fri Nov 09 2018 Scott K Logan - 0.2.0-1 +- Initial package diff --git a/sources b/sources index e69de29..5d17200 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (colcon-spawn-shell-0.2.0.tar.gz) = 5f914b4bbf58043ce0227394245b6f4e27f24e1963c7e1eb17f7e5ea4c7e236680fc3b9b3245cb1dc22721e457107ac0328a130c82488bcc6303fa94a23ee09d