[Mass Rebuild] Strange parsing of %%doc

Martin Sourada martin.sourada at gmail.com
Sat Feb 16 10:57:54 UTC 2013


Hi all,

WRT subject: before I go to file a bug report I want to make sure I'm
not exploiting something unsupported in rpmbuild.

In a couple of rpms (for which we're also upstream and I'm managing
them, so it's fairly easy for me to "workaround" the issue) I have
license saved in file with space, e.g. "CC-BY-SA 3.0". In the spec I
have a %%doc looking like this:

%doc CC-BY-SA\ 3.0 Attribution

Now, this has always worked and still works on Fedora 18 with 
rpm-build-4.10.3.1-1.fc18.i686

but the mass rebuilds fail with this message:
------------------------------------------
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ENszch
+ umask 022
+ cd /builddir/build/BUILD
+ cd beefy-miracle-backgrounds-16.91.0
+
DOCDIR=/builddir/build/BUILDROOT/beefy-miracle-backgrounds-16.91.0-4.fc19.noarch/usr/share/doc/beefy-miracle-backgrounds-single-16.91.0
+ export DOCDIR
+ /usr/bin/mkdir
-p /builddir/build/BUILDROOT/beefy-miracle-backgrounds-16.91.0-4.fc19.noarch/usr/share/doc/beefy-miracle-backgrounds-single-16.91.0
+ cp -pr
'CC-BY-SA /builddir/build/BUILDROOT/beefy-miracle-backgrounds-16.91.0-4.fc19.noarch/usr/share/doc/beefy-miracle-backgrounds-single-16.91.0'
cp: missing destination file operand after
'CC-BY-SA /builddir/build/BUILDROOT/beefy-miracle-backgrounds-16.91.0-4.fc19.noarch/usr/share/doc/beefy-miracle-backgrounds-single-16.91.0'
Try 'cp --help' for more information.

------------------------------------------

The cp line in F18 is
+ cp -pr 'CC-BY-SA 3.0'
Attribution /home/fedora/mso/rpmbuild/BUILDROOT/beefy-miracle-backgrounds-16.91.0-4.fc18.i386/usr/share/doc/beefy-miracle-backgrounds-single-16.91.0

So my question is, is this bug in my package(s) or in F19's rpmbuild?

Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130216/afb58887/attachment-0001.sig>


More information about the devel mailing list