Accepting request 586792 from devel:tools:compiler

- Run spec-cleaner on the package. (forwarded request 586787 from marxin)

OBS-URL: https://build.opensuse.org/request/show/586792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwz?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-03-24 15:04:22 +00:00 committed by Git OBS Bridge
commit fd06f750fb
2 changed files with 15 additions and 12 deletions

View File

@ -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

View File

@ -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