Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=592670
Terje Røsten terjeros@phys.ntnu.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |terjeros@phys.ntnu.no
--- Comment #3 from Terje Røsten terjeros@phys.ntnu.no 2010-05-18 02:46:26 EDT --- The %setup macro takes arguments you can use to write simpler spec files. Full documentation: http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html
The %doc macro takes files in the build dir (inside the unpacked tarball) and puts files in %{_docdir}/%{name}-%{version}.
install has a -D option you can use.
It's normal to list man pages this way: %{_mandir}/man1/%{name}.1*
spec file where these tips are implemented:
spec: http://terjeros.fedorapeople.org/mongoose/mongoose.spec srpm: http://terjeros.fedorapeople.org/mongoose/mongoose-2.8-3.fc12.src.rpm