Uttered "Paul W. Frields" <stickster(a)gmail.com>, spake thus:
> +# FIXME: Need to do this remapping in the RPM build section,
since it
> +# causes "rpm -V foo" to fail, even if it's done immediately after
an
> +# install...
> for i in $RPM_BUILD_DIR/%{docbase}-%{version}/%{docbase}*.xml
> do
> - %{__sed} -i 's!../docs-common/!../../docs-common/!' "$i"
> + %{__sed} -i 's!../docs-common/!/usr/share/fedora/doc/docs-common/!'
"$i"
> done
I haven't seen that failure... I don't have any wacky RPM macros AFAIK,
and if I build the example-tutorial RPM and install, "rpm -V
example-tutorial" returns an okey-doke. Doesn't the package
checksumming, etc., come after %install?
I hadn't actually seen that either. That's really a note to
investigate this behavior. If we keep this to the %prep section we
should be OK.
Cheers