run fdupes macro in order to remove duplicates
building this package with debuginfo enabled (which is required for openSUSE:Factory) was giving this warning: [ 112s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/docker-1.7.1-22.1.x86_64/usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1 [ 112s] *** WARNING: identical binaries are copied, not linked: [ 112s] /usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1 [ 112s] and /usr/bin/docker which was creating this error: RPM build errors: [ 292s] Installed (but unpackaged) file(s) found: [ 292s] /usr/lib/debug/usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1.debug Running fdupes fixes it. OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=22
This commit is contained in:
parent
1edffb7f36
commit
82ffe3baf1
@ -59,6 +59,7 @@ BuildRequires: go-go-md2man
|
||||
%else
|
||||
BuildRequires: gcc5-go >= 5.0
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libapparmor-devel
|
||||
BuildRequires: libbtrfs-devel >= 3.8
|
||||
BuildRequires: procps
|
||||
@ -212,6 +213,8 @@ install -d %{buildroot}%{_mandir}/man5
|
||||
install -p -m 644 man/man5/Dockerfile.5 %{buildroot}%{_mandir}/man5
|
||||
%endif
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%pre
|
||||
echo "creating group docker..."
|
||||
groupadd -r docker 2>/dev/null || :
|
||||
|
Loading…
Reference in New Issue
Block a user