Blame SPECS/python-subprocess32.spec

80c842
# we don't want to provide private python extension libs
80c842
%{?filter_setup:
80c842
%filter_provides_in %{python2_sitearch}/.*\.so$
80c842
%filter_setup
80c842
}
80c842
80c842
%global srcname subprocess32
80c842
80c842
Name:           python-subprocess32
80c842
Version:        3.2.6
80c842
Release:        14%{?dist}
80c842
Summary:        Backport of subprocess module from Python 3.2 to Python 2.*
80c842
80c842
License:        Python
80c842
URL:            https://github.com/google/python-subprocess32
80c842
Source0:        https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
80c842
80c842
BuildRequires:  python2-devel
80c842
BuildRequires:  python-test
80c842
80c842
# Fix heap overflow when parsing too many arguments
80c842
# upstream fix: https://github.com/google/python-subprocess32/pull/55
80c842
Patch0:     fix-heap-overflow.patch
80c842
80c842
%global _description\
80c842
Backport of the subprocess module from Python 3.2 for use on 2.x.\
80c842
80c842
80c842
%description %_description
80c842
80c842
%package -n python2-subprocess32
80c842
Summary: %summary
80c842
%{?python_provide:%python_provide python2-subprocess32}
80c842
80c842
%description -n python2-subprocess32 %_description
80c842
80c842
%prep
80c842
%setup -q -n subprocess32-%{version}
80c842
80c842
%patch0 -p1
80c842
80c842
80c842
%build
80c842
%py2_build
80c842
80c842
80c842
%install
80c842
%py2_install
80c842
80c842
80c842
%check
80c842
PYTHONPATH=$(pwd) %{__python2} test_subprocess32.py
80c842
80c842
80c842
%files -n python2-subprocess32
80c842
%doc README.txt
80c842
%license LICENSE
80c842
%{python2_sitearch}/_posixsubprocess.so
80c842
%{python2_sitearch}/subprocess32*.egg-info
80c842
%{python2_sitearch}/subprocess32.py*
80c842
80c842
80c842
%changelog
80c842
* Mon Nov 26 2018 Marcel Plch <mplch@redhat.com> - 3.2.6-14
80c842
- Backport upstream patch for heap overflow when parsing too many arguments
80c842
- Resolves: rhbz#1619386
80c842
80c842
* Mon May 21 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.2.6-13
80c842
- Import into RHEL 7.6 (rhbz#1440695)
80c842
80c842
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-11
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
80c842
80c842
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.2.6-10
80c842
- Update Python 2 dependency declarations to new packaging standards
80c842
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
80c842
80c842
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.6-9
80c842
- Python 2 binary package renamed to python2-subprocess32
80c842
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
80c842
80c842
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-8
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
80c842
80c842
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-7
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
80c842
80c842
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.2.6-6
80c842
- Rebuild due to bug in RPM (RHBZ #1468476)
80c842
80c842
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-5
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
80c842
80c842
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.6-4
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
80c842
80c842
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.6-3
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
80c842
80c842
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.6-2
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
80c842
80c842
* Fri Jul  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.6-1
80c842
- Update to 3.2.6
80c842
80c842
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-0.2.rc1
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
80c842
80c842
* Wed Aug  7 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.5-0.1.rc1
80c842
- Update to new upstream release candidate
80c842
- Fix build failure on rawhide
80c842
80c842
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-2
80c842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
80c842
80c842
* Wed Feb 13 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
80c842
- initial package
80c842