Jason R. Mastaler wrote:
 > Hmmm. My intention was the make things simpler but maybe I'll have to
> rethink this. The contents of the wiki won't totally be in my control;
> like those two attachments you mention above were contributed by a user. 
> 
> What tweaks did you have to make to the rpm? I wonder if the tmda.spec
> file in contrib has the same problem; I'll test it tomorrow when I
> have access to a Redhat box.

Just to be clear:  When someone packages for Fedora and they have to do
"special things" in the package, then they generally notify the upstream
maintainer of the problem.  This just reduces the package maintenance
over long periods of time(imagine doing special things in thousands of
packages over many years).

These three files just cause rpmlint to complain.  It does not cause any
other problems.  The rpm build will still succeed.  And rpmlint is not
run automatically on the package in the Fedora build system, so you only
see these problems when you run it manually.

Just to keep the build looking clean, I will still make these tweaks
even if you can't/won't/prefer not to fix them on your end.

You can see the complete spec file here:
http://cvs.fedora.redhat.com/viewcvs/devel/tmda/tmda.spec?root=extras&rev=1.5&view=auto

However, here are the tweaks in question:

=== tweaks ===
# fix dos eol problems on some documents
for file in
doc/html/attachments/{TmdaFingerprint/tmda-fingerprint,TmdaPostfixPolicy/tmda-postfix-policy.sh};
do
  sed -i 's/\r//' $file
done

# zero byte file but not used or linkd
rm -f doc/html/error.log

_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to