From f65b1f08ff97a8f830f7c2731648ce8d29f52e4210a54744f1b820fc702596be Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:22:40 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-signedjson?expand=0&rev=6 --- python-signedjson.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/python-signedjson.spec b/python-signedjson.spec index 69b0243..5c3bd3c 100644 --- a/python-signedjson.spec +++ b/python-signedjson.spec @@ -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