summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/software/test/reposetup.py31
1 files changed, 28 insertions, 3 deletions
diff --git a/src/software/test/reposetup.py b/src/software/test/reposetup.py
index 94c0a80..f99173f 100644
--- a/src/software/test/reposetup.py
+++ b/src/software/test/reposetup.py
@@ -172,7 +172,12 @@ REPOS = {
'openlmi-sw-test-repo-misc' : {
# this package conflicts with pkg1 (explicitely)
'openlmi-sw-test-conflict1-0:1.2.3-1%(disttag)s.noarch' : {
- 'conflicts' : ['openlmi-sw-test-pkg1']
+ 'conflicts' : ['openlmi-sw-test-pkg1'],
+ 'files' : {
+ 'usr/share/openlmi-sw-test-conflict1/' : {
+ 'README' : (REGULAR | DOC, 0644, ''),
+ }
+ }
},
# this package conflicts with pkg2 (by files)
'openlmi-sw-test-conflict2-0:1.2.3-1%(disttag)s.noarch' : {
@@ -180,13 +185,23 @@ REPOS = {
},
# this package depends on few packages above
'openlmi-sw-test-depend1-0:1.2.3-1%(disttag)s.noarch' : {
- 'requires' : ['openlmi-sw-test-pkg1', 'openlmi-sw-test-pkg2']
+ 'requires' : ['openlmi-sw-test-pkg1', 'openlmi-sw-test-pkg2'],
+ 'files' : {
+ 'usr/share/openlmi-sw-test-depend1/' : {
+ 'README' : (REGULAR | DOC, 0644, ''),
+ }
+ }
},
# same as previous one, with version requirements
'openlmi-sw-test-depend2-0:1.2.3-1%(disttag)s.noarch' : {
'requires' : [
'openlmi-sw-test-pkg1 = 1.2.3-1%(disttag)s',
- 'openlmi-sw-test-pkg2 = 2:1.2.2-1%(disttag)s']
+ 'openlmi-sw-test-pkg2 = 2:1.2.2-1%(disttag)s'],
+ 'files' : {
+ 'usr/share/openlmi-sw-test-depend2/' : {
+ 'README' : (REGULAR | DOC, 0644, ''),
+ }
+ }
},
# same package as stable#pkg2 except for arch and shared
# directory
@@ -198,9 +213,19 @@ REPOS = {
},
# funny (but valid) version string
'openlmi-sw-test-funny-version-0:.1bA.+~-1%(disttag)s.noarch' : {
+ 'files' : {
+ 'usr/share/openlmi-sw-test-funny-version/' : {
+ 'README' : (REGULAR | DOC, 0644, ''),
+ }
+ }
},
# funny (but valid) release string
'openlmi-sw-test-funny-release-0:1.2.3-+.rel%(disttag)s.noarch' : {
+ 'files' : {
+ 'usr/share/openlmi-sw-test-funny-release/' : {
+ 'README' : (REGULAR | DOC, 0644, ''),
+ }
+ }
},
},
}