Hello community,

here is the log from the commit of package python-pyasn1-modules for 
openSUSE:Factory checked in at 2017-04-19 17:56:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyasn1-modules (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyasn1-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyasn1-modules"

Wed Apr 19 17:56:49 2017 rev:14 rq:480630 version:0.0.8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pyasn1-modules/python-pyasn1-modules.changes  
    2016-01-01 19:47:15.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyasn1-modules.new/python-pyasn1-modules.changes
 2017-04-19 17:56:53.920045437 +0200
@@ -1,0 +2,5 @@
+Thu Mar 16 13:46:56 UTC 2017 - [email protected]
+
+- Switch to singlespec approach
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyasn1-modules.spec ++++++
--- /var/tmp/diff_new_pack.KqljjE/_old  2017-04-19 17:56:55.523818543 +0200
+++ /var/tmp/diff_new_pack.KqljjE/_new  2017-04-19 17:56:55.523818543 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyasn1-modules
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX 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,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyasn1-modules
 Version:        0.0.8
 Release:        0
@@ -23,19 +24,14 @@
 Summary:        Collection of protocols modules written in ASN.1 language
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-%{version}.tar.gz
+Source:         
https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 Requires:       python-pyasn1
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
 BuildArch:      noarch
-%else
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%endif
-%endif
+
+%python_subpackages
 
 %description
 This is an implementation of ASN.1 types and codecs in Python programming
@@ -47,16 +43,12 @@
 %setup -q -n pyasn1-modules-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%clean
-rm -rf %{buildroot}
+%python_install
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc CHANGES.txt LICENSE.txt README.txt
 %{python_sitelib}/*


Reply via email to