Re: verifying signature for a package

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

 



Please see https://src.fedoraproject.org/rpms/xfontsel/blob/a38f5a42fa7bc59378527cf05dabe29523675613/f/xfontsel.spec#_10 for an example from the same group of X11 programs. Note also that oclock was previously retired, so see https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/#claiming.

On Sat, Apr 16, 2022, at 12:58 PM, Globe Trotter via devel wrote:
> Hi,
>
> I am trying to pakage oclock for Fedora. According to the packaging 
> guidelines I need to have a gpg key.
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_source_file_verification
>
> So, the package itself comes with a oclock-1.0.4.tar.gz.sig (from 
> upstream). How do I use this?
>
> I tried the following in my spec file:
>
> 
> Source0:    https://www.x.org/pub/individual/app/%{name}-%{version}.tar.gz
> Source1:    %{source0}.sig
>
>
>
> %prep
> %{gpgverify} --signature='%{SOURCE1}'
> %autosetup
>
>
> Of course, this did not work. 
>
> $ rpmbuild -ba oclock.spec
> setting SOURCE_DATE_EPOCH=1637280000
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WWxhBy
> + umask 022
> + cd /home/maitra/rpmbuild/BUILD
> + /usr/lib/rpm/redhat/gpgverify 
> '--signature=/home/maitra/rpmbuild/SOURCES/%{source0}.sig'
> gpgverify: No keyring was provided.
> error: Bad exit status from /var/tmp/rpm-tmp.WWxhBy (%prep)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.WWxhBy (%prep)
>
>
>
> My apologies, this is the first time I have had any use for a .sig 
> file, and have very little idea of what to do with it. 
>
> Thanks for any help!
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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