diff --git a/qubes-release/qubes-release.spec b/qubes-release/qubes-release.spec index 9e6a730..8fde003 100644 --- a/qubes-release/qubes-release.spec +++ b/qubes-release/qubes-release.spec @@ -76,6 +76,7 @@ install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d sed -e "s/%%DIST%%/fc%{fedora_base_version}/" qubes-dom0.repo.in > $RPM_BUILD_ROOT/etc/yum.repos.d/qubes-dom0.repo sed -e "s/%%FCREL%%/%{fedora_base_version}/" fedora.repo.in > $RPM_BUILD_ROOT/etc/yum.repos.d/fedora.repo sed -e "s/%%FCREL%%/%{fedora_base_version}/" fedora-updates.repo.in > $RPM_BUILD_ROOT/etc/yum.repos.d/fedora-updates.repo +install -m 644 qubes-templates.repo $RPM_BUILD_ROOT/etc/yum.repos.d install -d -m 755 $RPM_BUILD_ROOT/usr/share/qubes %if 0%{?qubes_builder} @@ -117,6 +118,7 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/yum.repos.d/fedora.repo %config(noreplace) /etc/yum.repos.d/fedora-updates.repo %config(noreplace) /etc/yum.repos.d/qubes-dom0.repo +%config(noreplace) /etc/yum.repos.d/qubes-templates.repo %config(noreplace) %attr(0644,root,root) /etc/issue %config(noreplace) %attr(0644,root,root) /etc/issue.net %config %attr(0644,root,root) /etc/rpm/macros.dist diff --git a/qubes-release/qubes-templates.repo b/qubes-release/qubes-templates.repo new file mode 100644 index 0000000..3a9b43a --- /dev/null +++ b/qubes-release/qubes-templates.repo @@ -0,0 +1,15 @@ +[qubes-templates-itl] +name = Qubes Templates repository +baseurl = http://yum.qubes-os.org/r$releasever/templates-itl +enabled = 0 +metadata_expire = 7d +gpgcheck = 1 +gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary + +[qubes-templates-community] +name = Qubes Community Templates repository +baseurl = http://yum.qubes-os.org/r$releasever/templates-community +enabled = 0 +metadata_expire = 7d +gpgcheck = 1 +gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary