2012-01-06 14:46:16 +00:00
|
|
|
%global module pyasn1
|
2018-10-15 17:42:29 +00:00
|
|
|
%global modules_version 0.2.2
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
Name: python-pyasn1
|
2018-10-15 17:42:29 +00:00
|
|
|
Version: 0.4.4
|
2019-02-02 08:30:11 +00:00
|
|
|
Release: 4%{?dist}
|
2008-01-18 14:09:39 +00:00
|
|
|
Summary: ASN.1 tools for Python
|
|
|
|
License: BSD
|
2017-02-06 19:26:53 +00:00
|
|
|
Source0: https://github.com/etingof/pyasn1/archive/v%{version}.tar.gz
|
2017-08-16 21:12:13 +00:00
|
|
|
Source1: https://github.com/etingof/pyasn1-modules/archive/v%{modules_version}.tar.gz
|
2008-01-18 14:09:39 +00:00
|
|
|
URL: http://pyasn1.sourceforge.net/
|
|
|
|
BuildArch: noarch
|
2013-02-22 20:11:38 +00:00
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
%description
|
2013-02-22 20:11:38 +00:00
|
|
|
This is an implementation of ASN.1 types and codecs in the Python programming
|
|
|
|
language.
|
2008-01-18 14:09:39 +00:00
|
|
|
|
2018-10-16 11:54:18 +00:00
|
|
|
%package -n python2-pyasn1
|
|
|
|
Summary: ASN.1 tools for Python 2
|
|
|
|
%{?python_provide:%python_provide python2-pyasn1}
|
|
|
|
%{!?python_provide:Provides: python-pyasn1}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
|
|
|
%description -n python2-pyasn1
|
|
|
|
This is an implementation of ASN.1 types and codecs in the Python 2 programming
|
|
|
|
language.
|
|
|
|
|
|
|
|
%package -n python2-pyasn1-modules
|
|
|
|
Summary: Modules for pyasn1
|
|
|
|
Requires: python2-pyasn1 >= %{version}-%{release}
|
|
|
|
%{?python_provide:%python_provide python2-pyasn1-modules}
|
|
|
|
%{!?python_provide:Provides: python-pyasn1-modules}
|
|
|
|
|
|
|
|
%description -n python2-pyasn1-modules
|
|
|
|
ASN.1 types modules for python-pyasn1.
|
|
|
|
|
2013-02-22 20:11:38 +00:00
|
|
|
%package -n python3-pyasn1
|
|
|
|
Summary: ASN.1 tools for Python 3
|
2016-01-04 18:43:08 +00:00
|
|
|
%{?python_provide:%python_provide python3-pyasn1}
|
2018-10-15 18:29:02 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
2013-02-22 20:11:38 +00:00
|
|
|
|
|
|
|
%description -n python3-pyasn1
|
|
|
|
This is an implementation of ASN.1 types and codecs in the Python 3 programming
|
|
|
|
language.
|
|
|
|
|
|
|
|
%package -n python3-pyasn1-modules
|
|
|
|
Summary: Modules for pyasn1
|
|
|
|
Requires: python3-pyasn1 >= %{version}-%{release}
|
2016-01-04 18:43:08 +00:00
|
|
|
%{?python_provide:%python_provide python3-modules}
|
2013-02-22 20:11:38 +00:00
|
|
|
|
|
|
|
%description -n python3-pyasn1-modules
|
|
|
|
ASN.1 types modules for python3-pyasn1.
|
|
|
|
|
2017-02-06 19:26:53 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for pyasn1
|
2018-06-13 10:05:42 +00:00
|
|
|
BuildRequires: python3-sphinx
|
2017-02-06 19:26:53 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
%{summary}.
|
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
%prep
|
2012-01-06 14:46:16 +00:00
|
|
|
%setup -n %{module}-%{version} -q -b1
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2018-10-16 11:54:18 +00:00
|
|
|
%py2_build
|
2018-06-13 10:46:17 +00:00
|
|
|
%py3_build
|
|
|
|
|
2012-01-06 14:46:16 +00:00
|
|
|
pushd ../pyasn1-modules-%{modules_version}
|
2018-10-16 11:54:18 +00:00
|
|
|
%py2_build
|
2018-06-13 10:46:17 +00:00
|
|
|
%py3_build
|
2012-01-06 14:46:16 +00:00
|
|
|
popd
|
2008-01-18 14:09:39 +00:00
|
|
|
|
2018-10-15 17:42:29 +00:00
|
|
|
pushd docs
|
2018-06-13 10:46:17 +00:00
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} make SPHINXBUILD=sphinx-build-3 html
|
2013-02-22 20:11:38 +00:00
|
|
|
popd
|
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
|
|
|
|
%install
|
2018-10-16 11:54:18 +00:00
|
|
|
%py2_install
|
2018-06-13 10:46:17 +00:00
|
|
|
%py3_install
|
2013-02-22 20:11:38 +00:00
|
|
|
|
2012-01-06 14:46:16 +00:00
|
|
|
pushd ../pyasn1-modules-%{modules_version}
|
2018-10-16 11:54:18 +00:00
|
|
|
%py2_install
|
2018-06-13 10:46:17 +00:00
|
|
|
%py3_install
|
2017-02-06 19:26:53 +00:00
|
|
|
popd
|
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
|
2013-02-22 20:11:38 +00:00
|
|
|
%check
|
2018-06-13 10:46:17 +00:00
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} setup.py test
|
2013-02-22 20:11:38 +00:00
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
|
2018-10-16 11:54:18 +00:00
|
|
|
%files -n python2-pyasn1
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.rst
|
|
|
|
%{python2_sitelib}/%{module}
|
|
|
|
%{python2_sitelib}/%{module}-%{version}-*.egg-info/
|
|
|
|
|
|
|
|
%files -n python2-pyasn1-modules
|
|
|
|
%{python2_sitelib}/%{module}_modules/
|
|
|
|
%{python2_sitelib}/%{module}_modules-%{modules_version}-*.egg-info/
|
|
|
|
|
2013-02-22 20:11:38 +00:00
|
|
|
%files -n python3-pyasn1
|
2017-02-06 19:26:53 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.rst
|
2013-02-22 20:11:38 +00:00
|
|
|
%{python3_sitelib}/%{module}
|
|
|
|
%{python3_sitelib}/%{module}-%{version}-*.egg-info/
|
|
|
|
|
|
|
|
%files -n python3-pyasn1-modules
|
|
|
|
%{python3_sitelib}/%{module}_modules/
|
|
|
|
%{python3_sitelib}/%{module}_modules-%{modules_version}-*.egg-info/
|
2008-01-18 14:09:39 +00:00
|
|
|
|
2017-02-06 19:26:53 +00:00
|
|
|
%files doc
|
|
|
|
%license LICENSE.rst
|
2018-10-15 17:42:29 +00:00
|
|
|
%doc docs/build/html/*
|
2017-02-06 19:26:53 +00:00
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
%changelog
|
2019-02-02 08:30:11 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-16 11:54:18 +00:00
|
|
|
* Tue Oct 16 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-3
|
|
|
|
- Restore python2 subpackages
|
|
|
|
|
2018-10-15 18:29:02 +00:00
|
|
|
* Mon Oct 15 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-2
|
|
|
|
- Add back accidentally removed buildrequires
|
|
|
|
|
2018-10-15 17:42:29 +00:00
|
|
|
* Mon Oct 15 2018 Rob Crittenden <rcritten@redhat.com> - 0.4.4-1
|
|
|
|
- Update to 0.4.4 (#1582010)
|
|
|
|
- Update modules to 0.2.2
|
|
|
|
- Drop python 2 subpackages
|
|
|
|
|
2018-07-14 01:31:51 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org>
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-27 06:56:40 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-5
|
2018-06-13 10:05:42 +00:00
|
|
|
- Use Python 3 Sphinx if with Python 3
|
2018-06-13 10:46:17 +00:00
|
|
|
- Cleanup
|
2018-06-13 10:05:42 +00:00
|
|
|
|
2018-06-17 16:23:07 +00:00
|
|
|
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-4
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-14 16:01:43 +00:00
|
|
|
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.7-3
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-09 09:59:29 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-16 10:48:38 +00:00
|
|
|
* Thu Nov 16 2017 Christian Heimes <cheimes@redhat.com> - 0.3.7-1
|
|
|
|
- Update to upstream release 0.3.7 (#1492446)
|
|
|
|
- Update modules to 0.1.5
|
|
|
|
|
2017-09-29 16:35:56 +00:00
|
|
|
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.3.4-2
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
2017-09-15 15:35:09 +00:00
|
|
|
* Fri Sep 15 2017 Rob Crittenden <rcritten@redhat.com> - 0.3.4-1
|
|
|
|
- Update to upstream release 0.3.4 (#1485669)
|
|
|
|
- Update modules to 0.1.2
|
|
|
|
- Patch to fixed crash at SequenceOf native decoder
|
|
|
|
|
2017-08-16 21:12:13 +00:00
|
|
|
* Wed Aug 16 2017 Rob Crittenden <rcritten@redhat.com> - 0.3.2-1
|
|
|
|
- Update to upstream release 0.3.2 (#1475594)
|
|
|
|
- Update modules to 0.0.11
|
|
|
|
|
2017-07-27 11:23:55 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-27 15:06:31 +00:00
|
|
|
* Mon Feb 27 2017 Rob Crittenden <rcritten@redhat.com> - 0.2.3-1
|
|
|
|
- Update to upstream release 0.2.3 (#1426979)
|
|
|
|
- Adapt to the way upstream changed the way tests are executed
|
|
|
|
- Pass PYTHONPATH when building the documentation
|
|
|
|
|
2017-02-06 19:26:53 +00:00
|
|
|
* Mon Feb 6 2017 Rob Crittenden <rcritten@redhat.com> - 0.2.1-1
|
|
|
|
- Update to upstream release 0.2.1 (#1419310)
|
|
|
|
- Added doc subpackage and moved documentation there
|
|
|
|
|
2016-12-11 15:06:18 +00:00
|
|
|
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.1.9-8.1
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 11:06:28 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-7.1
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 20:34:36 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-6.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-11 19:34:53 +00:00
|
|
|
* Mon Jan 11 2016 Rob Crittenden <rcritten@redhat.com> - 0.1.9-5.1
|
|
|
|
- Add in missing colon after Provides
|
|
|
|
|
2016-01-11 18:49:35 +00:00
|
|
|
* Mon Jan 11 2016 Rob Crittenden <rcritten@redhat.com> - 0.1.9-5
|
|
|
|
- If python_provide wasn't defined then the python2 subpackages
|
|
|
|
didn't provide python-pyasn1-*
|
|
|
|
|
2016-01-05 10:36:07 +00:00
|
|
|
* Tue Jan 5 2016 Martin Kosek <mkosek@redhat.com> - 0.1.9-4
|
|
|
|
- Fix python2 provides for pyasn1 modules (#1295693)
|
|
|
|
|
2016-01-04 18:43:08 +00:00
|
|
|
* Mon Jan 4 2016 Rob Crittenden <rcritten@redhat.com> - 0.1.9-3
|
|
|
|
- Explicitly provide python2 subpackages, use python_provide macro
|
|
|
|
|
2015-11-04 12:28:15 +00:00
|
|
|
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 0.1.9-2
|
|
|
|
- Rebuilt for Python3.5 rebuild
|
|
|
|
|
2015-10-19 15:04:17 +00:00
|
|
|
* Mon Oct 19 2015 Rob Crittenden <rcritten@redhat.com> - 0.1.9-1
|
|
|
|
- Update to new upstream release 0.1.9, modules 0.0.8.
|
|
|
|
|
2015-08-17 14:05:24 +00:00
|
|
|
* Sat Aug 15 2015 Rob Crittenden <rcritten@redhat.com> - 0.1.8-2
|
|
|
|
- Move LICENSE to the license tag instead of doc.
|
|
|
|
|
2015-07-15 19:00:18 +00:00
|
|
|
* Wed Jul 15 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.1.8-1
|
|
|
|
- Update to new upstream release 0.1.8, modules 0.0.6.
|
|
|
|
|
2015-06-18 20:23:15 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 22:18:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 22:32:50 +00:00
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2013-08-04 09:12:50 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-24 18:30:11 +00:00
|
|
|
* Wed Jul 24 2013 Rob Crittenden <rcritten@redhat.com> - 0.1.7-1
|
|
|
|
- update to upstream release 0.1.7
|
|
|
|
- update modules to 0.0.5
|
|
|
|
|
2013-02-22 20:11:38 +00:00
|
|
|
* Sat Feb 16 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.6-1
|
|
|
|
- update to upstream release 0.1.6
|
|
|
|
- update modules to 0.0.4
|
|
|
|
- update description
|
|
|
|
- add python3-pyasn1 subpackage
|
|
|
|
- add versioned Requires for the module subpackages
|
|
|
|
- add %%check section
|
|
|
|
|
2013-02-14 20:10:00 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 07:53:53 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-06 14:46:16 +00:00
|
|
|
* Mon Jan 02 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1.2-1
|
|
|
|
- New upstream version
|
|
|
|
|
2011-02-09 05:55:44 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12a-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-22 21:17:36 +00:00
|
|
|
* Wed Dec 22 2010 Rob Crittenden <rcritten@redhat.com> - 0.0.12a-1
|
|
|
|
- Update to upstream version 0.0.12a
|
|
|
|
|
2010-07-22 05:08:33 +00:00
|
|
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.0.9a-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2009-11-17 15:47:26 +00:00
|
|
|
* Mon Nov 16 2009 Rob Crittenden <rcritten@redhat.com> - 0.0.9a-1
|
|
|
|
- Update to upstream version 0.0.9a
|
|
|
|
- Include patch that adds parsing for the Any type
|
|
|
|
|
2009-09-02 19:13:45 +00:00
|
|
|
* Wed Sep 2 2009 Rob Crittenden <rcritten@redhat.com> - 0.0.8a-5
|
|
|
|
- Include doc/notes.html in the package
|
|
|
|
|
2009-07-26 20:55:08 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8a-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 23:06:10 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8a-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 15:52:19 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.0.8a-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-09 19:19:00 +00:00
|
|
|
* Tue Sep 9 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.8a-1
|
|
|
|
- Update to upstream version 0.0.8a
|
|
|
|
|
2008-01-18 14:09:39 +00:00
|
|
|
* Wed Jan 16 2008 Rob Crittenden <rcritten@redhat.com> - 0.0.7a-4
|
|
|
|
- Use setuptools to install the package
|
|
|
|
- simplify the files included in the rpm so it includes the .egg-info
|
|
|
|
|
|
|
|
* Mon Jan 14 2008 Rob Crittenden <rcritten@redhat.com> - 0.0.7a-3
|
|
|
|
- Rename to python-pyasn1
|
|
|
|
- Spec file cleanups
|
|
|
|
|
|
|
|
* Mon Nov 19 2007 Karl MacMillan <kmacmill@redhat.com> - 0.0.7a-2
|
|
|
|
- Update rpm to be more fedora friendly
|
|
|
|
|
|
|
|
* Thu Nov 8 2007 Simo Sorce <ssorce@redhat.com> 0.0.7a-1
|
|
|
|
- New release
|
|
|
|
|
|
|
|
* Mon May 28 2007 Andreas Hasenack <andreas@mandriva.com> 0.0.6a-1mdv2008.0
|
|
|
|
+ Revision: 31989
|
|
|
|
- fixed (build)requires
|
|
|
|
- Import pyasn1
|
|
|
|
|