On Monday 2014-02-17 03:13, David C. Rankin wrote:
# Make proper document dir, mv doc files, rm old doc dir mkdir -p %{buildroot}/usr/share/doc/packages/WordNet mv %{buildroot}/usr/doc/* %{buildroot}/usr/share/doc/packages/WordNet rm -rf %{buildroot}/usr/doc/
You could just use %configure --docdir="%_docdir/%name"
"that is just rpm being dumb, that's just the way it has always been."
And that is in fact the reason :^) Either you (1) use "%doc foobar" in %files, *or* (2) you copy things in %install (as you already did) and use "%_docdir/%name/" in %files instead. You won't lose anything doing it style 2. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org