aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-08-12 20:49:22 +0100
committerColin Guthrie <colin@mageia.org>2014-08-12 20:49:22 +0100
commita84de6f720918bd1ffc142fdd378441cc19e826b (patch)
treef16f939e9df2347665fa27f7493f68b983e0fecf /modules
parentab8e385f2c8c264597891dae2b64f8ee0063da77 (diff)
downloadpuppet-a84de6f720918bd1ffc142fdd378441cc19e826b.tar
puppet-a84de6f720918bd1ffc142fdd378441cc19e826b.tar.gz
puppet-a84de6f720918bd1ffc142fdd378441cc19e826b.tar.bz2
puppet-a84de6f720918bd1ffc142fdd378441cc19e826b.tar.xz
puppet-a84de6f720918bd1ffc142fdd378441cc19e826b.zip
buildsystem: Future proof SRPM check URL for backports.
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 0a7ed67f..ffc0d868 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -12,8 +12,8 @@ distros = scope.lookupvar('buildsystem::var::distros::distros')
# Some simple API to check existence of SRPMs for QA
RewriteEngine On
- RewriteCond /distrib/bootstrap/distrib/$1/SRPMS/$2/updates_testing/$3.src.rpm -f
- RewriteRule ^/qa/checksrpm/([1-9][0-9]*)/([a-z_]+)/([^/]+)$ http://repository.mageia.org/qa/checksrpm/found [L,R=302]
+ RewriteCond /distrib/bootstrap/distrib/$2/SRPMS/$3/$1s_testing/$4.src.rpm -f
+ RewriteRule ^/qa/checksrpm/(update|backport)/([1-9][0-9]*)/([a-z_]+)/([^/]+)$ http://repository.mageia.org/qa/checksrpm/found [L,R=302]
RewriteRule ^/qa/checksrpm/ - [L,G]