diff --git a/.gitignore b/.gitignore index e69de29..5b739db 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +colcon-powershell-0.3.4.tar.gz +/colcon-powershell-0.3.6.tar.gz diff --git a/python-colcon-powershell.spec b/python-colcon-powershell.spec new file mode 100644 index 0000000..1d9d150 --- /dev/null +++ b/python-colcon-powershell.spec @@ -0,0 +1,71 @@ +%global srcname colcon-powershell + +Name: python-%{srcname} +Version: 0.3.6 +Release: 1%{?dist} +Summary: Extension for colcon to provide PowerShell scripts + +License: ASL 2.0 +URL: https://colcon.readthedocs.io +Source0: https://github.com/colcon/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +An extension for colcon-core to provide PowerShell scripts. + + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: %{summary} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-pytest +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.4.2 +%endif # __pythondist_requires + +%description -n python%{python3_pkgversion}-%{srcname} +An extension for colcon-core to provide PowerShell scripts. + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%check +%{__python3} -m pytest \ + --ignore=test/test_spell_check.py \ + --ignore=test/test_flake8.py \ + test + + +%files -n python%{python3_pkgversion}-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/colcon_powershell/ +%{python3_sitelib}/colcon_powershell-%{version}-py%{python3_version}.egg-info/ + + +%changelog +* Wed Oct 30 2019 Scott K Logan - 0.3.6-1 +- Update to 0.3.6 (rhbz#1762532) + +* Fri Apr 26 2019 Scott K Logan - 0.3.4-2 +- Rebuilt to change main python from 3.4 to 3.6 in EPEL 7 + +* Fri Mar 01 2019 Scott K Logan - 0.3.4-1 +- Update to 0.3.4 +- Handle automatic dependency generation (f30+) + +* Sat Oct 27 2018 Scott K Logan - 0.3.3-1 +- Initial package diff --git a/sources b/sources index e69de29..58af852 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (colcon-powershell-0.3.6.tar.gz) = 2caf64db07eb3a5341504522f0f86fbbd6e9dfc375cc4a48f010901ea61de7e67b6b328da4aea850c62f5daecd7328511e50820195905e83a7535bb2eab734a6