14
0
forked from pool/python-pyasn1

Accepting request 115596 from devel:languages:python

updated to upstrean release 0.1.3 (forwarded request 115535 from stroeder)

OBS-URL: https://build.opensuse.org/request/show/115596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyasn1?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2012-05-03 09:00:06 +00:00
committed by Git OBS Bridge
4 changed files with 33 additions and 20 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2422dabc63126cd6a27e41ad6dec53b3df1d701114a1184e7630e4c857380e12
size 53547

3
pyasn1-0.1.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:937fd751c4c25dbd37810d15138114640773c7c276039c9f6d7276fdacb355b7
size 54291

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Wed Apr 25 20:11:18 UTC 2012 - michael@stroeder.com
- updated to upstrean release 0.1.3
From upstream CHANGES:
- Include class name into asn1 value constraint violation exception.
- Fix to OctetString.prettyOut() method that looses leading zero when
building hex string.
-------------------------------------------------------------------
Wed Apr 18 07:46:46 UTC 2012 - saschpe@suse.de
- Fix obsoletes for python-asn1 instead
-------------------------------------------------------------------
Tue Apr 17 15:12:23 UTC 2012 - dmueller@suse.com
- remove self-obsoletes
-------------------------------------------------------------------
Fri Mar 23 09:59:28 UTC 2012 - michael@stroeder.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyasn1
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,24 @@
#
Name: python-pyasn1
Version: 0.1.2
Release: 1
Url: http://pyasn1.sf.net/
Version: 0.1.3
Release: 0
Summary: ASN.1 types and codecs
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://pyasn1.sf.net/
Source: http://pypi.python.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
Provides: python-asn1 = %{version}
Obsoletes: python-asn1 < 0.1.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
Provides: python-pyasn1 = %{version}
Obsoletes: python-pyasn1 < %{version}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
This is an implementation of ASN.1 types and codecs in Python programming
@@ -48,15 +45,11 @@ specification.
%setup -q -n pyasn1-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README THANKS TODO doc