Accepting request 824538 from devel:tools:compiler
OBS-URL: https://build.opensuse.org/request/show/824538 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwz?expand=0&rev=13
This commit is contained in:
commit
43a2d7ec46
25
dwz-rpmlintrc
Normal file
25
dwz-rpmlintrc
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# The package should _not_ be noarch, testresults differ from architecture
|
||||||
|
# to architecture.
|
||||||
|
addFilter("dwz-testsuite.* no-binary")
|
||||||
|
|
||||||
|
# The rpmlint warning is:
|
||||||
|
# dwz-testsuite.nosrc: W: invalid-spec-name
|
||||||
|
# The spec file name (without the .spec suffix) must match the package name
|
||||||
|
# ("Name:" tag). Either rename your package or the specfile.
|
||||||
|
# This seems to be a multibuild artifact. The package name is dwz-testsuite,
|
||||||
|
# but the specfile filename is dwz.spec. The only way we can fix this is by
|
||||||
|
# reverting to a two-specfile setup.
|
||||||
|
#
|
||||||
|
# FTR, the warning comes paired with these grep failures in the "Preparing
|
||||||
|
# packages log":
|
||||||
|
# ... testing for empty debuginfo packages
|
||||||
|
# grep: SOURCES/dwz-testsuite.spec: No such file or directory
|
||||||
|
# ... running 50-check-filelist
|
||||||
|
# ...
|
||||||
|
# ... testing devel dependencies required by libtool .la files
|
||||||
|
# grep: SOURCES/dwz-testsuite.spec: No such file or directory
|
||||||
|
# (can be skipped by "skip-check-libtool-deps" anywhere in spec)
|
||||||
|
# ... running 50-check-packaged-twice
|
||||||
|
#
|
||||||
|
# So, skip the rpmlint warning. This doesn't fix the grep fails.
|
||||||
|
addFilter("dwz-testsuite.* invalid-spec-name")
|
15
dwz.changes
15
dwz.changes
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 5 08:16:04 UTC 2020 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
- Fix error: source 0 defined multiple times.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 5 08:00:30 UTC 2020 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
- Silence warning "dwz-rpmlintrc is not mentioned in spec files".
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 5 06:49:52 UTC 2020 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
- Add dwz-rpmlintrc. Add comment to NoSource directive.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 24 17:08:55 UTC 2020 - Tom de Vries <tdevries@suse.com>
|
Fri Jan 24 17:08:55 UTC 2020 - Tom de Vries <tdevries@suse.com>
|
||||||
|
|
||||||
|
10
dwz.spec
10
dwz.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dwz
|
# spec file for package dwz
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -57,7 +57,7 @@ Group: Development/Tools/Building
|
|||||||
#Git-Clone: git://sourceware.org/git/dwz
|
#Git-Clone: git://sourceware.org/git/dwz
|
||||||
#Git-Web: https://sourceware.org/git/?p=dwz.git;a=summary
|
#Git-Web: https://sourceware.org/git/?p=dwz.git;a=summary
|
||||||
Source: dwz-%{version}.tar.xz
|
Source: dwz-%{version}.tar.xz
|
||||||
Url: https://sourceware.org/dwz/
|
URL: https://sourceware.org/dwz/
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
%if %{build_testsuite}
|
%if %{build_testsuite}
|
||||||
@ -70,9 +70,15 @@ BuildRequires: binutils-gold
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{build_main}
|
%if !%{build_main}
|
||||||
|
# It's a bit pointless to ship two identical source packages, one for dwz and
|
||||||
|
# one for dwz-testsuite. So we make the second one small by excluding the
|
||||||
|
# source archive. We could do the same for the patches with NoPatch, but the
|
||||||
|
# gain is smaller there and looks more cumbersome to maintain.
|
||||||
NoSource: 0
|
NoSource: 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Source1: dwz-rpmlintrc
|
||||||
|
|
||||||
Patch1: dwz-update-version-copyright-message.patch
|
Patch1: dwz-update-version-copyright-message.patch
|
||||||
Patch2: dwz-fix-die-no-multifile-propagation.patch
|
Patch2: dwz-fix-die-no-multifile-propagation.patch
|
||||||
Patch3: dwz-fix-assertion-off-cu_size-in-recompute_abbrevs.patch
|
Patch3: dwz-fix-assertion-off-cu_size-in-recompute_abbrevs.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user