From fb64f70f3768eefc308d2709523e14edc0714798 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Nov 06 2014 22:21:04 +0000 Subject: initial setup --- diff --git a/SOURCES/centos-atomic.conf b/SOURCES/centos-atomic.conf new file mode 100644 index 0000000..be9f8fe --- /dev/null +++ b/SOURCES/centos-atomic.conf @@ -0,0 +1,4 @@ +[remote "centos-atomic-host"] +url=http://buildlogs.centos.org/centos/7/atomic/x86_64/repo +branches=centos/7/atomic/x86_64/cloud-docker-host; +gpg-verify=false diff --git a/SPECS/centos-release-atomic.spec b/SPECS/centos-release-atomic.spec new file mode 100644 index 0000000..a962052 --- /dev/null +++ b/SPECS/centos-release-atomic.spec @@ -0,0 +1,38 @@ +Summary: CentOS Atomic Host metadata and configs +Name: centos-release-atomic +Epoch: 0 +Version: 1 +Release: 1%{?dist} +License: GPL +Group: System Environment/Base +Source0: centos-atomic.conf +URL: http://wiki.centos.org/SpecialInterestGroup/Storage +BuildArch: noarch + +Provides: centos-release-atomic +Requires: centos-release + +BuildRoot: %{_tmppath}/%{name}-root + +%description +rpm ostree repo definitions for the CentOS Atomic Host. + +%prep +%setup -q -n %{name} -T -c + +%install +rm -rf $RPM_BUILD_ROOT +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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%config(noreplace) /etc/ostree/remotes.d/* + +%changelog +* Thu Nov 6 2014 Karanbir Singh - 1-1 +- Basic setup with the repo files so we can start testing