Hello community,
here is the log from the commit of package python-libnacl for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:07:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-libnacl (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-libnacl.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libnacl"
Mon Mar 9 18:07:44 2020 rev:15 rq:776743 version:1.6.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-libnacl/python-libnacl.changes
2020-01-15 15:49:53.847475957 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-libnacl.new.26092/python-libnacl.changes
2020-03-09 18:07:47.504889782 +0100
@@ -1,0 +2,11 @@
+Mon Oct 14 13:59:30 UTC 2019 - Matej Cepl <[email protected]>
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+-------------------------------------------------------------------
+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.vAnc0N/_old 2020-03-09 18:07:47.804889931 +0100
+++ /var/tmp/diff_new_pack.vAnc0N/_new 2020-03-09 18:07:47.804889931 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-libnacl
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,26 +22,17 @@
Release: 0
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
@@ -57,10 +48,14 @@
%install
%python_install
-%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
+%python_expand %fdupes %{buildroot}/%{$python_sitelib}
+
+%check
+%python_expand $python tests/runtests.py
%files %{python_files}
-%defattr(-,root,root)
+%license LICENSE
+%doc README.rst
%{python_sitelib}/*
%changelog