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

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux