[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]