14
0
2018-12-04 17:22:40 +00:00
committed by Git OBS Bridge
parent cbb2ed2299
commit f65b1f08ff

View File

@@ -18,21 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global modname signedjson
Name: python-%{modname}
Version: 1.0.0
Release: 0
Summary: Sign JSON with Ed25519 signatures
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/matrix-org/%{name}
URL: https://github.com/matrix-org/%{name}
Source0: %{name}-%{version}.tar.xz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -44,9 +41,8 @@ Features:
* ED25519 can be replaced with a different algorithm.
* Unprotected data can be added to the object under the "unsigned" key.
%prep
%setup -q -n %{name}-%{version}
%setup -q
%build
@@ -57,8 +53,8 @@ Features:
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog