Wrong directory permissions in RPMs build on CentOS6
Hi,
I have rebuilt all our source RPMs on CentOS 6 and found they sometimes
differ in directory permissions compared to those built on CentOS 3, 4 and
5.
The problem is that %defattr overrides %attr on directories. Have a look
at this example spec file:
--%<---------------------------------
Summary: foo
Name: mini
Version: 0.1
Release: 1%{?dist}
Group: System Environment/Daemons
License: GPLv2+
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root