forked from pool/python-signedjson
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-signedjson?expand=0&rev=6
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user