diff --git a/deco.spec b/deco.spec index 5175daa..c76f626 100644 --- a/deco.spec +++ b/deco.spec @@ -1,7 +1,7 @@ # # spec file for package deco # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -20,9 +20,8 @@ Name: deco Version: 1.6.4 Release: 0 Summary: Deco Archive File Extractor -License: GPL-3.0 -Group: Productivity/Archiving/Compression -Url: https://github.com/peha/deco +License: GPL-3.0-only +URL: https://github.com/peha/deco Source: https://github.com/peha/deco/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Requires: bzip2 Requires: gzip @@ -55,17 +54,17 @@ strange permissions. 33 archive file extensions are supported out of the box, and adding support for others requires very little work. %prep -%setup -q +%autosetup %build -make %{?_smp_mflags} CC="cc" CFLAGS="%{optflags}" +%make_build CC="cc" CFLAGS="%{optflags}" %install %make_install PREFIX="%{_prefix}" %files -%defattr(-,root,root) -%doc LICENSE NEWS README.md +%license LICENSE +%doc NEWS README.md %{_bindir}/deco %changelog