Hello community, here is the log from the commit of package python-libnacl for openSUSE:Factory checked in at 2018-08-24 17:03:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libnacl (Old) and /work/SRC/openSUSE:Factory/.python-libnacl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libnacl" Fri Aug 24 17:03:01 2018 rev:17 rq:628636 version:1.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libnacl/python-libnacl.changes 2017-12-29 00:04:27.250356611 +0100 +++ /work/SRC/openSUSE:Factory/.python-libnacl.new/python-libnacl.changes 2018-08-24 17:03:03.605997088 +0200 @@ -1,0 +2,6 @@ +Fri Aug 10 13:47:38 UTC 2018 - [email protected] + +- Fix the libsodium dependency on the runtime to be copied by macros +- Install license file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libnacl.spec ++++++ --- /var/tmp/diff_new_pack.xo63vn/_old 2018-08-24 17:03:04.953998686 +0200 +++ /var/tmp/diff_new_pack.xo63vn/_new 2018-08-24 17:03:04.953998686 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-libnacl # -# Copyright (c) 2017 SUSE LINUX 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 @@ -23,25 +23,17 @@ Summary: Python bindings for libsodium based on ctypes License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/saltstack/libnacl +URL: https://github.com/saltstack/libnacl Source0: https://github.com/saltstack/libnacl/archive/v%{version}.tar.gz - BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros -# libnacl/__init__.py only looks for sonames 17, 13, 10, 5, 4 -# plus 18 with Patch0 -%if 0%{?suse_version} >= 1310 BuildRequires: pkgconfig(libsodium) -%else -BuildRequires: libsodium-devel <= 1.0.8 -%endif - -# make sure we require the libsodium version we were built with -# this is extracted from the requires_eq macro because we need the -a parameter to expand the wildcard in the package name. -%(LC_ALL=C rpm -q -a --qf "Requires: %%{name}(%{__isa}) = %%{version}\n" 'libsodium*' | grep -v libsodium-devel | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") - +# This will need updating and verification but smart magic is not copied by +# singlespec macros +Requires: libsodium23 %python_subpackages %description @@ -59,8 +51,12 @@ %python_install %python_expand %fdupes -s %{buildroot}/%{$python_sitelib} +%check +%python_expand $python tests/runtests.py + %files %{python_files} -%defattr(-,root,root) +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog
