[yast-devel] %Documentation in .spec.in files
Hi, I've submitted a new yast2-inetd package having this in spec.in file: --- cut --- %doc %dir @docdir@ %readme @docdir@/README --- cut --- which generates this in .spec file: --- cut --- %doc %dir %{_prefix}/share/doc/packages/yast2-inetd %readme %{_prefix}/share/doc/packages/yast2-inetd/README --- cut --- According to the build team, we can use %{_defaultdocdir}/%{name} instead of %{_prefix}/share/doc/packages/yast2-inetd What do you think? Is it worth adapting the devtools? HTH Lukas -- Lukas Ocilka, Cloud & Systems Management Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Dne 17.1.2013 13:56, Lukas Ocilka napsal(a):
According to the build team, we can use
%{_defaultdocdir}/%{name}
instead of
%{_prefix}/share/doc/packages/yast2-inetd
What do you think? Is it worth adapting the devtools?
I don't think so. If we already use %doc %dir @docdir@ which expands automatically and we do not have to specify the package name it does not make much sense IMHO. We would just replace one macro by another one without any real benefit for us. I would leave it as it is now. Lada -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Ladislav Slezak
-
Lukas Ocilka