docs-common/packaging fedora-doc-common.spec, 1.5, 1.6 fedora-doc.spec.in.common, 1.2, 1.3

Paul W. Frields stickster at gmail.com
Thu Jan 19 22:21:13 UTC 2006


Question about this follows, keep reading...

On Thu, 2006-01-19 at 14:50 -0500, Tommy Reynolds wrote:
> Author: jtr
> 
> Update of /cvs/docs/docs-common/packaging
> In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3874/docs-common/packaging
> 
> Modified Files:
> 	fedora-doc-common.spec fedora-doc.spec.in.common 
> Log Message:
> First cut a integrating the RPM packaging stuff with the
> "docs-common/Makefile.common" infrastructure.  While this appears to
> work *somewhat* with the "example-tutorial", it is certainly not
> ready for prime time yet.
> 
> TODO:
> 1) Verify that all generated RPM's have the necessary files inside.
> 2) Mangle the "../docs-common" strings in Makefiles, *.xml, to
>    reference the "/usr/share/fedora/doc" ${FDPDIR} so that we don't
>    need to bugger the RPM checksums of the files by altering them at
>    RPM install time.
> 3) Buy a beer all round.
> 
> 
> 
[...snip...]
> Index: fedora-doc.spec.in.common
> ===================================================================
> RCS file: /cvs/docs/docs-common/packaging/fedora-doc.spec.in.common,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- fedora-doc.spec.in.common	21 Nov 2005 00:37:58 -0000	1.2
> +++ fedora-doc.spec.in.common	19 Jan 2006 19:50:05 -0000	1.3
> @@ -25,9 +25,12 @@
>  
>  %prep
>  %setup -q -n %{docbase}-%{version}
> +# 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?

-- 
Paul W. Frields, RHCE                          http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
 Fedora Documentation Project: http://fedora.redhat.com/projects/docs/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/docs/attachments/20060119/ab7a17b0/attachment.bin 


More information about the docs mailing list