From: Marcin Krol Date: Tue, 8 Dec 2020 00:03:16 +0000 (+0100) Subject: - added public TLD key X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=1ab4add4313976fd250d47b024ff7bfcc9c43ddc;p=packages%2Frpm.git - added public TLD key --- diff --git a/TLD-Linux.asc b/TLD-Linux.asc new file mode 100644 index 0000000..fd3298e --- /dev/null +++ b/TLD-Linux.asc @@ -0,0 +1,18 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQENBF/OvmYBCADRVCaEupDXAInsCG5h09GynNepvVDzSCsy01u3SxTTNM5T6rd9 +mfQl7fpqf/QtBOKx5AW+bZ6yCUMeQUownFIDITxZoGUagckWlLTHSc4TtIz+l/Ge +Q3ukHNc4ERCE85n3iUdBgmvedSCRGMc43iVUNUl4pEncj/bAUK+M6RoWCEXdilUi +l8xSvkwdyopIdY1r5Ly0ckDNm3jdOyMYuerc6JHBHWiR+V9V5tshp2XDROGxTH4R +Ld2rOe0vVhHPJsqKd6mjNEvlw/MrqR3k5aJYpJrEd1kWwjrm7wK5V44NYVsYhF3g +EWl2nwIdl7mYPLBhCnkg9Gtjk7VuxE3SZbC9ABEBAAG0IVRMRCBMaW51eCA8Y29u +dGFjdEB0bGQtbGludXgub3JnPokBTgQTAQgAOBYhBD/Z76KNYuEe1u7s/K7s7CJR +0DQMBQJfzr5mAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEK7s7CJR0DQM +TxoIAIj6fp3oCyxrj4tnkaAX/cBBvHLSKwjnebVe6Ik4OHEGnKoV4aJ+NhgVxFQ9 +cRY+Z1sPEz/h/3UkQr8hjHx4+nMf90OJ26W5M8bZOsuUuMJ63SsSgbVnxeIam++8 +53MuOx0OlaujhIsN+dg0P5QenHUaqCWU87ccG19fTahH5k9zI42kXdyXGEeOrQde +yRUchMeF01Rc3QuepMNIRyaDNesGjS88KwAlfzsS3LH/Ip94cgk7/+PMzl3HnA1M +5gJhQ5/a4mAvYOKqYtqeEPq0FSQAYxSDgrvKLtY+gOuEZWxIzHcrGwApPLtUdnE4 +nRHa3dq8S78/h8qajOxjTaSVGfw= +=YCZK +-----END PGP PUBLIC KEY BLOCK----- diff --git a/rpm.spec b/rpm.spec index 6a5da8f..02dfc75 100644 --- a/rpm.spec +++ b/rpm.spec @@ -32,6 +32,7 @@ License: GPL v2 / LGPL v2.1 Group: Base Source0: http://ftp.rpm.org/releases/rpm-4.16.x/%{name}-%{version}.tar.bz2 # Source0-md5: 434e166a812e35ef181f6dd176326920 +Source1: ftp://ftp.pld-linux.org/dists/th/TLD-Linux.asc Source2: macros.local Source3: macros.lang Source4: %{name}.sysconfig @@ -649,6 +650,8 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{/bin,/%{_lib},/etc/sysconfig,%{_sysconfdir}/{rpm,pki/rpm-gpg}} \ $RPM_BUILD_ROOT/var/lib/{banner,rpm} +cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg/TLD-Linux.asc + %{__make} install \ pkgconfigdir=%{_pkgconfigdir} \ DESTDIR=$RPM_BUILD_ROOT @@ -785,6 +788,9 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f %defattr(644,root,root,755) %doc ChangeLog CREDITS README +%dir /etc/pki/rpm-gpg +/etc/pki/rpm-gpg/TLD-Linux.asc + %attr(755,root,root) /bin/rpm %attr(755,root,root) %{_bindir}/rpmdb %attr(755,root,root) %{_bindir}/rpmkeys