Hello community,
here is the log from the commit of package python-unpaddedbase64 for
openSUSE:Factory checked in at 2018-12-07 14:36:11
Comparing /work/SRC/openSUSE:Factory/python-unpaddedbase64 (Old)
and /work/SRC/openSUSE:Factory/.python-unpaddedbase64.new.19453 (New)
Package is "python-unpaddedbase64"
Fri Dec 7 14:36:11 2018 rev:2 rq:655699 version:1.1.0
Changes:
---
/work/SRC/openSUSE:Factory/python-unpaddedbase64/python-unpaddedbase64.changes
2017-08-12 20:25:07.241532693 +0200
+++
/work/SRC/openSUSE:Factory/.python-unpaddedbase64.new.19453/python-unpaddedbase64.changes
2018-12-07 14:36:17.611004739 +0100
@@ -1,0 +2,6 @@
+Thu Dec 6 14:27:26 UTC 2018 - Tomáš Chvátal
+
+- Fix the fdupes call to match up documentation
+- Run tests
+
+---
Other differences:
--
++ python-unpaddedbase64.spec ++
--- /var/tmp/diff_new_pack.tQAdtP/_old 2018-12-07 14:36:18.171004045 +0100
+++ /var/tmp/diff_new_pack.tQAdtP/_new 2018-12-07 14:36:18.171004045 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-unpaddedbase64
#
-# 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,12 +12,11 @@
# 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 short_name unpaddedbase64
Name: python-%{short_name}
Version:1.1.0
@@ -25,15 +24,12 @@
Summary:Unpadded Base64
License:Apache-2.0
Group: Development/Languages/Python
-Url:https://github.com/%{github_user}/%{name}
-Source:
https://github.com/%{github_user}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
-BuildRequires: %{python_module base}
+URL:https://github.com/matrix-org/python-unpaddedbase64
+Source:
https://github.com/matrix-org/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-
%python_subpackages
%description
@@ -44,18 +40,21 @@
Base64 without the "=" padding.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
%python_build
%install
%python_install
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_exec -m unittest discover
%files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst LICENSE
+%license LICENSE
+%doc README.rst
%{python_sitelib}/*
%changelog