|
|
33c532 |
%global srcname sh
|
|
|
33c532 |
|
|
|
33c532 |
%global common_description %{expand:
|
|
|
33c532 |
sh is a full-fledged subprocess replacement for Python that allows you to call
|
|
|
33c532 |
any program as if it were a function. sh is not a collection of system
|
|
|
33c532 |
commands implemented in Python.}
|
|
|
33c532 |
|
|
|
33c532 |
Name: python-%{srcname}
|
|
|
33c532 |
License: MIT
|
|
|
33c532 |
Summary: Python subprocess replacement
|
|
|
33c532 |
Version: 1.14.1
|
|
|
33c532 |
Release: 2%{?dist}
|
|
|
33c532 |
URL: https://github.com/amoffat/sh
|
|
|
33c532 |
Source0: %pypi_source
|
|
|
33c532 |
BuildArch: noarch
|
|
|
33c532 |
BuildRequires: lsof
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%description %{common_description}
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%package -n python3-%{srcname}
|
|
|
33c532 |
Summary: %{summary}
|
|
|
33c532 |
BuildRequires: python3-devel
|
|
|
33c532 |
BuildRequires: python3-setuptools
|
|
|
33c532 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%description -n python3-%{srcname} %{common_description}
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%prep
|
|
|
33c532 |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%build
|
|
|
33c532 |
%py3_build
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%install
|
|
|
33c532 |
%py3_install
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%check
|
|
|
33c532 |
%{__python3} sh.py travis
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%files -n python3-%{srcname}
|
|
|
33c532 |
%license LICENSE.txt
|
|
|
33c532 |
%doc CHANGELOG.md README.rst
|
|
|
33c532 |
%{python3_sitelib}/%{srcname}.py
|
|
|
33c532 |
%{python3_sitelib}/__pycache__/%{srcname}.cpython-%{python3_version_nodots}.*
|
|
|
33c532 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
|
|
33c532 |
|
|
|
33c532 |
|
|
|
33c532 |
%changelog
|
|
|
33c532 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-2
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Dec 31 2020 Kevin Fenzi <kevin@scrye.com> - 1.14.1-1
|
|
|
33c532 |
- Update to 1.14.1. Fixes rhbz#1891289
|
|
|
33c532 |
|
|
|
33c532 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-2
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Fri Jun 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.13.1-1
|
|
|
33c532 |
- Update to 1.13.1 (#1828679)
|
|
|
33c532 |
|
|
|
33c532 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.12.14-17
|
|
|
33c532 |
- Rebuilt for Python 3.9
|
|
|
33c532 |
|
|
|
33c532 |
* Fri Feb 07 2020 Carl George <carl@george.computer> - 1.12.14-16
|
|
|
33c532 |
- Always apply patch3 (el8 fix)
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-15
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.14-14
|
|
|
33c532 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Aug 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.14-13
|
|
|
33c532 |
- Subpackage python2-sh has been removed
|
|
|
33c532 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
33c532 |
|
|
|
33c532 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.14-12
|
|
|
33c532 |
- Rebuilt for Python 3.8
|
|
|
33c532 |
|
|
|
33c532 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-11
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Feb 12 2019 Carl George <carl@george.computer> - 1.12.14-10
|
|
|
33c532 |
- Refresh patch4, which also obsoletes patch5
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-9
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Jul 24 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.12.14-8
|
|
|
33c532 |
- Fix tests for the drop of the unversioned python interpreter
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-7
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Wed Jun 20 2018 Carl George <carl@george.computer> - 1.12.14-6
|
|
|
33c532 |
- Add patch4 to always use fully versioned python command in tests
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.12.14-5
|
|
|
33c532 |
- Rebuilt for Python 3.7
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Mar 08 2018 Carl George <carl@george.computer> - 1.12.14-4
|
|
|
33c532 |
- Use common license and documentation directory
|
|
|
33c532 |
- Enable EPEL python3 subpackage
|
|
|
33c532 |
|
|
|
33c532 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-3
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.14-2
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Wed Jun 07 2017 Carl George <carl.george@rackspace.com> - 1.12.14-1
|
|
|
33c532 |
- Latest upstream
|
|
|
33c532 |
- Update patch0 to account for changes in PEP-0538
|
|
|
33c532 |
|
|
|
33c532 |
* Sun Apr 16 2017 Carl George <carl.george@rackspace.com> - 1.12.13-2
|
|
|
33c532 |
- Add patch2 to remove coverage (too old in EL6/7, doesn't add any value for packaging)
|
|
|
33c532 |
- Add patch3 to fix tests to work with PEP-0538 changes in F26+ (obsoletes patch1)
|
|
|
33c532 |
- Run tests via `sh.py travis` to only test with the called python version
|
|
|
33c532 |
- Properly install license
|
|
|
33c532 |
- Switch to PyPI tarball
|
|
|
33c532 |
- Update summary and description
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Apr 15 2017 Kevin Fenzi <kevin@scrye.com> - 1.12.13-1
|
|
|
33c532 |
- Update to 1.12.13. Fixes bug #1442462
|
|
|
33c532 |
- Update to current python guidelines. Fixes bug #1442465
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.11-3
|
|
|
33c532 |
- Rebuild for Python 3.6
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
|
|
|
33c532 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
33c532 |
|
|
|
33c532 |
* Mon Feb 15 2016 Javier Peña <jpena@redhat.com> - 1.11-1
|
|
|
33c532 |
- Updated to upstream version 1.11
|
|
|
33c532 |
- Kill the entire process group when a command times out (bz#1306405)
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-7
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-6
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-5
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-4
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.08-3
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
33c532 |
|
|
|
33c532 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Apr 13 2013 Ralph Bean <rbean@redhat.com> - 1.08-1
|
|
|
33c532 |
- Latest upstream version.
|
|
|
33c532 |
- More explicit directory ownership in files section.
|
|
|
33c532 |
- Added python3-sh subpackage.
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-3
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Tue Sep 18 2012 Andy Grover <agrover@redhat.com> - 1.02-2
|
|
|
33c532 |
- Re-add check
|
|
|
33c532 |
|
|
|
33c532 |
* Mon Sep 17 2012 Andy Grover <agrover@redhat.com> - 1.02-1
|
|
|
33c532 |
- New upstream release
|
|
|
33c532 |
- New upstream download location
|
|
|
33c532 |
- Remove check, upstream unittest has been removed
|
|
|
33c532 |
|
|
|
33c532 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.107-2
|
|
|
33c532 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Jun 28 2012 Andy Grover <agrover@redhat.com> - 0.107-1
|
|
|
33c532 |
- New upstream release
|
|
|
33c532 |
|
|
|
33c532 |
* Fri May 4 2012 Andy Grover <agrover@redhat.com> - 0.105-1
|
|
|
33c532 |
- New upstream release
|
|
|
33c532 |
|
|
|
33c532 |
* Thu Mar 22 2012 Andy Grover <agrover@redhat.com> - 0.95-2
|
|
|
33c532 |
- Initial packaging
|