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=491875
Jussi Lehtola jussi.lehtola@iki.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(jussi.lehtola@iki | |.fi) |
--- Comment #10 from Jussi Lehtola jussi.lehtola@iki.fi 2009-03-26 13:19:15 EDT --- rpmlint output is now clean, however the debuginfo package is not complete: the source code is missing from it.
Copy the source file to the build directory, then the source code is included in debuginfo. Your setup and build phases should like the following:
%setup -Tc -n %{name}-%{version} cp -a %{SOURCE0} . cat unzoo.c | sed -e '/SYNTAX/,/*//!d' | cut -c5- > unzoo.txt
%build gcc %{optflags} -o unzoo -DSYS_IS_UNIX unzoo.c
PS. Don't put the dist tag in the changelog, since you can use the same spec to build on any Fedora/RHEL release.