Help needed with fedora-security-guide-en-US-1.0-16.fc12

Eric Christensen eric at christensenplace.us
Mon Jul 27 03:17:29 UTC 2009


On Sun, 2009-07-26 at 20:09 +0100, Richard Fearn wrote:
> Hi Eric,
> 
> > I'm having problems with a Publican package (the Security Guide).  Below you will see the latest build error from Koji.  I'm not familiar with the error and I can't find anything listed on the wiki pages that I'm used to finding solutions to packaging errors.
> >
> > The SPEC file can be seen at http://sparks.fedorapeople.org/Packages/security-guide/fedora-security-guide-en-US.spec.
> >
> > I'd appreciate any suggestions.
> 
> I just looked at your spec file in CVS (it's newer than the one you
> provided a link to):
> 
> http://cvs.fedoraproject.org/viewvc/rpms/fedora-security-guide-en-US/devel/fedora-security-guide-en-US.spec?revision=1.4&view=markup
> 
> You have this in the %install section:
> 
> desktop-file-install  %{?vendoropt}
> --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{name}.desktop
> 
> but you have this in the %files section:
> 
> %{_datadir}/applications/%{?vendor}%{name}.desktop
> 
> That "%{?vendor}" causes "Fedora Project" to be inserted into the
> filename, resulting in these errors in build.log:
> 
> Processing files: fedora-security-guide-en-US-1.0-16.fc12.noarch
> error: Two files on one line: /usr/share/applications/Fedora
> error: File must begin with "/": Projectfedora-security-guide-en-US.desktop
> 
> Looks like you need to remove "%{?vendor}".
> 
> Regards,
> 
> Rich
> 

I'll forward this along as this is default coming out of Publican.
Thanks for the eyes, Rich.

-- Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090726/6c106a1c/attachment.bin 


More information about the devel mailing list