On Monday 2013-02-04 12:18, Dominique Leuenberger a.k.a. Dimstar wrote:
"... newscoop.noarch: E: files-duplicated-waste (Badness: 100) 7359205 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ..."
The at the end of the %install section: %fdupes %{buildroot}
%fdupes %_prefix since fdupes (a) must not be called on /etc since it's all %config in there and (b) should not be used on files that have the same content but have different ownership
Looking at your actualy build log and the error, this is more critical and actually causes the failure:
[ 305s] newscoop-4.1.0-15.1.noarch.rpm: directories not owned by a package: [ 305s] - /etc/php5 [ 305s] - /etc/php5/conf.d
Solution here: Either 'buildrequire' / 'require' the package owning those folders (I assume php5 would be the right thing; very likely you will have to depend on them anyway in order to have the package functional) or own them yourself (a directory can be owned by more than one package...)
*Always* list everything in %files, unless it says "is already owned by filesystem" (or some other really really basic package like aaa_base). That is because, if you delete both your package and php5 via `rpm -e yourpackage php5` (or zypper or whatever), then, if php5 gets selected to be removed first (which should be valid), you end up with a non-owned directory. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org