diff --git a/SPECS/centos-release-atomic.spec b/SPECS/centos-release-atomic.spec index a962052..cc13c9a 100644 --- a/SPECS/centos-release-atomic.spec +++ b/SPECS/centos-release-atomic.spec @@ -1,13 +1,16 @@ Summary: CentOS Atomic Host metadata and configs Name: centos-release-atomic Epoch: 0 -Version: 1 -Release: 1%{?dist} +Version: 7 +Release: 1.2%{?dist} License: GPL Group: System Environment/Base Source0: centos-atomic.conf -URL: http://wiki.centos.org/SpecialInterestGroup/Storage +Source1: RPM-GPG-KEY-CentOS-SIG-Atomic + +URL: http://wiki.centos.org/SpecialInterestGroup/Atomic BuildArch: noarch +BuildRequires: gnupg2 Provides: centos-release-atomic Requires: centos-release @@ -26,13 +29,21 @@ mkdir -p $RPM_BUILD_ROOT/etc/ostree/ mkdir -p -m 755 $RPM_BUILD_ROOT/etc/ostree/remotes.d install -m 644 %SOURCE0 $RPM_BUILD_ROOT/etc/ostree/remotes.d +mkdir -p -m 755 $RPM_BUILD_ROOT/usr/share/ostree/trusted.gpg.d +%{__gpg} --homedir $RPM_BUILD_ROOT/usr/share/ostree/trusted.gpg.d --import %SOURCE1 + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %config(noreplace) /etc/ostree/remotes.d/* +%config(noreplace) /usr/share/ostree/trusted.gpg.d/* %changelog +* Wed Jun 10 2015 Karanbir Singh - 7-1.2.el7.centos +- Add gpg keys +- rework the remote urls to point at final destination + * Thu Nov 6 2014 Karanbir Singh - 1-1 - Basic setup with the repo files so we can start testing