diff --git a/osclib/stagingapi.py b/osclib/stagingapi.py
index 9b52cd867..863b38f38 100644
--- a/osclib/stagingapi.py
+++ b/osclib/stagingapi.py
@@ -1425,6 +1425,17 @@ def create_adi_project(self, name, use_frozenlinks=False, src_prj=None):
x86_64
"""
+ reproducible_builds_repos = f"""
+
+
+ x86_64
+
+
+
+ x86_64
+
+ """
+
meta = f"""
@@ -1441,6 +1452,7 @@ def create_adi_project(self, name, use_frozenlinks=False, src_prj=None):
+ {reproducible_builds_repos}
{images_repo}
{containerfile_repo}
"""
@@ -1456,6 +1468,27 @@ def create_adi_project(self, name, use_frozenlinks=False, src_prj=None):
# put twice because on first put, the API adds useless maintainer
http_PUT(url, data=meta)
+ prjconf = textwrap.dedent("""
+ # prjconf for testing reproducible builds:
+ BuildFlags: nodisturl
+ Release: 1.1
+
+ %if %_repository == "rb_future1y"
+ Support: reproducible-faketools-futurepost
+ %endif
+
+ %if %_repository == "rb_j1"
+ Support: reproducible-faketools-j1
+ %endif
+
+ Macros:
+ %distribution reproducible
+ :Macros
+ # end of reproducible builds part
+ """)
+ url = make_meta_url('prjconf', name, self.apiurl)
+ http_PUT(url, data=prjconf)
+
self.register_new_staging_project(name)
if use_frozenlinks: