diff options
author | Michal Minar <miminar@redhat.com> | 2013-12-13 18:31:01 +0100 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-12-17 13:49:01 +0100 |
commit | d3d9a68627e5d2c1ab4d355579a068aee1ddb048 (patch) | |
tree | 0a417565cc15c49f87ec3e438ed86de76f4b03fc /src | |
parent | f1cd549fd652f82de09805ec29bec183c4ce9062 (diff) | |
download | openlmi-providers-d3d9a68627e5d2c1ab4d355579a068aee1ddb048.tar.gz openlmi-providers-d3d9a68627e5d2c1ab4d355579a068aee1ddb048.tar.xz openlmi-providers-d3d9a68627e5d2c1ab4d355579a068aee1ddb048.zip |
software: fix tests for rhel7
Packages with empty source tarballs failed to build on rhel7. Added
empty readmes to previously empty packages to fix it.
Diffstat (limited to 'src')
-rw-r--r-- | src/software/test/reposetup.py | 31 |
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, ''), + } + } }, }, } |