Blob Blame History Raw
Name:           archlinux-keyring
Version:        20230320
Release:        %autorelease
# see for introduction
License:        Public Domain
Summary:        GPG keys used by Arch distribution to sign packages
BuildArch:      noarch

BuildRequires:  keyrings-filesystem
BuildRequires:  make
BuildRequires:  /usr/bin/sq
BuildRequires:  python3
BuildRequires:  systemd-rpm-macros
BuildRequires:  systemd
BuildRequires:  pkgconf
Requires:       pacman-filesystem
Requires:       keyrings-filesystem

A set of GPG keys used to sign packages in the Arch distribution,
which can be used to verify that downloaded Arch packages are

This package simply packages the GPG keyring as published by Arch
developers into an RPM package to allow for safe and convenient
installation on Fedora systems.

%setup -q


make check

%make_install PREFIX=%{_prefix}
mkdir -p %{buildroot}%{_keyringsdir}/
ln --relative -s %{_datadir}/pacman/keyrings/archlinux.gpg %{buildroot}%{_keyringsdir}/


if [ -x /usr/bin/pacman-key ] && /usr/bin/pacman-key -l &>/dev/null; then
    /usr/bin/pacman-key --populate archlinux || :
    /usr/bin/pacman-key --updatedb || :