commit python-unpaddedbase64 for openSUSE:Factory

2018-12-07 Thread root
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




commit python-unpaddedbase64 for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package python-unpaddedbase64 for 
openSUSE:Factory checked in at 2017-08-12 20:25:03

Comparing /work/SRC/openSUSE:Factory/python-unpaddedbase64 (Old)
 and  /work/SRC/openSUSE:Factory/.python-unpaddedbase64.new (New)


Package is "python-unpaddedbase64"

Sat Aug 12 20:25:03 2017 rev:1 rq:510141 version:1.1.0

Changes:

New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-unpaddedbase64.new/python-unpaddedbase64.changes
 2017-08-12 20:25:07.241532693 +0200
@@ -0,0 +1,5 @@
+---
+Mon Feb 27 13:49:57 UTC 2017 - ok...@suse.com
+
+- Initial submission
+

New:

  python-unpaddedbase64-1.1.0.tar.gz
  python-unpaddedbase64.changes
  python-unpaddedbase64.spec



Other differences:
--
++ python-unpaddedbase64.spec ++
#
# spec file for package python-unpaddedbase64
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define github_user matrix-org
%define short_name unpaddedbase64
Name:   python-%{short_name}
Version:1.1.0
Release:0
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}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%python_subpackages

%description
Encode and decode Base64 without "=" padding.

RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using
"=" characters. However this conveys no benefit so many protocols choose to use
Base64 without the "=" padding.

%prep
%setup -q -n %{name}-%{version}

%build
%python_build

%install
%python_install
%fdupes %{buildroot}%{_prefix}

%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{python_sitelib}/*

%changelog