From 1aa482461613f343a2188fd99d59d7238c52cf2fa2529438c7a84f632d4b011f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 17 Apr 2012 15:13:45 +0000 Subject: [PATCH 1/4] - remove self-obsoletes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=11 --- python-pyasn1.changes | 5 +++++ python-pyasn1.spec | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/python-pyasn1.changes b/python-pyasn1.changes index b2d9967..471238f 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 17 15:13:35 UTC 2012 - dmueller@suse.com + +- remove self-obsoletes + ------------------------------------------------------------------- Fri Mar 23 09:59:28 UTC 2012 - michael@stroeder.com diff --git a/python-pyasn1.spec b/python-pyasn1.spec index d4e0476..f965cd1 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -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,10 +16,9 @@ # - Name: python-pyasn1 Version: 0.1.2 -Release: 1 +Release: 0 Url: http://pyasn1.sf.net/ Summary: ASN.1 types and codecs License: BSD-3-Clause @@ -34,8 +33,6 @@ BuildRequires: python-distribute 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 From ac4c8c46cea2c2231cea132394fb5df4385062bdc1a21cb359b14d4e9e2cafde Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 17 Apr 2012 15:14:14 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=12 --- python-pyasn1.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 471238f..924749e 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Tue Apr 17 15:13:35 UTC 2012 - dmueller@suse.com +Tue Apr 17 15:12:23 UTC 2012 - dmueller@suse.com - remove self-obsoletes From 6f7db4cb23f2f362f4fcfa5982a0218b809c788e29e0061418be9e0a86a38e6c Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 18 Apr 2012 07:50:21 +0000 Subject: [PATCH 3/4] - Fix obsoletes for python-asn1 instead OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=13 --- python-pyasn1.changes | 5 +++++ python-pyasn1.spec | 18 +++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 924749e..c84de43 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-pyasn1.spec b/python-pyasn1.spec index f965cd1..c2a201f 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -19,21 +19,21 @@ Name: python-pyasn1 Version: 0.1.2 Release: 0 -Url: http://pyasn1.sf.net/ 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 -%{!?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 @@ -45,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 From 27552fe271756cb5f7457612de23131d05636341fe8efa4e3d4ac5ab88c98ded Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 26 Apr 2012 08:13:28 +0000 Subject: [PATCH 4/4] Accepting request 115535 from home:stroeder:branches:devel:languages:python updated to upstrean release 0.1.3 OBS-URL: https://build.opensuse.org/request/show/115535 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=14 --- pyasn1-0.1.2.tar.gz | 3 --- pyasn1-0.1.3.tar.gz | 3 +++ python-pyasn1.changes | 10 ++++++++++ python-pyasn1.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 pyasn1-0.1.2.tar.gz create mode 100644 pyasn1-0.1.3.tar.gz diff --git a/pyasn1-0.1.2.tar.gz b/pyasn1-0.1.2.tar.gz deleted file mode 100644 index f3c8438..0000000 --- a/pyasn1-0.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2422dabc63126cd6a27e41ad6dec53b3df1d701114a1184e7630e4c857380e12 -size 53547 diff --git a/pyasn1-0.1.3.tar.gz b/pyasn1-0.1.3.tar.gz new file mode 100644 index 0000000..bc0c0ed --- /dev/null +++ b/pyasn1-0.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:937fd751c4c25dbd37810d15138114640773c7c276039c9f6d7276fdacb355b7 +size 54291 diff --git a/python-pyasn1.changes b/python-pyasn1.changes index c84de43..c3575ee 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 diff --git a/python-pyasn1.spec b/python-pyasn1.spec index c2a201f..031be38 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -17,7 +17,7 @@ Name: python-pyasn1 -Version: 0.1.2 +Version: 0.1.3 Release: 0 Summary: ASN.1 types and codecs License: BSD-3-Clause