Hello community, here is the log from the commit of package python-ed25519ll for openSUSE:Factory checked in at 2018-05-30 12:23:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ed25519ll (Old) and /work/SRC/openSUSE:Factory/.python-ed25519ll.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ed25519ll" Wed May 30 12:23:25 2018 rev:4 rq:612881 version:0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ed25519ll/python-ed25519ll.changes 2013-08-20 12:18:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-ed25519ll.new/python-ed25519ll.changes 2018-05-30 12:37:44.335545315 +0200 @@ -1,0 +2,10 @@ +Tue May 29 14:16:40 UTC 2018 - mc...@suse.com + +- Clean SPEC file + +------------------------------------------------------------------- +Thu Aug 24 13:38:01 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -4,0 +15 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ed25519ll.spec ++++++ --- /var/tmp/diff_new_pack.2OY3QW/_old 2018-05-30 12:37:44.839529375 +0200 +++ /var/tmp/diff_new_pack.2OY3QW/_new 2018-05-30 12:37:44.839529375 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ed25519ll # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -13,23 +13,26 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# -Name: python-ed25519ll +%define modname ed25519ll +%define skip_python3 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-%{modname} Version: 0.6 Release: 0 -License: MIT Summary: A low-level ctypes wrapper for Ed25519 digital signatures -Url: http://bitbucket.org/dholth/ed25519ll/ +License: MIT Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/e/ed25519ll/ed25519ll-%{version}.tar.gz -BuildRequires: python-devel +URL: http://bitbucket.org/dholth/%{modname}/ +Source: https://files.pythonhosted.org/packages/source/e/ed25519ll/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module devel} # Test requirements: -BuildRequires: python-nose -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +BuildRequires: %{python_module nose} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages %description Ed25519 is a public-key signature system with several attractive features @@ -45,19 +48,20 @@ This text abridged from http://ed25519.cr.yp.to/. %prep -%setup -q -n ed25519ll-%{version} +%setup -q -n %{modname}-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -python setup.py test +%python_exec setup.py test -%files -%defattr(-,root,root,-) +%files %{python_files} %doc README.txt CHANGES.txt %{python_sitearch}/*