summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-07-28 15:53:33 +0100
committerRichard Hughes <richard@hughsie.com>2014-07-29 15:32:16 +0100
commitf42da0b7da94a0e9a7ce56b1fe8e6b1f0c71f5e7 (patch)
tree0bca7c59b1ec9f32b28df967c8a3482b7d0cd93e /contrib
parentd8b41805e2ec01711447374cf851acfae68ad31c (diff)
downloadappstream-glib-f42da0b7da94a0e9a7ce56b1fe8e6b1f0c71f5e7.tar.gz
trivial: Fix building of rawhide metadata
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/packages/fedora-download-cache.py3
-rw-r--r--contrib/packages/fedora-rawhide/project.conf2
2 files changed, 4 insertions, 1 deletions
diff --git a/contrib/packages/fedora-download-cache.py b/contrib/packages/fedora-download-cache.py
index 413b693..097569a 100755
--- a/contrib/packages/fedora-download-cache.py
+++ b/contrib/packages/fedora-download-cache.py
@@ -180,12 +180,15 @@ def update():
basearch_list.append('noarch')
# reget the correct metadata every day
+ yb.repos.enableRepo('rawhide')
for repo in yb.repos.listEnabled():
if repo.id in cfg.repo_ids:
repo.enable()
repo.metadata_expire = 60 * 60 * 12 # 12 hours
+ print("INFO: enabled: %s" % repo.id)
else:
repo.disable()
+ print("INFO: disabled: %s" % repo.id)
# find all packages
print("INFO: Checking metadata...")
diff --git a/contrib/packages/fedora-rawhide/project.conf b/contrib/packages/fedora-rawhide/project.conf
index 2a0ab6a..7d49524 100644
--- a/contrib/packages/fedora-rawhide/project.conf
+++ b/contrib/packages/fedora-rawhide/project.conf
@@ -1,7 +1,7 @@
[AppstreamProject]
# the distro release tag
-DistroTag=f20
+DistroTag=f21
# the repo ids used for this project
RepoIds=rawhide