diff --git a/dwz.changes b/dwz.changes index 2b3ede4..3c860d2 100644 --- a/dwz.changes +++ b/dwz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 14 13:32:56 UTC 2018 - mliska@suse.cz + +- Run spec-cleaner on the package. + ------------------------------------------------------------------- Tue Mar 7 09:57:14 UTC 2017 - rguenther@suse.com diff --git a/dwz.spec b/dwz.spec index 86b6fbe..712ee78 100644 --- a/dwz.spec +++ b/dwz.spec @@ -1,7 +1,7 @@ # # spec file for package dwz # -# 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 @@ -20,13 +20,12 @@ Name: dwz Version: 0.12 Release: 0 Summary: DWARF optimization and duplicate removal tool -License: GPL-2.0+ and LGPL-2.0+ -Group: Development/Tools/Building - #Git-Clone: git://sourceware.org/git/dwz #Git-Web: https://sourceware.org/git/?p=dwz.git;a=summary -Source: %name-%version.tar.xz -Patch: dwz-0.12-ignore-nobits.patch +License: GPL-2.0-or-later AND LGPL-2.0-or-later +Group: Development/Tools/Building +Source: %{name}-%{version}.tar.xz +Patch0: dwz-0.12-ignore-nobits.patch BuildRequires: libelf-devel BuildRequires: xz @@ -49,19 +48,18 @@ http://sources.redhat.com/git/?p=archer.git;a=shortlog;h=refs/heads/archer-trome is needed. %prep -%setup -qn %name -%patch -p1 +%setup -q -n %{name} +%patch0 -p1 %build -make %{?_smp_mflags} CFLAGS="%optflags" +make %{?_smp_mflags} CFLAGS="%{optflags}" %install %make_install %files -%defattr(-,root,root) -%doc COPYING +%license COPYING %{_bindir}/dwz -%{_mandir}/man1/dwz.1.gz +%{_mandir}/man1/dwz.1%{?ext_man} %changelog