Hello community,
here is the log from the commit of package python-pymacaroons-pynacl for
openSUSE:Factory checked in at 2019-01-03 18:06:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymacaroons-pynacl (Old)
and /work/SRC/openSUSE:Factory/.python-pymacaroons-pynacl.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymacaroons-pynacl"
Thu Jan 3 18:06:01 2019 rev:2 rq:656006 version:0.9.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pymacaroons-pynacl/python-pymacaroons-pynacl.changes
2017-08-12 20:24:28.035026779 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymacaroons-pynacl.new.28833/python-pymacaroons-pynacl.changes
2019-01-03 18:06:07.232167423 +0100
@@ -1,0 +2,6 @@
+Fri Dec 7 11:30:34 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Use correct fdupes call
+- Run tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymacaroons-pynacl.spec ++++++
--- /var/tmp/diff_new_pack.sBhTB5/_old 2019-01-03 18:06:07.980166759 +0100
+++ /var/tmp/diff_new_pack.sBhTB5/_new 2019-01-03 18:06:07.984166754 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pymacaroons-pynacl
#
-# 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
@@ -12,31 +12,33 @@
# 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/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define github_user matrix-org
%define github_name pymacaroons
-%define short_name pymacaroons-pynacl
-Name: python-%{short_name}
+Name: python-pymacaroons-pynacl
Version: 0.9.3
Release: 0
-License: MIT
Summary: Macaroon library for Python
+License: MIT
Group: Development/Languages/Python
-Url: https://github.com/%{github_user}/%{github_name}
-Source:
https://github.com/%{github_user}/%{github_name}/archive/v%{version}/pymacaroons-%{version}.tar.gz
-BuildRequires: %{python_module base}
+URL: https://github.com/matrix-org/pymacaroons
+Source:
https://github.com/matrix-org/%{github_name}/archive/v%{version}/pymacaroons-%{version}.tar.gz
+BuildRequires: %{python_module PyNaCl}
+BuildRequires: %{python_module cffi}
+BuildRequires: %{python_module libnacl}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-six
Requires: python-PyNaCl
Requires: python-cffi
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: python-six
BuildArch: noarch
-
%python_subpackages
%description
@@ -54,17 +56,22 @@
%prep
%setup -q -n %{github_name}-%{version}
+# requires too old hypothesis
+rm -f tests/property_tests/macaroon_property_tests.py
%build
%python_build
%install
%python_install
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_expand %{_bindir}/nosetests-%{$python_bin_suffix} -e test_inspect
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.md
+%license LICENSE
+%doc README.md
%{python_sitelib}/*
%changelog