diff --git a/.gitignore b/.gitignore index 83c07b7..8d1e655 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ pyasn1-0.0.9a.tar.gz /pyasn1-modules-0.0.8.tar.gz /pyasn1-0.1.9.tar.gz /v0.2.1.tar.gz +/v0.2.3.tar.gz diff --git a/python-pyasn1.spec b/python-pyasn1.spec index 1c14db4..ed4c5f4 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -8,7 +8,7 @@ %global modules_version 0.0.8 Name: python-pyasn1 -Version: 0.2.1 +Version: 0.2.3 Release: 1%{?dist} Summary: ASN.1 tools for Python License: BSD @@ -116,7 +116,7 @@ pushd ../pyasn1-modules-%{modules_version} popd pushd doc -make html +PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" make html rm -f build/html/.buildinfo popd @@ -124,10 +124,10 @@ popd %check # PYTHONPATH is required because the the tests expect python{,3}-pyasn1 # to be installed. -PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" %{__python2} test/suite.py +PYTHONPATH="$RPM_BUILD_ROOT%{python_sitelib}:$PYTHONPATH" %{__python2} setup.py test %if %{with python3} pushd %{py3dir} -PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitelib}:$PYTHONPATH" %{__python3} test/suite.py +PYTHONPATH="$RPM_BUILD_ROOT%{python3_sitelib}:$PYTHONPATH" %{__python3} setup.py test popd %endif @@ -167,6 +167,11 @@ rm -rf $RPM_BUILD_ROOT %doc doc/build/html/* %changelog +* Mon Feb 27 2017 Rob Crittenden - 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 + * Mon Feb 6 2017 Rob Crittenden - 0.2.1-1 - Update to upstream release 0.2.1 (#1419310) - Added doc subpackage and moved documentation there diff --git a/sources b/sources index 707a85e..7744b71 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (v0.2.1.tar.gz) = 95aa8af5ffc335ca3592d9180df88c9eb96640f596c9b9b541c9684e21a7d41270ef6d0b45563b72ba510971f3d2c8aecca28cea7dd912fe7329d2ddab99710d -SHA512 (pyasn1-modules-0.0.8.tar.gz) = 6040d4f83c6b00f7a0e6ba0e1264090d0fa96fc39e97b04d624721cef200b6cf4dabfe550127ade4edc181187ca1b4219fb46a95082a39e6291d0e2e08f36d78 +SHA512 (v0.2.3.tar.gz) = c55b95c1995f2fc36ec28f35837ca456a2fac06e90edc6491a3335ae949e4eacbbeb14f6289a17e994b49d4dc60870bba3e79344c44496d5547c38ab1ef183ab