diff --git a/docker.spec b/docker.spec index 0d62826..2882968 100644 --- a/docker.spec +++ b/docker.spec @@ -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 || :