Blame SPECS/python-subprocess32.spec

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