forked from pool/python-unpaddedbase64
Accepting request 655699 from devel:languages:python
- Fix the fdupes call to match up documentation - Run tests OBS-URL: https://build.opensuse.org/request/show/655699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unpaddedbase64?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 14:27:26 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix the fdupes call to match up documentation
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 13:49:57 UTC 2017 - okurz@suse.com
|
||||
|
||||
|
@@ -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 @@ 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}
|
||||
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 @@ RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using
|
||||
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
|
||||
|
Reference in New Issue
Block a user